Skip to main content

Submit PO to Supplier

PUT 

/api/purchase-orders/:purchase_order/submit

Submit (send) a purchase order to the supplier. Sends the purchase order email and records the order as submitted.

Required scope: purchase-orders:write

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

Authentication: Requires Bearer token.

Requires permission: purchase_orders.approve

Body fields

  • supplier_message (string, optional, max 5000) - vendor-facing note saved to the order before it is sent. Omit to keep the saved message; send an empty string to clear it.
  • reason (string, optional, max 255) - recorded against the submission snapshot.
  • notify_supplier (boolean, optional, default true) - send false to record the order as submitted without emailing the supplier. This is the only way to submit an order whose supplier has no purchase order email on file; with true (the default) such an order is rejected with 422.

Request

Responses

OK

Response Headers
    Content-Type