Book a held job
Commits the hold with the customer's details. State may be booked, or pending_approval if the owner must say yes (an ask-first task or condition, or any special request): poll status until decide_by. M-24b: the owner has up to 2 hours from book to answer, never later than an hour before the job (decide_by says when, and status.hold_expires_at then equals it; the hold reply's hold_expires_at is the agent's own, short, time to book). A job starting within about an hour keeps its hold's time. Poll status about once a minute. Jobs waiting count toward your open holds. While waiting the time stays reserved; at decide_by with no answer the job is expired: the job ends and the reserved time is released. You may cancel while waiting. Booking a job already booked answers ALREADY_BOOKED; a cancelled one ALREADY_CANCELLED; any other state INVALID_STATE. M-18: a hold that ran out answers expired with alternatives (other times here, other businesses; never one that breaks a must); a job the owner declined is refused INVALID_STATE (state declined) with alternatives; a business that stopped taking jobs since the hold answers BUSINESS_UNAVAILABLE, the job is called off and the time let go, with alternatives at other businesses.
Request
- Base URL: https://commontape.com
- URL: https://commontape.com/api/v1/book
- Auth: HTTP bearer
Request body
Response
Success
Example response
{
"taxonomy_version": 6
}Changes
No recorded changes to this operation across all 1 revision of this API.