PUT /option-values/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
PUT /option-values/{id}.json
curl \
-X PUT http://api.example.com/v1/option-values/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"createdAt":"2024-05-04T09:42:00+00:00","id":42,"optionId":42,"updatedAt":"2024-05-04T09:42:00+00:00","variantId":42,"variantValue":"string"}'
Request example
{
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"optionId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00",
"variantId": 42,
"variantValue": "string"
}