POST /options.json

POST /options.json
application/json

Body Required

Responses

  • 200

    Successful response

    Hide response attributes Show response attributes object
POST /options.json
curl \
 -X POST http://api.example.com/v1/options.json \
 -H "Content-Type: application/json" \
 -d '{"name":"string","position":1,"productId":42}'
Request example
{
  "name": "string",
  "position": 1,
  "productId": 42
}
Response examples (200)
{
  "createdAt": "2023-05-04T09:42:00+00:00",
  "id": 42,
  "name": "string",
  "position": 1,
  "productId": 42,
  "updatedAt": "2023-05-04T09:42:00+00:00"
}