Skip to main content

Update Product Attributes

PUT 

/api/products/:productId/attributes

Add or update attributes on a product. Syncs without detaching other existing attributes.

Required scope: products:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Fields in attributes[]:

  • id (required without name): attribute ID
  • name (required without id): attribute name (max 255)
  • value (nullable): attribute value

Requires permission: products.manage_variants

Request

Responses

OK

Response Headers
    Content-Type