Handles simple attribute definitions - text, date, numeric, boolean, single-select and multi-select. For the
other definition types use the /column, /matrix, /dictionary or /compound variants of this endpoint; a
definition of the wrong type, one that does not exist or one marked for removal is reported as not found.
Fails when the category already has this attribute definition as a CLA - change the existing one with
PATCH /catalogs/nodes/{id}/attributes/{attributeDefinitionId} instead. An attribute inherited from a parent
category does not count as assigned here, so the call succeeds and creates an assignment on this category
that overrides the inherited one.
The attribute is stored on the category immediately, while copying its value onto products runs as a background
task. That task covers the products in this category; the products in its sub-categories are reached only once
propagation is switched on for this attribute, which is off on a newly created CLA - switch it on, as well as
lock and mandatory, with PATCH /catalogs/nodes/{id}/attributes/{attributeDefinitionId}. The task ID is
returned in the Resource-Id response header and Location points at GET /async/status/{taskId}, which
reports whether the propagation has finished.
For more detailed information on how to work with Category Level Attributes in Bluestone PIM, refer to our help
pages Category Level Attributes (CLA).
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
202Accepted
Indicates that the creation request was accepted and the propagation task has been scheduled.
