POST /products.json

POST /products.json
application/json

Body Required

Responses

  • 200

    Successful response

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