Skip to main content
POST
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.

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.
string[]
IDs of attributes to detach from the product.
object[]
Changes to attributes already attached to the product.

Response

object