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)
https://demo.storm.io/api/1.1/OrderService.svc/rest/GetOrderByBasket
- cURL
- JS
- C#
curl -i -X GET \
'https://demo.storm.io/api/1.1/OrderService.svc/rest/GetOrderByBasket?basketId=0'
Success
- application/json
- application/xml
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" } }
https://demo.storm.io/api/1.1/OrderService.svc/rest/GetOrderByNo
- cURL
- JS
- C#
curl -i -X GET \
'https://demo.storm.io/api/1.1/OrderService.svc/rest/GetOrderByNo?orderno=string'
Success
- application/json
- application/xml
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" } }
The source of the order as set when created. Used to filter the orders. Usually hardcoded in the web application to WEB.
A from date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z
A to date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z
Page numbers start with 1. Default is 1. If you specify a pageNo outside the range of items, an empty list will be returned. PageSize is mandatory for pageNo to work.
https://demo.storm.io/api/1.1/OrderService.svc/rest/ListOrders
- cURL
- JS
- C#
curl -i -X GET \
'https://demo.storm.io/api/1.1/OrderService.svc/rest/ListOrders?companyId=string&customerId=string&fromDate=string&toDate=string'
{ "ItemCount": 0, "Items": [ { … } ] }
The source of the order as set when created. Used to filter the orders. Usually hardcoded in the web application to WEB.
A from date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z
A to date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z
Page numbers start with 1. Default is 1. If you specify a pageNo outside the range of items, an empty list will be returned. PageSize is mandatory for pageNo to work.
https://demo.storm.io/api/1.1/OrderService.svc/rest/ListOrders2
- cURL
- JS
- C#
curl -i -X GET \
'https://demo.storm.io/api/1.1/OrderService.svc/rest/ListOrders2?companyId=string&customerId=string&fromDate=string&toDate=string&divisionCode=string'
{ "ItemCount": 0, "Items": [ { … } ] }
The source of the order as set when created. Used to filter the orders. Usually hardcoded in the web application to WEB.
A from date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z
A to date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z
Page numbers start with 1. Default is 1. If you specify a pageNo outside the range of items, an empty list will be returned. PageSize is mandatory for pageNo to work.
https://demo.storm.io/api/1.1/OrderService.svc/rest/ListOrders3
- cURL
- JS
- C#
curl -i -X GET \
'https://demo.storm.io/api/1.1/OrderService.svc/rest/ListOrders3?companyId=string&customerId=string&fromDate=string&toDate=string&divisionCode=string'
{ "ItemCount": 0, "Items": [ { … } ] }
The source of the order as set when created. Used to filter the orders. Usually hardcoded in the web application to WEB.
A from date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z
A to date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z
Page numbers start with 1. Default is 1. If you specify a pageNo outside the range of items, an empty list will be returned. PageSize is mandatory for pageNo to work.
https://demo.storm.io/api/1.1/OrderService.svc/rest/ListOrdersByEmail
- cURL
- JS
- C#
curl -i -X GET \
'https://demo.storm.io/api/1.1/OrderService.svc/rest/ListOrdersByEmail?emailSeed=string'
{ "ItemCount": 0, "Items": [ { … } ] }
https://demo.storm.io/api/1.1/OrderService.svc/rest/ListOrderStatuses
- cURL
- JS
- C#
curl -i -X GET \
https://demo.storm.io/api/1.1/OrderService.svc/rest/ListOrderStatuses
[ { "Id": 0, "Name": "string", "Description": "string", "ImageKey": "string", "Code": "string" } ]
https://demo.storm.io/api/1.1/OrderService.svc/rest/SearchOrder
- cURL
- JS
- C#
curl -i -X GET \
'https://demo.storm.io/api/1.1/OrderService.svc/rest/SearchOrder?search=string'
Success
- application/json
- application/xml
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" } }