Skip to main content

Cancel (Unsend) Purchase Order Communication

POST 

/api/purchase-orders/:purchase_order/communications/:communication/cancel

Unsend an outbound communication that is still within its undo window (delivery_state="scheduled"). Recalls the message so it is never sent, and returns the entry with delivery_state="cancelled".

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Only messages still in the undo window can be unsent. Once the window has elapsed and delivery has started, this returns 422 and the message cannot be recalled.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type