Update a product by the Item ID.
Use this endpoint to update a single product by using its itemId
. You can update the product’s details, such as its name, category details, product images, attributes, and collections. However, you can’t update the itemId
. The new data completely replaces the existing data.
You can update the product’s details, such as its name, category details, product images, attributes, and collections. However, you can’t update the itemId. The new data completely replaces the existing data.
If you don’t have the itemId
, use the one of the endpoints to delete the product:
Authorizations
This is the authorization token used to authenticate the request. You must pass the access token generated from the system app. For more information, see the Making your first API request section.
Headers
A header retrieved from your Copilot Account Details that's used by the API to identify the tenant making the request. Tenant ID must be included in the authentication header for API requests to access any of fabric’s endpoints.
Unique request ID
Path Parameters
A sequential system-generated item ID.
Query Parameters
The language code, which is a combination of language (ISO 639 format) and country (ISO 3166 format).
The default value is en-US.
Body
A sample request to update a product.
The name of the product.
The list of product images.
The name of the attribute and its value.
The time of product creation, in UTC format.
The time of last update to product, in UTC format.
The name of the category. This value is overridden if the categories are populated.
A 24-character system-generated ID of the category.
The category details, including their paths from the leaf category to the root category.
The details of the collection.
Represents the item
product type.
ITEM
The details of the item variants.
Response
The details of a product based on the product type.
The name of the product.
The list of product images.
The name of the attribute and its value.
The time of product creation, in UTC format.
The time of last update to product, in UTC format.
Product SKU
A 24-character system-generated ID.
A unique identifier of an item, a variant or a bundle.
The name of the category.
A 24-character system-generated category ID.
The list of categories, including their paths from the leaf category to the root category.
The details of the collection used to display products on the storefront.
Represents the item
product type.
ITEM
The details of item variants.
Was this page helpful?