POST /option-values.json

POST /option-values.json
application/json

Body Required

Responses

POST /option-values.json
curl \
 -X POST http://api.example.com/v1/option-values.json \
 -H "Content-Type: application/json" \
 -d '{"optionId":42,"variantId":42,"variantValue":"string"}'
Request example
{
  "optionId": 42,
  "variantId": 42,
  "variantValue": "string"
}
Response examples (200)
{
  "createdAt": "2023-05-04T09:42:00+00:00",
  "id": 42,
  "optionId": 42,
  "updatedAt": "2023-05-04T09:42:00+00:00",
  "variantId": 42,
  "variantValue": "string"
}