network.cancelBooking

Cancel a booked customer job (owner or office). The customer's deposit is refunded in full automatically, including Doing Work's fee. Only the deposit is refunded; anything else the customer paid on the invoice is the shop's to refund with invoices.refund. Moves money: a no_money key cannot call it, a worker needs take_money, and an agent cancel above the shop's agent refund cap waits for the owner.

WhoAgents can call this
RESTPOST /v1/network/cancel
MCP toolnetwork_cancelBooking
Writesyes, send an Idempotency-Key
AreaShop

When to use it

Cancel a booked customer job (owner or office). The customer's deposit is refunded in full automatically, including Doing Work's fee.

What to tell the owner

Say what you did in plain words and what happens next.

Input

FieldTypeRequired
shop_idstring (uuid)yes
job_idstring (uuid)yes
reasonstringno

Example

POST https://doingwork.work/v1/network/cancel
content-type: application/json
Idempotency-Key: 3f1c...

{
  "shop_id": "00000000-0000-4000-8000-000000000000",
  "job_id": "00000000-0000-4000-8000-000000000000"
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.