Get Purchase Orders
Changed onOperates 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. purchase_order_type is always enforced server-side based on this route; you cannot use this endpoint to read the other module's records.
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/purchase_orders
- AuthAPI key in header x-api-key
Query parameters
vendor_uid
user uid
Job uid
Quote uid
Default "1".
Default "10". Also accepts count as an alias.
"ASC" or "DESC", default "DESC" (by created_at).
Opaque cursor for cursor-based pagination.
Opaque cursor for the previous page.
Set to enable cursor-based pagination instead of offset pagination.
Set to include soft-deleted records.
Sparse fieldset selector.
Project UID.
Asset UID.
Material Request UID.
Comma-separated appointment UIDs.
Response
200
Changes
- info
added the new optional
queryrequest parametercursor - info
added the new optional
queryrequest parametercursor_pagination - info
added the new optional
queryrequest parameterfields_to_select - info
added the new optional
queryrequest parameterfilter.appointment_uid - info
added the new optional
queryrequest parameterfilter.asset - info
added the new optional
queryrequest parameterfilter.current_delivery_status - info
added the new optional
queryrequest parameterfilter.delivery_method - info
added the new optional
queryrequest parameterfilter.material_request - info
added the new optional
queryrequest parameterfilter.parent_po - info
added the new optional
queryrequest parameterfilter.project - info
added the new optional
queryrequest parameterfilter.supplier_order_ref - info
added the new optional
queryrequest parameterinclude_deleted - info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parameterprev_cursor - info
added the new optional
queryrequest parametersort - info
added the media type
application/jsonfor the response with the status
- info