# Documentation OrderService 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. Version: 1.1 ## Servers ``` https://demo.storm.io/api/1.1 ``` ## Download OpenAPI description [Documentation OrderService](https://docs.norce.io/_spec/api-reference-storm/stormapi/orderservice/openapi.yaml) ## DeliveryNotes ### Insert a delivery note [Obsolete("Not used. Delivery notes are inserted through integrations.")] - [POST /OrderService.svc/rest/InsertDeliveryNote](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/deliverynotes/insertdeliverynote.md): Not implemented. ### Update a delivery note package status - [POST /OrderService.svc/rest/UpdateDeliveryNotePackage](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/deliverynotes/updatedeliverynotepackage.md): Updates a DeliveryNotePackage. ## InfoTypes ### List order info types - [GET /OrderService.svc/rest/ListOrderInfoTypes](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/infotypes/listorderinfotypes.md): Lists the info type ids used in the info property of an order. Same fields are used in DeliveryNote and Invoice. ### List order item info types - [GET /OrderService.svc/rest/ListOrderItemInfoTypes](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/infotypes/listorderiteminfotypes.md): Lists the info type ids used in info property of order items. ## Invoices ### Get an invoice - [GET /OrderService.svc/rest/GetInvoice](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/invoices/getinvoice.md): Returns an Invoice by internal id. Returns null if the Invoice does not exist. ### Get invoice by invoice number - [GET /OrderService.svc/rest/GetInvoiceByNo](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/invoices/getinvoicebyno.md): Returns an Invoice by external invoice number. Returns null if the Invoice does not exist. ### Insert an invoice [Obsolete("Not used. Invoices are inserted through integrations.")] - [POST /OrderService.svc/rest/InsertInvoice](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/invoices/insertinvoice.md): Not implemented. ### List invoices - [GET /OrderService.svc/rest/ListInvoices](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/invoices/listinvoices.md): Returns a paged invoice list for a specified orderId, customer or company. ### List invoices by basket - [GET /OrderService.svc/rest/ListInvoicesByBasket](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/invoices/listinvoicesbybasket.md): Returns a paged invoice list for specified basket internal id ## Orders ### Get order by basket - [GET /OrderService.svc/rest/GetOrderByBasket](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/orders/getorderbybasket.md): Returns an Order by basket internal id. Returns null if the order does not exist. ### Get order by external order number - [GET /OrderService.svc/rest/GetOrderByNo](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/orders/getorderbyno.md): Returns an Order by external order number. Return null if the Order does not exist. ### List orders [Obsolete("Use ListOrders2")] - [GET /OrderService.svc/rest/ListOrders](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/orders/listorders.md): See ListOrders2 for details. ListOrders calls listOrders2 with an empty divisionCode (null). Either of companyId, customerId, fromDate or toDate must be specified. ### List orders (v2) [Obsolete("Use ListOrders3")] - [GET /OrderService.svc/rest/ListOrders2](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/orders/listorders2.md): Returns a paged order list. Either of companyId, customerId, divisionCode, fromDate or toDate must be specified. ### List orders (v3) - [GET /OrderService.svc/rest/ListOrders3](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/orders/listorders3.md): Returns a paged order list. Note that this method returns another entity that ListOrders2. This is a more light weight version. Either of companyId, customerId, divisionCode, fromDate or toDate must be specified. ### List order by e-mail address - [GET /OrderService.svc/rest/ListOrdersByEmail](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/orders/listordersbyemail.md): Returns a paged order list. Note that this method returns another entity that ListOrders2. This is a more light weight version. EmailSeed must be specified. ### List order statuses - [GET /OrderService.svc/rest/ListOrderStatuses](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/orders/listorderstatuses.md): Lists the available order statuses. ### Search for order - [GET /OrderService.svc/rest/SearchOrder](https://docs.norce.io/api-reference-storm/stormapi/orderservice/openapi/orders/searchorder.md): Search for Orders by TrackingId, DeliveryNote or OrderNo.