Product
Get Single
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
Get Multiple
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
Success Response
Code: 200 OK
Patch Single
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.
Only attributedata attributes can be modified.
Request example
Error Responses
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
Patch Multiple
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.
Only attributedata attributes can be modified.
Request example
Error Responses
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
Add Channel
URL : /:organizationid/:pimid/api/v0.1/product/:productid/channels
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: POST
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
Add the requested channels to the product.
Request example
Error Responses
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
Condition: Product already has one of the requested channels. Code: 409 CONFLICT
Remove Channel
URL : /:organizationid/:pimid/api/v0.1/product/:productid/channels
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: DELETE
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
Remove the channels in the request from the product.
Request example
Error Responses
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
Condition: Product does not have one of the requested channels. Code: 409 CONFLICT
Last updated