Bulk Review Attribute Suggestions
POST/api/v2/attribute-suggestions/bulk
Apply a review decision to the style groups of the given rows (ids are row ids from List Product Attribute Suggestions). The decision applies to every product in each group.
products:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
accept- write the suggested value to every member whose attribute is still empty (members filled meanwhile becomestale). Settingprintalso setsprint_vs_solid(Solid or Print).reject- mark pending/stale rows rejected; a later run will not offer the same value again.set_value- change the value (must be an accepted value of the attribute, or a synonym of one), then accept.revert- undo accepted / auto-applied rows: each product's value is cleared only while it is still the value that was written.
Fields:
ids(array of integers, 1-1000) — required unlessapply_to_allapply_to_all(boolean) +filters(object) — instead ofids: every row matching the queue's filters (the same filters as the queue, keyed by bare column name such asstatus,bandorsearch, plusfilter_groups), applied in chunks. At most 10,000 group decisions.set_valueneeds the filters to cover a single attribute. To accept every pending High suggestion matching some filters, sendapply_to_allwithband: highandstatus: pendingadded to them.action(required: accept | reject | set_value | revert)value(required for set_value, string)
Large selections run as a tracked job. When apply_to_all matches more than 500 group decisions, nothing is applied on the request: the response is 202 Accepted with {action, queued: true, groups, tracked_job_log_id, job_name: "Review attribute suggestions"} and the decision is applied in chunks by a tracked job; follow it with tracked_job_log_id. Otherwise the response is 200 with the summary and queued: false. Values are only ever written to products whose attribute is still empty at write time (a locked fill-if-empty), so a value written concurrently by someone else or an import is kept and that member goes stale.
Authentication: Requires Bearer token.
Requires permission: products.update
Request
Responses
- 200
- 202
- 401
- 403
- 422
- 429
OK
Response Headers
Accepted
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.