Update a product by SKU
Use this endpoint to update details of a product by its SKU. You can update details of the product, such as the product name, category details, product images, attributes, and collections. The new data replaces the existing data. Note that you can’t update the SKU.
If you don’t have the product SKU, use one of the endpoints update the product details:
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
The Stock Keeping Unit (SKU) of a product provided by the merchant.
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 attribute and its value.
The category details, including their paths from the leaf category to the root category.
A 24-character system-generated ID of the category.
The name of the category. This value is overridden if the categories are populated.
The details of the collection.
The time of product creation, in UTC format.
The list of product images.
The name of the product.
Represents the item
product type.
ITEM
The time of last update to product, in UTC format.
The details of the item variants.
Response
The details of a product based on the product type.
The name of the attribute and its value.
The list of categories, including their paths from the leaf category to the root category.
A 24-character system-generated category ID.
The name of the category.
The details of the collection used to display products on the storefront.
The time of product creation, in UTC format.
A 24-character system-generated ID.
The list of product images.
A unique identifier of an item, a variant or a bundle.
The name of the product.
Product SKU
Represents the item
product type.
ITEM
The time of last update to product, in UTC format.
The details of item variants.
Was this page helpful?