The Order Service has Entities and Operations concerned with orders created in Norce Commerce.
- OrderRequest
Documentation Norce Commerce Connect Order Service (4.0)
OrderItem
Represents order row
Type of product.
Product type group.
Sale price for one item only excluding VAT (to get the row amount you multiply with quantity).
VAT amount for one item before discounts (to get the row VAT multiply with quantity).
Article number in ERP (usually same as PartNo, different for SKU type 13 'Accumulation').
Exists if the row is a child to another row, e.g. in case of service articles or items in a package/bundle.
All price lists that the unit price original is based on. This is a list of all pricelists in the hierarchy.
{ "Discount": 0, "LineNo": 0, "PartNo": "string", "Quantity": 0, "Quantity2": 0, "Type": "Undefined", "TypeGroup": "Undefined", "UnitPrice": 0, "UnitPriceOriginal": 0, "UnitVat": 0, "UnitPriceOriginalVat": 0, "VatRate": 0, "AdditionalInfo": [ { … } ], "Comment": "string", "Description": "string", "ErpPartNo": "string", "InternalProductId": 0, "ParentLineNo": 0, "PriceListNo": 0, "PriceLists": [ { … } ], "Promotions": [ { … } ], "UnitOfMeasure": "string" }
OrderRequest
Represents a new order from Norce Commerce
Usually weborder number (basket id in Norce Commerce). For orders from external source this is their number. Max length: 50
Buyers reference, usually added in the checkout for B2B orders. Max length: 50
List of order discounts that are not represented on order lines. Not commonly used.
True if web solution thinks that this order should be manually validated before processed
Usually empty. If exists this is a suggestion from web solution which order number the order should have in ERP. Max length: 50
Collection of fees on the order. Not commonly used, the fees are mostly implemented as order items with TypeGroup "Fee".
Collection of order rows. Other than the articles this collection can also contain fees such as freight.
An order can have several payments. Usually this is only one, but sometime there are an additional payment method like giftcard or a voucher.
Code of sales contact if a sales rep should be marked as seller. Max length: 50
Code of sales department if a sales dep should be marked as seller. Max length: 50
{ "AdditionalInfo": [ { … } ], "BillTo": { "Company": { … }, "Person": { … } }, "ClientOrderRef": "string", "CurrencyCode": "string", "CustomerOrderComment": "string", "CustomerOrderRef": "string", "Discounts": [ { … } ], "DoHold": true, "ErpOrderNo": "string", "Fees": [ { … } ], "Header": { "ApplicationKey": "string" }, "Items": [ { … } ], "OrderType": 0, "Payments": [ { … } ], "ReferId": 0, "SalesContactCode": "string", "SalesContactDivision": "string", "SellTo": { "Company": { … }, "Person": { … } }, "ShipTo": { "Company": { … }, "Person": { … } }, "ShippingAdvice": { "DeliveryMethodCode": "string", "DoSMSNotify": true, "IsComplete": true, "IsFeeChargedOnce": true, "PickupStore": { … }, "ShipAdvisorOrderCode": "string", "TmsReference": "string" }, "Source": "string", "SubmitDate": "string" }