POST /purchase-statuses.json
POST
/purchase-statuses.json
curl \
-X POST http://api.example.com/v1/purchase-statuses.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"level":"default","name":"string"}'
Request example
{
"level": "default",
"name": "string"
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"level": "default",
"name": "string",
"updatedAt": "2024-05-04T09:42:00+00:00"
}