POST /custom-field-scopes.json
POST
/custom-field-scopes.json
POST /custom-field-scopes.json
curl \
-X POST http://api.example.com/v1/custom-field-scopes.json \
-H "Content-Type: application/json" \
-d '{"customFieldId":42,"object":{},"productId":42,"variantId":42}'
Request example
{
"customFieldId": 42,
"object": {},
"productId": 42,
"variantId": 42
}
Response example (200)
{
"createdAt": "2023-05-04T09:42:00+00:00",
"customFieldId": 42,
"id": 42,
"object": {},
"productId": 42,
"updatedAt": "2023-05-04T09:42:00+00:00",
"variantId": 42
}