PUT /option-values/{id}.json

PUT /option-values/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

  • createdAt string(date-time)

    Created at

  • id integer(int32)

    Id

  • optionId integer(int32) Required

    Option

  • updatedAt string(date-time)

    Updated at

  • variantId integer(int32) Required

    Variant

  • variantValue string Required

    Variant value

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