Skip to content

Purchase orders

Open .md

API reference Purchasing

Read one purchase order and change its status (two operations kept for the Zapier app), its history, the CSV export and the QuickBooks sync switch. Creating, editing and receiving purchase orders is not part of the public API.

Learn more: Purchasing and stock · Work with purchase orders

5 operations

  • GETList a purchase order's history/v1/api/store/{team_slug}/purchase_order/{hash_id}/historyLists the activity recorded on a purchase order, newest first: who changed what, and when.
  • GETGet a purchase order/v1/api/store/{team_slug}/purchase_order/{hash_id}Returns one purchase order with its lines, status, vendor, delivery and billing addresses, creator and tags.
  • PUTChange a purchase order's status/v1/api/store/{team_slug}/purchase_order/{hash_id}/statusMoves a purchase order to another of the team's purchase order statuses and returns the purchase order, in the same shape as Get a purchase order.
  • PUTTurn QuickBooks sync on or off for purchase orders/v1/api/store/{team_slug}/purchase_order/bulk_action/mark_quickbook/{on_or_off}Sets whether up to 50 purchase orders sync to QuickBooks Online.
  • POSTExport purchase orders by issue date/v1/api/store/{team_slug}/purchase_order/exportExports the team's purchase orders whose issue date falls between start_date and end_date.