Skip to navigation

Assign a component to a colorway

Create a variant component assignment for a colorway visible to the public API key.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

Variant component assignment
variantComponentobjectRequired

Response

Successful operation
variantIdinteger
componentIdstringformat: "uuid"
componentVariantIdstringOptionalformat: "uuid"
productComponentIdstringOptionalformat: "uuid"
quantityfloatOptional
placementstringOptional
productSizeIdstringOptionalformat: "uuid"
colorIdstringOptionalformat: "uuid"
notestringOptional
positionintegerOptional
colorGroupIdstringOptionalformat: "uuid"
translationsmap from strings to anyOptional
quantityPerSizemap from strings to anyOptional
idstringOptionalformat: "uuid"
createdAtdatetimeOptional
updatedAtdatetimeOptional
componentmap from strings to anyOptional
variantmap from strings to anyOptional

Errors

401
Unauthorized Error
403
Forbidden Error
405
Method Not Allowed Error