Skip to content

Documentation OrderService (1.1)

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.

Download OpenAPI description
Languages
Servers
https://customer-slug.api-se.norce.tech/commerce/order/1.1/

Schemas

Schemas

OrderListItem

Idstring

The internal id of the Order in Storm.

QuotationIdinteger or null(int32)

The internal id of the quotation/basket used to create the Order.

OrderNostring

The order number of the Order, usually from an ERP. MaxLength: 50.

OrderDatestring(date-time)

The order date of the Order.

Statusstring

The status text of the Order. See ListOrderStatuses for information about available statuses. MaxLength: 50.

Sourcestring

The source of the Order. 'WEB' is used for all orders created though Storm. MaxLength: 255.

Currencystring

The currency code of the Order. MaxLength: 3.

SellToobject(CustomerData)(CustomerData)
BillToobject(CustomerData)(CustomerData)
ShipToobject(CustomerData)(CustomerData)
OrderTotalIncVatnumber(decimal)

The total amount on the Order including VAT.

OrderTotalExVatnumber(decimal)

The total amount on the Order excluding VAT.

PaymentMethodstring

The payment method of the Order. MaxLength: 50.

DeliveryMethodstring

The delivery method of the Order. MaxLength: 50.

TypeIdinteger(int32)

The type of the order. 1 for normal sales order and 3 for orders from subscriptions. 2 is reserved for purchase orders.

DeliveryMarkstring

The delivery mark of the Order. Gets its value from the OrderReference field of the basket. MaxLength: 255.

DropPointobject(CustomerData)(CustomerData)
ItemsArray of objects(OrderItem)(OrderItem)

The items on the Order.

InfoArray of objects(Info)(Info)

A list of infos used to keep application specific data on the order.

{ "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": [ {} ] }

OrderPagedList

ItemCountinteger(int32)

The total number of orders. Can be used to manage paging. Use PageSize to calculate number of pages.

ItemsArray of objects(Order)(Order)

Current list of orders for the current page if paging is used. Otherwise all orders will be in the list.

{ "ItemCount": 0, "Items": [ {} ] }

OrderPagedList2

ItemCountinteger(int32)

The total number of orders. Can be used to manage paging. Use PageSize to calculate number of pages.

ItemsArray of objects(OrderListItem)(OrderListItem)

Current list of orders for the current page if paging is used. Otherwise all orders will be in the list.

{ "ItemCount": 0, "Items": [ {} ] }

DeliveryNotes

Operations

InfoTypes

Operations

Invoices

Operations

Orders

Operations