Update product
Update a product (POST body is partial). Requires a Write key.
/products/{productId}AuthorizationBearer token (API key) · headerrequiredOrganization API key.
productIdstringrequiredapplication/jsonnamestringpricenumberPrice in cents
taxCategorystring8.12.63.80supplierstringcategorystringdeclarationsstringbarcodestringNormalized to lowercase.
barcodeAliasesobject[]Optional additional EANs. Empty array removes the field. Available when the barcode aliases feature is enabled for the organization. Returns 403 Feature not available when barcode aliases are not enabled for the organization.
Show propertiesHide properties
objectcodestringrequiredquantitynumberpriceintegerOptional pack price in cents
labelstringexternalIdstringOptional external article ID
externalIdstringdepositProductnumberDeposit in cents
depositProductLabelstringdescriptionstringsalePricenumber | nullSale price in cents. Null or empty string removes the field.
salePercentagenumber | nullSale discount percentage. Null or empty string removes the field.
salePriceDateFromstring<date-time> | nullSale start. Null or empty string removes the field.
salePriceDateTostring<date-time> | nullSale end. Null or empty string removes the field.
costPricenumbermarginnumbershowOnScreenbooleanageRestrictionbooleanshowOnScalebooleansaleStopbooleandeactivatedbooleanimageUrlstringImage URL. Replacing it, or clearing it with an empty string, deletes the previous image file when it is stored by this organization.
indexnumberdeletedbooleantrue soft-deletes the product, false restores it.
Updated
successbooleanrequiredInvalid parameters or body.
statusCodeintegerrequiredHTTP status code
messagestringrequiredHuman-readable error message
timestampstring<date-time>requiredWhen the error occurred (UTC).
pathstringrequiredRequest URL (path and query string).
Missing, unknown or inactive API key, or a Read key on a write operation.
statusCodeintegerrequiredHTTP status code
messagestringrequiredHuman-readable error message
timestampstring<date-time>requiredWhen the error occurred (UTC).
pathstringrequiredRequest URL (path and query string).
No item with this id.
statusCodeintegerrequiredHTTP status code
messagestringrequiredHuman-readable error message
timestampstring<date-time>requiredWhen the error occurred (UTC).
pathstringrequiredRequest URL (path and query string).