Skip to main content

Update a variation base

Update a variation base.

Authorizations:Token, JWT
Query Parameters
id
required
integer
Request Body Schema:
The updated Variation Base resource
namestring[1 .. 255] charactersExample: "My variation base"
productIdsArray of integers

Responses

200Variation Base resource updated
Response schema:
Variation Base resource updated
idintegerExample: 5
namestringExample: "My variation base"
productsArray of objects
Array
product_idinteger
pricenumber
amountinteger
variation_attributesArray of objects
Array
attribute_idinteger
attribute_namestring
option_idinteger
option_namestring
400Invalid input
401Unauthorized
Response schema:
Unauthorized
typestring
titlestring
detailstring or null
instancestring or null
404Resource not found
Response schema:
Resource not found
typestring
titlestring
detailstring or null
instancestring or null
422Unprocessable entity
500Internal error
Response schema:
Internal error
typestring
titlestring
detailstring or null
instancestring or null