Skip to content
Pile
Esc
navigateopen⌘Jpreview

Create customer statuse

POST/workspaces/{organizationId}/customer-statuses
Path parameters
organizationIdstringrequired
Request body
application/json
namestringrequired
min length 1
colorstring
positionnumber
Responses
201Status created
idstringrequired
organizationIdstringrequired
namestringrequired
colorstring | nullrequired
positionnumberrequired
createdAtstringrequired
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST "/workspaces/string/customer-statuses" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "color": "string",
  "position": 0
}'
Response
{
  "id": "string",
  "organizationId": "string",
  "name": "string",
  "color": "string",
  "position": 0,
  "createdAt": "string"
}