Bulk upsert variant values
Create or update 1 to 100 colorway field values in one request. Each row identifies a value by variantId (the colorway’s numeric ID or UUID), variantFieldId, and seasonId for seasonal fields. Rechain creates missing values and updates existing values. Each combination may appear once per request. Resending a batch with the same values preserves their IDs. The value writes run synchronously in one transaction. If a write fails, the entire batch rolls back.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Send a JSON array of values or an object with the array in variantValues.
VariantValueBulkUpsertBatch
OR
Response
Saved variant values in request order, including their value IDs
id
content
variantId
variantFieldId
seasonId
Season ID for this value, or null when the value has no season.
createdAt
updatedAt
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error