Skip to main content

Bulk Submit Purchase Orders

POST 

/api/purchase-orders/submit

Bulk submit (send to supplier) purchase orders.

Required scope: purchase-orders:write

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

Authentication: Requires Bearer token.

Body:

  • ids[]: Array of purchase order IDs (required without filters)
  • filters: Spatie filter params (required without ids)

Requires permission: purchase_orders.approve

Approval policy: While the purchase-order approval policy is enabled, an open order whose changes await re-approval is skipped and reported as an error for that row ("…awaiting re-approval — it can't be re-sent to the supplier until they're approved"); the other orders are still submitted.

Request​

Responses​

OK

Response Headers
    Content-Type