Aller au contenu

/api/clients (POST)

POST
/api/clients
curl --request POST \
--url https://example.com/api/clients \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "notes": "example", "defaultHourlyRate": 1, "defaultIsBillable": true, "color": "example" }'
Media type application/json
object
name
string
nullable
notes
string
nullable
defaultHourlyRate
number format: double
nullable
defaultIsBillable
boolean
nullable
color
string
nullable
Example generated
{
"name": "example",
"notes": "example",
"defaultHourlyRate": 1,
"defaultIsBillable": true,
"color": "example"
}

OK