Create, read, update and delete products. The sub-resources of a product manage its extra descriptions, images, attachments, tags, compatible products, properties and variations, and show its stock and stock history.
List products
Returns the shop's products, newest first (highest id first). Deleted products are not listed. Filters are combined: a product must match all of them. order_by_field and order_by_direction have no effect here.
query Parameters
limitThe number of items to return. Must be a decimal integer; any other value returns 400. There is no page size cap, but large pages take longer: follow the next link to read a long list.
offsetThe number of items to skip. Must be a decimal integer; any other value returns 400.
codes[]Returns products whose product_code is one of these codes. The match is exact but ignores case. Repeat the parameter for each code (codes[]=AB-100&codes[]=AB-200); codes=AB-100 also works for a single code.
eans[]Returns products whose ean_code is one of these codes. The match is exact but ignores case. Repeat the parameter for each code; eans=6415712345678 also works for a single code.
erp_idReturns products whose erp_id is exactly this value. An empty value is ignored.
categoryReturns products whose primary category is this category id. Products that are in the category only as a secondary category are not returned.
modified_afterReturns products modified at or after this time. Use an ISO 8601 date or date-time, such as 2026-11-01 or 2026-11-01T08:00:00+02:00; a time without an offset is read in the shop's time zone.
has_stock_alerttrue returns products whose stock_alert is greater than 0, false those whose stock_alert is 0 or less. Products with the stock alert turned off (stock_alert is null) match neither. 1/0, yes/no and on/off also work; an empty or any other value returns 400.
List products › Responses
A page of products.
Create a product
Creates a product and returns it with the same fields as Get a product. category and names are required. Fields you omit get the shop's defaults for new products. Without vat_percent the product uses the shop's default VAT; use_default_vat_percent: false without vat_percent returns 400. A min_order_qty below 1 is raised to 1, and a max_order_qty below min_order_qty is raised to it.
After saving, the shop updates the product's search-engine names, and the urls in the response show the updated addresses. Add variations with Add a product variation.
Create a product › Request Body
categoryThe id of the primary category. An unknown category returns 400.
The product's names. Each entry needs a non-empty name.
tagsIds of existing tags to add to the product. An unknown id returns 400.
product_codeean_codeerp_idsupplier_codemanufacturer_namemanufacturer_idThe manufacturer's code for the product.
base_priceinventory_pricemsrpThe suggested retail price. Same as suggested_retail_price; send only one of them.
suggested_retail_priceThe suggested retail price. Same as msrp.
vat_percentA product-specific VAT percent. A negative value means the shop's default VAT. If you send both vat_percent and use_default_vat_percent, vat_percent decides.
use_default_vat_percenttrue uses the shop's default VAT percent. false without vat_percent returns 400 when you create a product; when you update one, it keeps the product's own VAT percent, or returns 400 if the product uses the default VAT.
stockstock_alertThe stock level at which the shop alerts about low stock. null turns the alert off.
hiddenvisible_out_of_stockbuyable_out_of_stockis_newis_popularis_best_offeris_pre_saleWhether the product is shown, for pre-sale, before availability_begins.
is_promotion_allowedis_product_of_weekstore_onlyWhether the product is only displayed and can't be bought.
price_hiddendelivery_cost_unitdelivery_time_in_daysmin_order_qtymax_order_qtyavailability_beginsAn ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no start.
availability_endsAn ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no end.
extra_input_groupThe id of an existing extra input group, or null for none. An unknown id returns 400.
The product's secondary categories. Every id must be an existing category other than the primary category, otherwise the request returns 400. In PUT, a non-empty array replaces all secondary categories.
Create a product › Responses
The created product.
hrefThe URL of the request.
Get a product
Returns one product with all its fields, including its descriptions, secondary categories, compatible products, extra descriptions, variations, tags, properties and bundle products. The item has no href.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
Get a product › Responses
The product.
hrefThe URL of the request.
Update a product
Updates the fields you send and keeps the others. Localized fields (names, descriptions and so on) add or change the languages you send. A non-empty secondary_categories replaces all secondary categories. Tags can't be changed here: use Add product tags. use_default_vat_percent: true switches the product to the shop's default VAT. use_default_vat_percent: false without vat_percent keeps the product's own VAT percent, or returns 400 if the product uses the default VAT. If min_order_qty and max_order_qty conflict, the API adjusts them so that the minimum isn't above the maximum.
After saving, the shop updates the product's search-engine names. The response shows the product as Get a product does, with the updated urls.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
Update a product › Request Body
categoryThe id of a new primary category. An unknown category returns 400; 0 is ignored. If the category is one of the product's secondary categories, it's removed from them.
Names to add or change, per language. A language the product has no name for yet needs a non-empty name.
product_codeean_codeerp_idsupplier_codemanufacturer_namemanufacturer_idThe manufacturer's code for the product.
base_priceinventory_pricemsrpThe suggested retail price. Same as suggested_retail_price; send only one of them.
suggested_retail_priceThe suggested retail price. Same as msrp.
vat_percentA product-specific VAT percent. A negative value means the shop's default VAT. If you send both vat_percent and use_default_vat_percent, vat_percent decides.
use_default_vat_percenttrue uses the shop's default VAT percent. false without vat_percent returns 400 when you create a product; when you update one, it keeps the product's own VAT percent, or returns 400 if the product uses the default VAT.
stockstock_alertThe stock level at which the shop alerts about low stock. null turns the alert off.
hiddenvisible_out_of_stockbuyable_out_of_stockis_newis_popularis_best_offeris_pre_saleWhether the product is shown, for pre-sale, before availability_begins.
is_promotion_allowedis_product_of_weekstore_onlyWhether the product is only displayed and can't be bought.
price_hiddendelivery_cost_unitdelivery_time_in_daysmin_order_qtymax_order_qtyavailability_beginsAn ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no start.
availability_endsAn ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no end.
extra_input_groupThe id of an existing extra input group, or null for none. An unknown id returns 400.
The product's secondary categories. Every id must be an existing category other than the primary category, otherwise the request returns 400. In PUT, a non-empty array replaces all secondary categories.
Update a product › Responses
The updated product.
hrefThe URL of the request.
Delete a product
Marks the product as deleted and returns it as it was. A deleted product is no longer found: requesting it again returns 404.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
Delete a product › Responses
The deleted product.
hrefThe URL of the request.
List product attachments
Returns the product's attachments (files such as manuals), newest first. Deleted attachments are not listed. Add attachments with Upload a product attachment.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
query Parameters
limitThe number of items to return. Must be a decimal integer; any other value returns 400. There is no page size cap, but large pages take longer: follow the next link to read a long list.
offsetThe number of items to skip. Must be a decimal integer; any other value returns 400.
List product attachments › Responses
A page of attachments.
Get a product attachment
Returns one attachment of the product.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
attachment-idThe attachment's id. An attachment of another product returns 404.
Get a product attachment › Responses
The attachment.
hrefThe URL of the request.
Update a product attachment
Updates the attachment's position, titles and descriptions. Fields you don't send keep their values. To replace the file, upload a new attachment and delete the old one.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
attachment-idThe attachment's id. An attachment of another product returns 404.
Update a product attachment › Request Body
positionTitles to add or change. A language the attachment has no title for yet needs a non-empty title.
Update a product attachment › Responses
The updated attachment.
hrefThe URL of the request.
Delete a product attachment
Marks the attachment as deleted and returns it as it was. Requesting it again returns 404.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
attachment-idThe attachment's id. An attachment of another product returns 404.
Delete a product attachment › Responses
The deleted attachment.
hrefThe URL of the request.
Upload a product attachment
Adds a file to the product as an attachment. Send either file_url_path, an http(s):// URL that the shop downloads the file from, or base64, the file's content. The body is JSON in both cases. A URL whose host is in a private network, or a download that fails, returns 400 Parameter 'file_url_path' has invalid value.
If the product already has an attachment with the same file, the API returns that attachment and adds no copy; the other fields of the request are not applied to it.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
Upload a product attachment › Request Body
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: file_url_path | |
| type = object · requires: base64 |
file_url_pathThe file's http(s):// URL on a public host.
positionThe attachment's position. 0 or omitted puts it after the product's other attachments.
The attachment's titles. If omitted, the title is the stored file name, in the shop's default language.
Upload a product attachment › Responses
The new attachment, or the product's existing attachment with the same file.
hrefThe URL of the request.
List product variations
Returns all the product's variations, newest first. The list is not paged: limit and offset don't apply, and the response has no first, prev or next links. To change a variation, use the Variations endpoints.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
List product variations › Responses
The product's variations.
hrefThe URL of the request.
Add a product variation
Creates a variation of the product. group_id, stock and names are required. Fields you omit get the shop's defaults for new variations.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
Add a product variation › Request Body
group_idThe id of an existing variation group. An unknown id returns 400.
stockThe variation's names. Each entry needs a non-empty name.
additional_pricevariation_codeean_codeerp_idcolorsizeimageThe variation's image as an http(s):// URL on a public host. A URL whose host is in a private network returns 400.
positionThe variation's position. 0 or omitted puts it last.
hiddenvisible_out_of_stockbuyable_out_of_stockAdd a product variation › Responses
The created variation.
hrefThe URL of the request.
List product descriptions
Returns the product's extra descriptions, newest first. The list leaves out the visible_in_* fields: get a single description to see them.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
query Parameters
limitThe number of items to return. Must be a decimal integer; any other value returns 400. There is no page size cap, but large pages take longer: follow the next link to read a long list.
offsetThe number of items to skip. Must be a decimal integer; any other value returns 400.
List product descriptions › Responses
A page of extra descriptions.
Add a product description
Adds an extra description to the product, in one language. language and name are required; omitted fields default to an empty string or false.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
Add a product description › Request Body
languageA language the shop uses, such as EN. Any other value returns 400. Required when you add a description; in an update, omit it to keep the current language.
nameRequired when you add a description. Can't be null.
labeldescriptionvisible_in_listvisible_in_productvisible_in_emailAdd a product description › Responses
The created description.
hrefThe URL of the request.
Get a product description
Returns one extra description of the product.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
description-idThe extra description's id. A description of another product returns 404.
Get a product description › Responses
The description.
hrefThe URL of the request.
Update a product description
Updates the fields you send and keeps the others.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
description-idThe extra description's id. A description of another product returns 404.
Update a product description › Request Body
languageA language the shop uses, such as EN. Any other value returns 400. Required when you add a description; in an update, omit it to keep the current language.
nameRequired when you add a description. Can't be null.
labeldescriptionvisible_in_listvisible_in_productvisible_in_emailUpdate a product description › Responses
The updated description.
hrefThe URL of the request.
Add compatible products
Marks other products as compatible with this product. The body is an array; each element names a product by exactly one of product_id, product_code, ean_code or erp_id (an exact match; a code can match several products). An element with no identifier or with more than one returns 400.
Elements that match no product, and the product itself, are skipped. If nothing matches, the response is 404. The response lists every matched product, including ones that were already compatible. To see the compatible products, get the product.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
Add compatible products › Request Body
product_idproduct_codeean_codeerp_idAdd compatible products › Responses
The matched products.
hrefThe URL of the request.
Remove a compatible product
Removes a product from this product's compatible products and returns the removed product. A product that isn't compatible with this product returns 404.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
compatible-idThe id of the compatible product.
Remove a compatible product › Responses
The removed compatible product.
hrefThe URL of the request.
List product images
Returns the product's images, newest first. Add images with Upload a product image.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
query Parameters
limitThe number of items to return. Must be a decimal integer; any other value returns 400. There is no page size cap, but large pages take longer: follow the next link to read a long list.
offsetThe number of items to skip. Must be a decimal integer; any other value returns 400.
List product images › Responses
A page of images.
Get a product image
Returns one image of the product.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
image-idThe image's id. An unknown or deleted image, or an image of another product, returns 404.
Get a product image › Responses
The image.
hrefThe URL of the request.
Update a product image
Updates the image's position, titles and descriptions, and whether it's the product's default or teaser image. Fields you don't send keep their values. To replace the file, upload a new image and delete the old one.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
image-idThe image's id. An unknown or deleted image, or an image of another product, returns 404.
Update a product image › Request Body
is_defaulttrue makes this the product's default image. false removes it as the default image if it is one.
is_teasertrue makes this the product's teaser image. false removes it as the teaser image if it is one.
positionTitles to add or change. A language the image has no title for yet needs a non-empty title.
Update a product image › Responses
The updated image.
hrefThe URL of the request.
Delete a product image
Removes the image from the product and returns it as it was. If it was the product's default or teaser image, the product no longer has one. Requesting the image again returns 404.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
image-idThe image's id. An unknown or deleted image, or an image of another product, returns 404.
Delete a product image › Responses
The deleted image.
hrefThe URL of the request.
Upload a product image
Adds an image to the product. Send either file_url_path (an http(s):// URL that the shop downloads the image from, or img:<id> to reuse the file of an image already in the shop) or base64, the image data. The body is JSON in both cases. A URL whose host is in a private network, a failed download, a file that isn't an image or an unknown img:<id> returns 400 Parameter 'file_url_path' has invalid value.
If the product already has an image with the same file, the API returns that image and adds no copy; only is_default: true and is_teaser: true are applied to it. The response's is_default and is_teaser show whether the image is the product's default and teaser image after the request.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
Upload a product image › Request Body
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: file_url_path | |
| type = object · requires: base64 |
file_url_pathWhere to get the image: an http(s):// URL on a public host, or img:<id> to reuse the file of an existing image in the shop. JPEG, PNG, GIF, TIFF and BMP images are accepted.
is_defaulttrue makes the image the product's default image.
is_teasertrue makes the image the product's teaser image.
positionThe image's position. 0 or omitted puts it after the product's other images.
The image's titles. If omitted, the title is the stored file name, in the shop's default language.
Upload a product image › Responses
The new image, or the product's existing image with the same file.
hrefThe URL of the request.
Add product tags
Adds tags to the product. The body is an array of {"tag_id": <id>} elements. Unknown or deleted tags are skipped; if no tag is found, the response is 404. The response lists every found tag, including ones the product already had.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
Add product tags › Request Body
tag_idAdd product tags › Responses
The product's tags from the request.
hrefThe URL of the request.
Remove a product tag
Removes the tag from the product and returns it. A tag the product doesn't have returns 404. The tag itself is not deleted.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
tag-idThe tag's id.
Remove a product tag › Responses
The removed tag.
hrefThe URL of the request.
List product properties
Returns the properties set on the product, with their selected options, newest first.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
query Parameters
limitThe number of items to return. Must be a decimal integer; any other value returns 400. There is no page size cap, but large pages take longer: follow the next link to read a long list.
offsetThe number of items to skip. Must be a decimal integer; any other value returns 400.
List product properties › Responses
A page of the product's properties.
Add a product property
Sets a property on the product and selects its options. The property must have options, be available to the product's categories and apply to products; the product must not have it yet. Otherwise the request returns 400.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
Add a product property › Request Body
property_idThe id of a property that has options and is available to the product's primary or secondary categories for products. A property the product already has returns 400.
option_idsIds of the property's options to select, at least one; an empty array returns 400. A property that doesn't allow several values takes one id.
Add a product property › Responses
The property on the product.
hrefThe URL of the request.
Get a product property
Returns one property of the product with its selected options. Like the list, the response has first, prev and next links.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
product-property-idThe id of the property on this product: the id of an item in List product properties, not its property_id. A property of another product returns 404.
Get a product property › Responses
The property on the product.
Update a product property
Replaces the property's selected options with option_ids.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
product-property-idThe id of the property on this product: the id of an item in List product properties, not its property_id. A property of another product returns 404.
Update a product property › Request Body
option_idsThe options to select. They replace the current selection; an empty array removes them all. A property that doesn't allow several values takes one id.
Update a product property › Responses
The updated property on the product.
hrefThe URL of the request.
Remove a product property
Removes the property and its selected options from the product, and returns them as they were.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
product-property-idThe id of the property on this product: the id of an item in List product properties, not its property_id. A property of another product returns 404.
Remove a product property › Responses
The removed property.
hrefThe URL of the request.
Get product stock
Returns the product's stock counters. To change the stock, use Stocks or Update a product.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
Get product stock › Responses
The product's stock.
hrefThe URL of the request.
List product stock history
Returns the product's stock changes, newest first.
path Parameters
product-idThe product's id. A value that isn't a number returns 400; an unknown or deleted product returns 404.
query Parameters
limitThe number of items to return. Must be a decimal integer; any other value returns 400. There is no page size cap, but large pages take longer: follow the next link to read a long list.
offsetThe number of items to skip. Must be a decimal integer; any other value returns 400.
List product stock history › Responses
A page of stock changes.