This endpoint can be used to import all orders. The response can be limited by using the parameter modifiedAtOrAfter to select all orders with a timestamp more or equal the selected timestamp. The order timestamp is changed at any change to the order e.g a changed order status or delivery status.
There is also a possibility to use remoteOrderNo to get all order with a specific order number. Plugboard do not require order number to be unique since the orders could be created from different systems. It is still recommended to use unique order number when it is possible. remoteOrderNo will usually contain the order number that was set by the system that created the order e.g. a e-commerce site.
Another option to fetch order is to use the endpoint /order/query see Query orders
- modifiedAtOrAfter (dateTime)
- remoteOrderNo (string)
Example response body:
The API-documentation contains information that explains the different fields, goto the section "Concepts" -> "Order row". An example of important information is how prices is handled. The field called pricePerUnitExclVat contain the paid price, any discount have already been applied. The discount amount is defined in a separate field. Check the API-documentation and the API-reference for detailed information.
All orders will be returned if modifiedAtOrAfter is excluded