Send Purchase Order

Operates on Purchase Orders. In the Zuper client app this module is labeled "Purchase Order" for most companies, and "Material Order" for companies in the roofing industry — the API and data shape are identical either way. Purchase Orders and Work Orders (Service Orders) share the exact same underlying schema and endpoints; they're distinguished only by the purchase_order_type field (PURCHASE_ORDER here) and the /purchase_orders vs /service_orders route prefix. If email is provided, sends the order by email and returns a JSON success message. If email is omitted, the response is instead a raw PDF (or Excel, if send_excel is true) binary stream, not JSON.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
string
string
email_cc
array of strings
email_cc
email_bcc
array of strings
email_bcc
string
string
attachments
array of objects
attachments
boolean

If true, sends/returns a PDF.

boolean

If true, sends/returns an Excel file instead of a PDF.

boolean
boolean
boolean
boolean
Response

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