application/json

Body Required

Responses

POST /option-values.json
curl \
 --request POST 'http://api.example.com/v1/option-values.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"optionId":42,"variantId":42,"variantValue":"string"}'
Request examples
{
  "optionId": 42,
  "variantId": 42,
  "variantValue": "string"
}
Response examples (200)
{
  "createdAt": "2025-05-04T09:42:00Z",
  "id": 42,
  "optionId": 42,
  "updatedAt": "2025-05-04T09:42:00Z",
  "variantId": 42,
  "variantValue": "string"
}