POST /custom-field-variants.json

POST /custom-field-variants.json
application/json

Body Required

Responses

POST /custom-field-variants.json
curl \
 --request POST 'http://api.example.com/v1/custom-field-variants.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"customFieldId":42,"object":{},"source":"manual","value":"string","values":["string"],"variantId":42}'
Request examples
{
  "customFieldId": 42,
  "object": {},
  "source": "manual",
  "value": "string",
  "values": [
    "string"
  ],
  "variantId": 42
}
Response examples (200)
{
  "createdAt": "2025-05-04T09:42:00Z",
  "customFieldId": 42,
  "id": 42,
  "object": {},
  "source": "manual",
  "updatedAt": "2025-05-04T09:42:00Z",
  "value": "string",
  "values": [
    "string"
  ],
  "variantId": 42
}