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)
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" } }
OrderItem
A rate to multiply with price to get price inc VAT. 25% VAT equals a VatRate of 1.25.
A unique id for the image at our image server. Url for images are formed like http://[client specific CDN]/{ImageKey}. Preset, height and width can be sent as parameters.
The status text of the OrderItem. See ListOrderStatuses for information about available statuses. MaxLength: 50.
A list of infos used to keep application specific data on the order item.
This is the recommended price of the item when the order was created.
This is the catalog price of the item when the order was created.
This is the standard price of the item when the order was created.
{ "RowNumber": 0, "PartNo": "string", "Name": "string", "QtyOrdered": 0, "UnitPrice": 0, "UnitDiscount": 0, "RowAmount": 0, "VatRate": 0, "ImageKey": "string", "Type": 0, "Status": "string", "Info": [ { … } ], "ParentRowNumber": 0, "PriceRecommended": 0, "PriceCatalog": 0, "PriceStandard": 0, "UnitPriceIncVat": 0 }
OrderListItem
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.
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 its 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", "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", "TypeId": 0, "DeliveryMark": "string", "DropPoint": { "Company": { … }, "Customer": { … }, "Address": { … }, "DropPointCode": "string" }, "Items": [ { … } ], "Info": [ { … } ] }