Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

Search for a purchase order number using the API which includes a forward slash

Started by Andrew Hills -   in API Endpoints

We are creating purchase orders in Xero which have a purchase order in the format of: 'ABCDE/123'. These are coming from DataBuild. When using the PurchaseOrders API endpoint, we are unable to search for purchase orders due to the forward slash character. Have tried using various escape characters in the API call, but it does not work. The Xero API Explorer also fails when running the same call against the PurchaseOrders endpoint, yet the purchase order exists in Xero. We would like to be able to search for purchase orders using escape characters.