Order Service schemas
The Orders namespace is 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 Norce is mostly a snapshot view of the orders as they looked when they were created, unless process integrations exists where DeliveryNotes and Invoices are passed to Norce.
Address
Information about Addresses in the Order namespace.
The first address line of the Address. MaxLength: 255.
The second address line of the Address. MaxLength: 255.
The care of part of the Address. MaxLength: 100.
The city of the Address. MaxLength: 50.
The zipcode of the Address. MaxLength: 50.
The name of the country of the Address. MaxLength: 50.
The code of the country of the Address. MaxLength: 3.
The region of the Address. MaxLength: 50.
Phone number for shipping address. Only applicable in shipping addresses. MaxLength: 50.
The Global Location Number (GLN) is part of the GS1 systems of standards. It is a simple tool used to identify a location and can identify locations uniquely where required. This is only used for invoice addresses. MaxLength: 50.
Company
Information about Companies in the Order namespace.
The internal id of Company.
The external code of Company. Usually from an ERP system. MaxLength: 50.
The name of Company. MaxLength: 100.
The organizational number of Company. MaxLength: 50.
Customer
Information about Customers in the Order namespace.
The internal id of Customer.
The external code of Customer. Usually from an ERP system. MaxLength: 50.
The first name of Customer. MaxLength: 50.
The last name of Customer. MaxLength: 50.
The social security number of Customer. MaxLength: 50.
The e-mail of Customer. MaxLength: 255.
The phone number of Customer. MaxLength: 50.
The cell phone number of Customer. MaxLength: 50.
CustomerData
Information about the Customers in the Order namespace. It has information about Customer, any Company and addresses.
The external drop point code, if any. Only set for drop points. MaxLength: 50.
DeliveryNotes
DeliveryNote
Information about a DeliveryNote. DeliveryNotes are not created though the API and must be imported to Norce through the Connect service.
The internal Id of the DeliveryNote.
The external number of the DeliveryNote. Usually a number from the ERP system. MaxLength: 50.
The delivery date of the DeliveryNote.
Free text field of the DeliveryNote. MaxLength: 255.
The delivery mode of the items for the DeliveryNote. MaxLength: 50.
The external order number of the Order related to the DeliveryNote. This usually comes from an ERP. MaxLength: 50.
The order date of the Order related to the DeliveryNote.
The culture code of the DeliveryNote. This is the culture code used when asking for DeliveryNotes, not the original. MaxLength: 16.
Not used. MaxLength: 255.
Not used. MaxLength: 50.
The items delivered.
Package information for the DeliveryNote.
The external store code for the delivering Store. MaxLength: 50.
The status text of the DeliveryNote. See ListOrderStatuses for information about available statuses. MaxLength: 50.
A list of infos used to keep application specific data on the deliveryNote.
DeliveryNoteItem
Information about the items on a DeliveryNote.
The internal id of the DeliveryNoteItem.
The row number of the DeliveryNoteItem.
The PartNo of the DeliveryNoteItem. MaxLength: 50.
The name of the DeliveryNoteItem. MaxLength: 255.
The 1uantity ordered. This is the total quantity ordered.
The quantity delivered. This is the quantity delivered on this DeliverNoteItem.
The quantity not delivered. This is the quantity still missing on this DeliverNoteItem.
Free text comment on the DeliverNoteItem. MaxLength: 255.
The external tracking code of the DeliveryNoteItem. Obsolete! - Not used. Tracking info is in DeliveryNotePackage.
The status text of the DeliveryNoteItem. See ListOrderStatuses for information about available statuses. MaxLength: 50.
DeliveryNotePackage
Information about each package associated with a DeliveryNote.
The internal id of the DeliveryNotePackage.
The external parcel number of the DeliveryNotePackage from the Speditor. Used to track parcels online. MaxLength: 50.
The status text of the DeliveryNotePackage. See ListOrderStatuses for information about available statuses. MaxLength: 50.
Tracking
Obsolete
Not used. Tracking info is in DeliveryNotePackage.
MaxLength: 50.
MaxLength: 50.
InfoTypes
Info
Information carrier entity. It is used on Orders, DeliveryNotes and Invoices. When setting up InfoTypes on Order use the same Code for Order/OrderItem as for Basket/BasketItem if you want them to be mapped. When creating orders, info-fields will be transferred from basket to order when there is a map with the same code.
The external code of the Info. MaxLength: 50.
The name of the Info. MaxLength: 50.
The description of the Info. MaxLength: 500.
The value of the Info. MaxLength: max.
Invoices
Invoice
Information about an Invoice. Invoices are not created through the API and must be imported to Norce through the Connect service.
The internal id of the Invoice.
The external invoice number of the Invoice. Usually a number from the ERP system. MaxLength: 50.
The invoice date of the Invoice.
The invoice due date of the Invoice.
InvoiceText is taken from InvoiceMark in Storm. MaxLength: 255.
The internal id of the Order related to the Invoice.
The external order number of the Order related to the Invoice. The order number usually comes from an ERP. MaxLength: 50.
The order date of the Order related to the Invoice.
The Source of the Invoice. 'WEB' is used for all invoices created though Storm. MaxLength: 255.
The delivery date of the DeliveryNote related to the Invoice.
The delivery method of the Order. MaxLength: 50.
The payment method of the Order. MaxLength: 50.
The total amount for freight on the Invoice.
The total amount for invoice charge on the Invoice.
The total amount invoiced ex VAT.
The total VAT amount invoiced.
The invoiced items.
A list of infos used to keep application specific data on the invoice. Not used for credit invoices.
The invoice number from the PSP. This is only used when the PSP issues invoices. MaxLength: 50.
The credited invoice number. This is only used for credit invoices and this is the number of the original invoice being credited. MaxLength: 50.
Indicates if this is a debit invoice (true) or a credit invoice (false).
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.
Free text comment on the Invoice. MaxLength: 250.
The total amount invoiced inc VAT.
InvoiceItem
Information about each item on an Invoice.
The row number of the item.
The PartNo of the item. MaxLength: 50.
The mame of the item. MaxLength: 255.
The quantity invoiced. This is the quantity invoiced on this InvoiceItem.
The unit price of the item, excluding VAT.
The unit discount of the item, excluding VAT.
The total amount of the item, excluding VAT.
The total VAT of the item.
The delivery date of the item.
A rate to multiply with price to get price inc VAT. 25% VAT equals a VatRate of 1.25.
The unit price of the item, including VAT.
InvoiceListItem
Information about an Invoice used in lists. This is a more light weight representation of the Invoice than the Invoice entity.
The internal id of the Invoice.
The external invoice number of the Invoice. Usually from an ERP system. MaxLength: 50.
The invoice date of the Invoice.
The invoice due date of the Invoice.
InvoiceText is taken from InvoiceMark in Storm. MaxLength: 255.
The ERP order number of the Order related to the Invoice. MaxLength: 50.
The order date of the Order related to the Invoice.
The source of the Invoice. 'WEB' is used for all invoices created though Storm. MaxLength: 255.
The delivery date of the Order.
The delivery method of the Order. MaxLength: 50.
The payment method of the Order. MaxLength: 50.
The total amount invoiced excluding VAT.
The total VAT amount invoiced.
The invoice number from the PSP. This is only used when the PSP issues invoices. MaxLength: 50.
Indicates if this is a debit invoice (true) or a credit invoice (false).
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.
The total amount invoiced including VAT.
InvoicePagedList
Invoices in a paged list format. The Items property contains all current invoices, depending on paging, and the ItemCount the total number of invoices.
The total number of invoices. Can be used to manage paging. Use PageSize to calculate number of pages.
Current list of invoices for the current page if paging is used. Otherwise all invoices will be in the list.
Orders
Order
Information about an Order.
The internal id of the Order in Storm.
The internal id of the quotation/basket used to create the Order.
The external order number of the Order, usually from an ERP. MaxLength: 50.
The order date of the 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.
The currency code of the Order. MaxLength: 3.
The items on the Order.
The total amount on the Order including VAT.
The total amount on the Order excluding VAT.
The payment method of the Order. MaxLength: 50.
The delivery method of the Order. MaxLength: 50.
The delivery notes of the Order.
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.
OrderItem
Information about the Items on an Order.
The row number of the OrderItem.
The PartNo of the OrderItem. MaxLength: 50.
The name of the OrderItem. MaxLength: 255.
The quantity ordered. This is the total quantity ordered.
The unit price of the Item, excluding VAT.
The unit discount of the Item, excluding VAT.
The total amount of the Item, excluding VAT.
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.
Sku type internal id for this order item.
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.
The parent row number of the OrderItem, if any.
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.
The unit price of the item, including VAT.
OrderListItem
Information about an Order used in lists. This is a more light weight representation of the Order than the Order entity.
The internal id of the Order in Storm.
The internal id of the quotation/basket used to create the Order.
The order number of the Order, usually from an ERP. MaxLength: 50.
The order date of the 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.
The currency code of the Order. MaxLength: 3.
The total amount on the Order including VAT.
The total amount on the Order excluding VAT.
The payment method of the Order. MaxLength: 50.
The delivery method of the Order. MaxLength: 50.
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.
The items on the Order.
A list of infos used to keep application specific data on the order.
OrderPagedList
Obsolete
, Use OrderPagedList2 Orders in a paged list format. The Items property contains all current orders, depending on paging, and the ItemCount the total number of orders.
The total number of orders. Can be used to manage paging. Use PageSize to calculate number of pages.
Current list of orders for the current page if paging is used. Otherwise all orders will be in the list.
OrderPagedList2
Orders in a paged list format. The Items property contains all current orders, depending on paging, and the ItemCount the total number of orders.
The total number of orders. Can be used to manage paging. Use PageSize to calculate number of pages.
Current list of orders for the current page if paging is used. Otherwise all orders will be in the list.