The Orders namespace has Entities and Operations used for orders and other related Entities such as DeliveryNotes and Invoices. This namespace has nothing to do with the Checkout process where orders are created, but is more related to order history shown on pages like MyPage and such. The Order history in Storm is mostly a snapshot view of the orders as they looked when they got created in Storm, unless process integrations exists where DeliveryNotes and Invoices are passed to Storm.
Documentation OrderService (1.1)
InvoiceListItem
The external invoice number of the Invoice. Usually from an ERP system. MaxLength: 50.
The source of the Invoice. 'WEB' is used for all invoices created though Storm. MaxLength: 255.
The invoice number from the PSP. This is only used when the PSP issues invoices. MaxLength: 50.
GroupByKey can be used to group invoices. All individual invoices on one summary invoice will have this set to the same value. Normal non-summary invoices will have this value set to null. MaxLength: 50.
{ "Id": "string", "InvoiceNo": "string", "InvoiceDate": "2019-08-24T14:15:22Z", "InvoiceDueDate": "2019-08-24T14:15:22Z", "InvoiceText": "string", "OrderNo": "string", "OrderDate": "2019-08-24T14:15:22Z", "Source": "string", "DeliveryDate": "2019-08-24T14:15:22Z", "DeliveryMethod": "string", "PaymentMethod": "string", "BillTo": { "Company": { … }, "Customer": { … }, "Address": { … }, "DropPointCode": "string" }, "InvoiceAmountExVat": 0, "VatAmount": 0, "InvoiceNoPsp": "string", "IsDebit": true, "GroupByKey": "string", "InvoiceAmountIncVat": 0 }
Order
The status text of the Order. See ListOrderStatuses for information about available statuses. MaxLength: 50.
The source of the Order. 'WEB' is used for all orders created though Storm. MaxLength: 255.
A list of infos used to keep application specific data on the order.
The type of the order. 1 for normal sales order and 3 for orders from subscriptions. 2 is reserved for purchase orders.
The delivery mark of the Order. Gets it's value from the OrderReference field of the basket. MaxLength: 255.
{ "Id": "string", "QuotationId": 0, "OrderNo": "string", "OrderDate": "2019-08-24T14:15:22Z", "Status": "string", "Source": "string", "Currency": "string", "Items": [ { … } ], "SellTo": { "Company": { … }, "Customer": { … }, "Address": { … }, "DropPointCode": "string" }, "BillTo": { "Company": { … }, "Customer": { … }, "Address": { … }, "DropPointCode": "string" }, "ShipTo": { "Company": { … }, "Customer": { … }, "Address": { … }, "DropPointCode": "string" }, "OrderTotalIncVat": 0, "OrderTotalExVat": 0, "PaymentMethod": "string", "DeliveryMethod": "string", "DeliveryNotes": [ { … } ], "Info": [ { … } ], "TypeId": 0, "DeliveryMark": "string", "DropPoint": { "Company": { … }, "Customer": { … }, "Address": { … }, "DropPointCode": "string" } }