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

DeliveryNotePackage

Idinteger or null(int32)

The internal id of the DeliveryNotePackage.

ParcelNumberstring

The external parcel number of the DeliveryNotePackage from the Speditor. Used to track parcels online. MaxLength: 50.

Statusstring

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

{ "Id": 0, "ParcelNumber": "string", "Status": "string" }

Info

Codestring

The external code of the Info. MaxLength: 50.

Namestring

The name of the Info. MaxLength: 50.

Descriptionstring

The description of the Info. MaxLength: 500.

Valuestring

The value of the Info. MaxLength: max.

{ "Code": "string", "Name": "string", "Description": "string", "Value": "string" }

Invoice

Idstring

The internal id of the Invoice.

InvoiceNostring

The external invoice number of the Invoice. Usually a number from the ERP system. MaxLength: 50.

InvoiceDatestring(date-time)

The invoice date of the Invoice.

InvoiceDueDatestring or null(date-time)

The invoice due date of the Invoice.

InvoiceTextstring

InvoiceText is taken from InvoiceMark in Storm. MaxLength: 255.

OrderIdstring

The internal id of the Order related to the Invoice.

OrderNostring

The external order number of the Order related to the Invoice. The order number usually comes from an ERP. MaxLength: 50.

OrderDatestring(date-time)

The order date of the Order related to the Invoice.

Sourcestring

The Source of the Invoice. 'WEB' is used for all invoices created though Storm. MaxLength: 255.

DeliveryDatestring or null(date-time)

The delivery date of the DeliveryNote related to the Invoice.

DeliveryMethodstring

The delivery method of the Order. MaxLength: 50.

PaymentMethodstring

The payment method of the Order. MaxLength: 50.

BillToobject(CustomerData)(CustomerData)
OrderFreightnumber(decimal)

The total amount for freight on the Invoice.

InvoiceChargenumber(decimal)

The total amount for invoice charge on the Invoice.

InvoiceAmountExVatnumber(decimal)

The total amount invoiced ex VAT.

VatAmountnumber(decimal)

The total VAT amount invoiced.

ItemsArray of objects(InvoiceItem)(InvoiceItem)

The invoiced items.

InfoArray of objects(Info)(Info)

A list of infos used to keep application specific data on the invoice. Not used for credit invoices.

InvoiceNoPspstring

The invoice number from the PSP. This is only used when the PSP issues invoices. MaxLength: 50.

CreditedInvoiceNostring

The credited invoice number. This is only used for credit invoices and this is the number of the original invoice being credited. MaxLength: 50.

IsDebitboolean

Indicates if this is a debit invoice (true) or a credit invoice (false).

GroupByKeystring

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.

Commentstring

Free text comment on the Invoice. MaxLength: 250.

InvoiceAmountIncVatnumber(decimal)

The total amount invoiced inc VAT.

{ "Id": "string", "InvoiceNo": "string", "InvoiceDate": "2019-08-24T14:15:22Z", "InvoiceDueDate": "2019-08-24T14:15:22Z", "InvoiceText": "string", "OrderId": "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" }, "OrderFreight": 0, "InvoiceCharge": 0, "InvoiceAmountExVat": 0, "VatAmount": 0, "Items": [ {} ], "Info": [ {} ], "InvoiceNoPsp": "string", "CreditedInvoiceNo": "string", "IsDebit": true, "GroupByKey": "string", "Comment": "string", "InvoiceAmountIncVat": 0 }

DeliveryNotes

Operations

InfoTypes

Operations

Invoices

Operations

Orders

Operations