List
/api/storefront/ordersThe store's orders, newest first, at most 100 a page: each with its status, its customer's id and email, its total, when it was placed and paid, its lines, and the discounts, charge lines and surcharges that take the lines to a charged total. createdAfter (inclusive) and createdBefore (exclusive) bound when they were placed, and status keeps one status. Pass a page's nextCursor back as cursor, with the same filters, for the page after it; only a null nextCursor means the last page, since a page can hold fewer orders than limit. Orders placed while you page through are newer than the first page, so the pages after it neither skip nor repeat an order. Requires the store to have granted the plugin orders:list.
Query Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/storefront/orders"{ "items": [ { "orderId": "string", "status": "draft", "customer": { "id": "string", "email": "string" }, "total": { "amountMinorUnits": "string", "currency": "AED" }, "createdAt": "string", "paidAt": "string", "lines": [ { "productId": "string", "productVariantId": "string", "productName": "string", "variantName": "string", "quantity": -9007199254740991, "total": { "amountMinorUnits": "string", "currency": "AED" } } ], "adjustments": [ { "type": "discount", "description": "string", "amount": { "amountMinorUnits": "string", "currency": "AED" }, "productVariantId": "string" } ] } ], "nextCursor": "string"}Completed By Visitor Ids POST
Which of the store's completed orders carry the given visitor ids, oldest charge first. Core does not interpret a visitor id; the caller joins it to whatever wrote it. Scoped to the store the invocation token forwarded in x-novinzo-plugin-invocation was minted for. Requires the store to have granted the plugin orders:read.
Order By Id GET
One of the store's orders by id: whether it has been paid for, its customer's id and email, and its lines, oldest first, each with its order item id and the product and variant it was bought as. An order of another store, or one the store removed, is OrderNotInStore. Requires the store to have granted the plugin orders:read.
