POST
Bulk update variants.

Authorizations

X-Agent-Key
string
header
required

Service-account key, format sq_agt_*. Carries least-privilege scopes.

Headers

Idempotency-Key
string
required

Unique per logical operation; identical key+body returns the cached response, different body → 409.

Maximum string length: 200
X-Store-ID
string

Target store; required when the key is bound to multiple stores.

Body

application/json
variants
object[]
required

Unique variant ids.

Required array length: 1 - 250 elements

Response

Processed. Check each result.

success
boolean
required
message
string
data
object
meta
object