Partially update product attributes by ID
Product attributes are the objective and factual descriptions of products that shoppers see when they browse through an e-commerce platform. Attributes may be technical specifications like size, weight, etc., design specifications like color, material, etc., or basic specifications such as name, description, ID, etc. With this endpoint, you can partially update attributes of a given product. Note:
1. This endpoint is recommended over PUT /products/{id}/attributes
(Update product attributes by ID) if you want to update only specific attributes without affecting the others.
2. If you don’t have product ID, use the corresponding SKU-based endpoint - PATCH /products/sku/{sku}/attributes
.
Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
Unique request ID
Path Parameters
24-character system-generated product ID.
Query Parameters
Comma-separated statuses indicating the preferred order of the product versions considered for this operation (endpoint action). For example, <br />1. When the status is DRAFT
, this operations will only apply to the Draft version of product, if it exists <br />2. When the status is LIVE
, this operation will only apply to the Live version of the product, if it exists <br />3 When the status is LIVE,DRAFT
, this operation will prioritize Live version first, if it exists. Otherwise, the Draft version is considered. <br />4 When the status is DRAFT,LIVE
this operation will prioritize the Draft version first, if it exists. Otherwise, the Live version is considered.
Response
Details of Item by ID
Product ID
Unique product ID that maps to fabric's standard attribute called SKU
. <br /> <b>Note:</b> sku
shouldn't include ;
or =
Supported product types
ITEM
, VARIANT
, BUNDLE
true: Product is active <br /> false: Product is inactive
true: Product has a Draft version <br /> false: Product doesn't have a Draft version
true: Product has a Live version <br /> false: Product doesn't have a Live version
Represents the current status of product. This value takes precedence over isActive
if both are sent in the request.
DRAFT
, LIVE
Attributes of product
Localized attribute names
Parent item ID of the Variant
Product variants by ID
24-character system-generated category ID of product
Items or variants that are part of Bundle by ID
Time of product creation (UTC)
Time of last update to product (UTC)
Was this page helpful?