Export to CSV/XLSX

GET {{baseUrl}}/api/v1/Orders/Export?fields=<get>&fileType=<>&LogicbrokerKeys=<>&delimiter=<>&filter.partnerPO=<>&filter.sourceKey=<>&filter.status=<>&filter.from=<>&filter.to=<>&filter.page=<>&filter.pageSize=<>&filter.receiverCompanyId=<>&filter.senderCompanyId=<>&filter.linkkey=<>&filter.advanced=<>

The 'fields' parameter accepts a comma delimited list of JSON paths, for example: 'Identifier.logicbrokerKey, BillToAddress.FirstName'. It is also possible to rename these fields using syntax like 'DocumentDate as Date' or 'DocumentDate Date'. You must specify a value for either the 'LogicbrokerKeys' parameter or the 'filter' parameter.

Request Params

KeyDatatypeRequiredDescription
fieldsstringThe fields to export.
fileTypestringValid options are csv, xlsx, xml, json and legacy.
LogicbrokerKeysstringThe logicbroker keys.
delimiterstringThe column delimiter to use for CSV export.
filter.partnerPOstringThe partner's purchase order number.
filter.sourceKeystringSource key is usually the unique key the sender uses to find this document. Sometime this might be the same as the PartnerPO.
filter.statusstringThe status of the document. Use Status endpoint to view valid Statuses.
filter.fromstringBeginning of time search window.
filter.tostringEnd of time search window.
filter.pagestringPage number
filter.pageSizestringPage size
filter.receiverCompanyIdstringThis Id is indicate who is received this document. Use the Partner endpoint to discovery valid company Ids.
filter.senderCompanyIdstringThis Id is indicate who is sent this document. Use the Partner endpoint to discovery valid company Ids.
filter.linkkeystringThe linkkey identifies a group of related documents. It ties the Order to all the Shipments and Invoices.
filter.advancedstringAdvanced query options.