Stages attribute operations as a pending change request instead of applying them directly.
The endpoint responds with 202 Accepted and a product_change record containing ATTRIBUTE_ADD / ATTRIBUTE_REMOVE / ATTRIBUTE_UPDATE actions.
Adding, updating, or removing an internal attribute returns a 400. Internal attributes are managed by operators only.
Path parameters
string
required
The product’s ID.
Body parameters
object[]
Attributes to attach; each entry references an existing attribute by id or defines one inline by title.
Show properties
string
Existing attribute ID (referencing form).
string[]
IDs of attribute values to select (referencing form).
string | number | boolean
Scalar value for text, unit, or toggle attributes.
string
Attribute title (inline form).
string
One of single_select, multi_select, text, toggle, unit. Required for inline non-axis attributes unless value is a boolean.
string[]
Value names to create and select (inline form).
boolean
Whether the attribute drives variant combinations; only allowed on multi_select attributes.
boolean
Whether the attribute is filterable (inline form).
boolean
Whether the attribute is required (inline form).
string
Attribute description (inline form).
object
Custom key-value pairs (inline form).
string[]
IDs of attributes to detach from the product.
object[]
Changes to attributes already attached to the product.
Show properties
string
required
The attribute’s ID.
string
New attribute title.
(string | object)[]
Values to select, plain strings or { "value": "..." } objects.
string[]
Value IDs to deselect.
string[]
The complete set of value IDs the product should hold for this attribute. Resolved into the equivalent add / remove delta, so it cannot be combined with either.
string | number | boolean
New scalar value for text, unit, or toggle attributes.
Response
object
Show properties
string
The change request’s ID.
string
ID of the product the change targets.
string
One of pending, confirmed, declined, canceled.
object[]
Staged attribute operations, each with id, action, details, ordering, and applied.