Skip to main content

Create a booking

POST /v1/bookings

Recurring work for a customer: its tasks (each with its own schedule, place and amounts) and the skills a vehicle needs to take it.

Authentication​

Send a token issued in the Zoopit dashboard as Authorization: Bearer <token>.

Request body​

FieldTypeRequired
ownerstringyes
referencestring
tagsarray of string
skillsobject
tasksarray of objectyes

Responses​

201​

resource: object

FieldTypeRequired
idstringyes
created_atstringyes
modified_atnull or stringyes
deleted_atnull or stringyes
created_bystringyes
modified_bynull or stringyes
deleted_bynull or stringyes
ownersarray of stringyes
tagsarray of stringyes
attributesobjectyes
referencestringyes
skillsobjectyes
tasksarray of objectyes

Example​

curl -X POST 'https://orders-api.cloud.zoopit.no/v1/bookings'
-H 'Authorization: Bearer <token>'
-H 'Content-Type: application/json'
-d '{ ... }'

Try it in the interactive Orders API reference.

Field descriptions, guides and worked examples are in the full reference, available to customers in the Zoopit dashboard under Accounts → Developer.