Syrve POS API SDK

Receiving closed orders

The V8Preview4 API has expanded the ability to obtain information about closed orders.

Method GetPastOrder has been changed to only require the Order Id.

Two new methods have also been added: GetPastOrders and GetPastOrdersBySum.

GetPastOrders allows you to search for an order by its number. If the order number is missing, information about all closed orders for the specified time interval will be returned..

GetPastOrdersBySum searches for orders based on the total payment amount (after all discounts and surcharges).

In the above methods, setting the time interval is optional. If it is absent, the interval will be set to the time period for the last 3 months.