Upsert items and bundles
With this endpoint, you can create or update items or bundles along with their attributes.
Note:
1) If the SKU already exists, then the given item or bundle is updated. Otherwise, a new item or bundle is created with that SKU.
2) You can add or update up to 50 items or bundles.
3) By specifying the attribute value
as NULL, a reserved keyword, you can remove the existing attribute value.
Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Body
Stock Keeping Unit (SKU) of item
Item type
ITEM
, BUNDLE
Category name (along with parent category names) for which item is being created.
Stock Keeping Unit (SKU) of the parent item. <br />Set the value as detach
or null
to disassociate the item from parent item.
Attribute details
Category item attributes to be inherited from parent item to children items
Items to be added to a bundle. Includes SKU and item quantity.
Was this page helpful?