get https://api.apicbase.com/api/v2/integrations/suppliers/purchase_orders/
Returns a list of orders to the requesting supplier.
This endpoint is a method of fetching orders alternative to the webhook setup.
The available status to filter are:
ORDERED
: Orders not yet registered as delivered by the customer. This is likely the most useful filter as this might contain orders not yet processed.DELIVERED
: Orders already processed and delivered by the customer. This status is registered manually by the customer, so it's possible a delivered order is still in theORDERED
status.
If you are calling this endpoint periodically to check for new/unprocessed orders, we strongly recommend you to use the filters status=ORDERED
and ordered_on__gt
to narrow down the results.