Skip to main content

Export Purchase Orders

GET 

/api/purchase-orders/list/export

Export purchase orders as XLSX or CSV. Supports summary (one row per PO) and line_items (one row per line item with PO fields repeated) modes.

Authentication: Requires Bearer token.

Response: Binary file download (XLSX or CSV).

Scope options:

  • filtered: Apply active filters (default)
  • all: Export all POs ignoring filters
  • current_page: Export current page only
  • selected: Export specific IDs (pass ids=1,2,3)

Line item columns (always included in line_items mode): item_sku, item_barcode, item_name, item_description, item_quantity, item_received_qty, item_price, item_discount_rate, item_tax_rate, item_line_total, item_eta.

Request

Responses

Successful response