The Order Service has Entities and Operations concerned with orders created in Norce Commerce.
- OrderResponse
Documentation Norce Commerce Connect Order Service (4.0)
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" }
Payment
Represents successful payment reservation. Either PaymentCode or PaymentRef must be provided.
Payment method that should be sent in to the ERP, the code is configurable in Norce Commerce.
3rd party specific information abount payment (client and PSP decides what this can contain).
{ "PaymentCode": 0, "PaymentMethodCode": "string", "PaymentRef": "string", "AdditionalInfo": [ { … } ], "Amount": 0, "CurrencyCode": "string", "PaymentName": "string" }