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