Create a variation base
Create a variation base.
Authorizations:Token, JWT
Request Body Schema:
The new Variation Base resource | name | string[1 .. 255] charactersExample: "My variation base" |
| productIds | Array of integers |
Responses
201Variation Base resource created
Response schema:
Variation Base resource created | id | integerExample: 5 | ||||||||||||||||||||
| name | stringExample: "My variation base" | ||||||||||||||||||||
| products | Array of objects | ||||||||||||||||||||
Array
| |||||||||||||||||||||
400Invalid input
401Unauthorized
Response schema:
Unauthorized | type | string |
| title | string |
| detail | string or null |
| instance | string or null |
422Unprocessable entity
500Internal error
Response schema:
Internal error | type | string |
| title | string |
| detail | string or null |
| instance | string or null |