POST /custom-field-sale-items.json

POST /custom-field-sale-items.json
application/json

Body Required

Responses

POST /custom-field-sale-items.json
curl \
 -X POST http://api.example.com/v1/custom-field-sale-items.json \
 -H "Content-Type: application/json" \
 -d '{"customFieldId":42,"object":{},"price":0,"saleItemId":42,"value":"string","values":["string"]}'
Request example
{
  "customFieldId": 42,
  "object": {},
  "price": 0,
  "saleItemId": 42,
  "value": "string",
  "values": [
    "string"
  ]
}
Response examples (200)
{
  "createdAt": "2023-05-04T09:42:00+00:00",
  "customFieldId": 42,
  "id": 42,
  "object": {},
  "price": 0,
  "saleItemId": 42,
  "updatedAt": "2023-05-04T09:42:00+00:00",
  "value": "string",
  "values": [
    "string"
  ]
}