Recover Purchase Order
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. Restores (undeletes) previously soft-deleted orders. Requires the caller's role to be exactly ADMIN — not just an equivalent permission key — or the request is rejected with 401.
post/purchase_orders/recover
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/purchase_orders/recover
- AuthAPI key in header x-api-key
Request body
Response
200
Changes
- info
endpoint added
- info