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".

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