Global API
...
Request
Purchase Order

Read

1min

You can read all POs from Xero without passing any filters. However, to retrieve specific records based on any filter conditions, you can add the following filters as "queryParameters" as shown in the below example.

Param Name

Type

Description

order

String

Order by any element returned

page

String

Up to 100 purchase orders will be returned per call, with line items shown for each, when the page parameter is used. e.g. page=1

Status

String

Filter by purchase order status - DRAFT, AUTHORISED, BILLED

Date From

Date

Filter by purchase order date

Date To

Date

Filter by purchase order date



Request
Response




Updated 03 Mar 2023
Did this page help you?