Orders
The store's orders with lines. Paid orders count as purchases in conditions and as revenue for the campaign the customer came from (campaign_id).
- GET
/stores/{store_id}/ordersList ordersThe store's orders with lines, one page at a time. - GET
/stores/{store_id}/orders/{order_id}Get orderAn order with lines. - PUT
/stores/{store_id}/orders/{order_id}Create or update orderCreates the order with the store's ID, or updates it – send the order again when it changes (paid, refunded, cancelled). - DELETE
/stores/{store_id}/orders/{order_id}Delete orderDeletes the order. A cancelled or refunded order is better sent with its new status.