Approve Purchase Order

Approves a draft purchase order, making it receivable. Fails with 400 if the PO is not in draft, has no lines, or has a non-positive total. Requires both the update-purchase-orders and approve-purchase-orders permissions at the location. If the PO was created with email_supplier: true, the supplier is emailed the PO in the background.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Purchase order id.

Headers
string
required

The merchant install this request acts on (install.store_id from the app.installed webhook).

Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json