This returns a represenation of a product.
URL : /:organizationid/:pimid/api/v0.1/product/:productid
URL Parameters:
organizationid=[string]
is the ID of the chainbox.io organization.
pimid=[string]
is the APP ID of the PIM application.
productid=[string]
is the ID of the Product to be updated.
Method: GET
Auth required: YES
Authorization required: read
Response headers:
Last-Modified:
Timestamp when the product was last modified
Response body example
This returns a represenation of a product.
URL : /:organizationid/:pimid/api/v0.1/products
URL Parameters:
organizationid=[string]
is the ID of the chainbox.io organization.
pimid=[string]
is the APP ID of the PIM application.
Method: POST
Auth required: YES
Authorization required: read
Request example
Response example
Code: 200 OK
URL : /:organizationid/:pimid/api/v0.1/product/:productid
URL Parameters:
organizationid=[string]
is the ID of the chainbox.io organization.
pimid=[string]
is the APP ID of the PIM application.
productid=[string]
is the ID of the Product to be updated.
Method: PATCH
Auth required: YES
Authorization required: write
Request headers:
If-Unmodified-Since:
Content of the Last-Modified
of the GET-call
X-BatchId:
batchid if running a "full" import and afterwards deleting all entries without matching batchid
Only the properties in the request are modified. If properties are included but has no value, it's value will be deleted, so make sure to only include properties that are to be modified.
Request example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid product. Code: 404 NOT FOUND
Condition: Update cannot be processed due to read-only, erp-mapped field etc. Code: 422 UNPROCESSABLE ENTITY
Condition: The product was modified since GET/If-Modified-Since timestamp Code: 412 PRECONDITION FAILED
URL : /:organizationid/:pimid/api/v0.1/products
URL Parameters:
organizationid=[string]
is the ID of the chainbox.io organization.
pimid=[string]
is the APP ID of the PIM application.
Method: PATCH
Request headers:
X-BatchId:
batchid if running a "full" import and afterwards deleting all entries without matching batchid
Auth required: YES
Authorization required: write
Only the properties in the request are modified. If properties are included but has no value, it's value will be deleted, so make sure to only include properties that are to be modified.
Request example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing one or more invalid products. Code: 400 BAD REQUEST
Condition: Update cannot be processed due to read-only, erp-mapped field etc. Code: 422 UNPROCESSABLE ENTITY