https://norcecommerce.api-se.norce.tech/commerce/query/3.0/
https://norcecommerce.api-se.norce.tech/commerce/query/3.0/Orders/Orders
curl -i -X GET \
https://norcecommerce.api-se.norce.tech/commerce/query/3.0/Orders/Orders \
-H 'ApplicationId: 0'A queryable collection of orders.
The order number, commonly same as quotation id unless overriden from the ERP confirmation response.
The reseller customer code, not used anymore.
The status identifier, common values are Created (0), Allocation (1), Confirmed (2), Delivered (4), Invoiced (5), Cancelled (6), Partly delivered (8).
The sales representative contact identifier, not used anymore.
The source of the order, 'WEB' is reserved for orders coming through Norce shopping and checkout processes.
The delivery mode, code from the DeliveryMethod setting.
Indicates whether the order is partly delivered, can be true if goods ordered is partly delivered by a DeliveryNote.
The payment terms, code from the PaymentMethod setting.
The freight cost excluding VAT, the same as the lineamount on the freight order item.
The delivery attention line, often name of the delivery recipient.
The external purchase number, not used anymore, usually has the quotation id.
The delivery mark, copied from the CustomerOrderReference in the Quotation.
The invoice mark, copied from the CustomerInvoiceReference in the Quotation.
The payer customer info identifier, lookup key for CustomerInfo, where customer data is stored for guest customers, not having a ClientCustomer record.
The buyer customer info identifier, lookup key for CustomerInfo, where customer data is stored for guest customers, not having a ClientCustomer record.
The ship-to customer info identifier, lookup key for CustomerInfo, where customer data is stored for guest customers, not having a ClientCustomer record.
The order type identifier, Customer Order (1), Purchase Order (2), Recurring Order (3), Recurring Order Template (4), External Order (5).
The identifier of the user who marked the order as forgotten, not used anymore.
The date and time the order was marked as forgotten, not used anymore.
The drop point customer info identifier, lookup key for CustomerInfo.
The TMS reference, a reference identifier from the Transport system, not commonly used.
[ { "buyerCustomer": { … }, "id": 0, "clientId": 0, "applicationId": 0, "quotationId": 0, "orderNo": "string", "orderDate": "2019-08-24T14:15:22Z", "buyerCompanyCode": "string", "buyerCompanyId": 0, "buyerCustomerCode": "string", "buyerCustomerId": 0, "payerCompanyCode": "string", "payerCompanyId": 0, "payerCustomerCode": "string", "payerCustomerId": 0, "resellerCompanyCode": "string", "resellerCompanyId": 0, "resellerCustomerCode": "string", "resellerCustomerId": 0, "groupCode": "string", "statusId": 0, "salesRepContactId": 0, "source": "string", "deliveryTerms": "string", "deliveryMode": "string", "deliveryDate": "2019-08-24T14:15:22Z", "isPartDelivery": true, "paymentTerms": "string", "currencyId": 0, "vatRate": 0, "cashDiscount": 0, "lineDiscount": 0, "freightCost": 0, "orderFee": 0, "deliveryAttention": "string", "deliveryCareOf": "string", "deliveryAddressLine1": "string", "deliveryAddressLine2": "string", "deliveryZipCode": "string", "deliveryCity": "string", "deliveryRegion": "string", "deliveryCountryId": 0, "ledgerAccount": "string", "department": "string", "centre": "string", "externalPurchaseNo": "string", "salesCode": "string", "deliveryMark": "string", "invoiceMark": "string", "created": "2019-08-24T14:15:22Z", "createdBy": 0, "updated": "2019-08-24T14:15:22Z", "updatedBy": 0, "payerCustomerInfoId": 0, "estimatedDeliveryTime": "2019-08-24T14:15:22Z", "deliveryTime": "2019-08-24T14:15:22Z", "buyerCustomerInfoId": 0, "shipToCustomerInfoId": 0, "externalRef": "string", "paymentMethodId": 0, "deliveryMethodId": 0, "orderTypeId": 0, "isForgotten": true, "forgottenBy": 0, "forgottenDate": "2019-08-24T14:15:22Z", "dropPointCustomerInfoId": 0, "dropPointCode": "string", "year": 0, "week": 0, "tmsReference": "string", "buyer": { … }, "deliveryNote": [ … ], "dropPoint": { … }, "invoice": [ … ], "infos": [ … ], "items": [ … ], "payer": { … }, "quotation": { … }, "shipTo": { … } } ]
https://norcecommerce.api-se.norce.tech/commerce/query/3.0/Orders/Quotations
curl -i -X GET \
https://norcecommerce.api-se.norce.tech/commerce/query/3.0/Orders/Quotations \
-H 'ApplicationId: 0'A queryable collection of quotations.
The status identifier. Basket (3), Deleted (4), Accepted (5), Ready for payment (7), Payment Accepted (8), Saved (9), Order (10), Recurring order (21), Opened for post purchase upsell (22).
Indicates whether the quotation is locked. When a quotation is in a locked state, it cannot be modified. This is typically used to prevent changes to a quotation that is under review or has been accepted.
The discount code, from the applied promotions, several codes are separated by a comma.
The parent quotation identifier, not commonly used. Used for linking to an original quotation.
The customer order reference. Usually used as a note on the delivery slip, copied to DeliveryMark on the Order here in Query and is called OrderReference in the Basket model in commerce services.
The payer social security number, not commonly used.
Indicates whether do hold is enabled, signal for manual check in ERP, not commonly used.
The customer invoice reference. Usually used as a note on the invoice, copied to InvoiceMark on the Order here in Query and is called InvoiceReference in the Basket model in commerce services.
[ { "id": 0, "applicationId": 0, "salesContactId": 0, "buyerAccountKey": "string", "buyerAccountId": 0, "payerAccountId": 0, "payerAccountKey": "string", "statusId": 0, "isPrimary": true, "name": "string", "validTo": "2019-08-24T14:15:22Z", "isDeletable": true, "comment": "string", "rejectionReasonId": 0, "modified": "2019-08-24T14:15:22Z", "browsed": "2019-08-24T14:15:22Z", "paymentMethodId": 0, "deliveryMethodId": 0, "ipAddress": "string", "payerFirstName": "string", "payerMiddleName": "string", "payerLastName": "string", "payerCellPhoneNumber": "string", "payerEmail": "string", "currencyId": 0, "resellerCustomerId": 0, "isLocked": true, "discountCode": "string", "isActive": true, "parentQuotationId": 0, "clientId": 0, "buyerCompanyId": 0, "payerCompanyId": 0, "hasPaymentTransaction": true, "buyerFirstName": "string", "buyerMiddleName": "string", "buyerLastName": "string", "buyerCellPhoneNumber": "string", "buyerEmail": "string", "customerOrderReference": "string", "created": "2019-08-24T14:15:22Z", "createdBy": 0, "referId": 0, "referUrl": "string", "payerSocialSecurityNumber": "string", "buyerCustomerId": 0, "payerCustomerId": 0, "shipToCustomerId": 0, "rowId": "string", "deleteDate": "2019-08-24T14:15:22Z", "pickupCode": "string", "attestedBy": 0, "modifiedBy": 0, "typeId": 0, "doHold": true, "deliveryMethodCode": "string", "freightPrice": 0, "customerInvoiceReference": "string", "year": 0, "week": 0, "salesAreaId": 0, "payerPhoneNumber": "string", "buyerPhoneNumber": "string", "order": [ … ], "addresses": [ … ], "infos": [ … ], "items": [ … ] } ]
https://norcecommerce.api-se.norce.tech/commerce/query/3.0/Orders/DeliveryNotes
curl -i -X GET \
https://norcecommerce.api-se.norce.tech/commerce/query/3.0/Orders/DeliveryNotes \
-H 'ApplicationId: 0'A queryable collection of delivery notes.
The buyer company identifier, not used anymore, check Order for customer information.
The buyer company code, not used anymore, check Order for customer information.
The buyer customer identifier, not used anymore, check Order for customer information.
The buyer customer code, not used anymore, check Order for customer information.
The payer company identifier, not used anymore, check Order for customer information.
The payer company code, not used anymore, check Order for customer information.
The payer customer identifier, not used anymore, check Order for customer information.
The payer customer code, not used anymore, check Order for customer information.
The reseller company identifier, not used anymore, check Order for customer information.
The reseller company code, not used anymore, check Order for customer information.
The reseller customer identifier, not used anymore, check Order for customer information.
The reseller customer code, not used anymore, check Order for customer information.
[ { "id": 0, "clientId": 0, "noteNo": "string", "supplierId": 0, "typeId": 0, "referenceOrderId": 0, "buyerCompanyId": 0, "buyerCompanyCode": "string", "buyerCustomerId": 0, "buyerCustomerCode": "string", "payerCompanyId": 0, "payerCompanyCode": "string", "payerCustomerId": 0, "payerCustomerCode": "string", "resellerCompanyId": 0, "resellerCompanyCode": "string", "resellerCustomerId": 0, "resellerCustomerCode": "string", "groupCode": "string", "deliveryName": "string", "deliveryAttention": "string", "deliveryCareOf": "string", "deliveryAddressLine1": "string", "deliveryAddressLine2": "string", "deliveryZipCode": "string", "deliveryCity": "string", "deliveryRegion": "string", "deliveryCountryId": 0, "deliveryDate": "2019-08-24T14:15:22Z", "quantity": 0, "volume": 0, "weight": 0, "isPrinted": true, "deliveryTerms": "string", "deliveryMode": "string", "source": "string", "deliveryMark": "string", "noteText": "string", "department": "string", "centre": "string", "shippingNo": "string", "created": "2019-08-24T14:15:22Z", "createdBy": 0, "updated": "2019-08-24T14:15:22Z", "updatedBy": 0, "deliveryAddressId": 0, "divisionCode": "string", "statusId": 0, "isForgotten": true, "forgottenBy": 0, "forgottenDate": "2019-08-24T14:15:22Z", "deliveryAddress": { … }, "items": [ … ], "packages": [ … ], "referenceOrder": { … } } ]
https://norcecommerce.api-se.norce.tech/commerce/query/3.0/Orders/Invoices
curl -i -X GET \
https://norcecommerce.api-se.norce.tech/commerce/query/3.0/Orders/Invoices \
-H 'ApplicationId: 0'A queryable collection of invoices.
The source of the order the invoice is referencing, 'WEB' is reserved for orders coming through Norce shopping and checkout processes.
The currency rate, used for converting the invoice amount to the base currency.
Indicates whether this is the last invoice for the order, and if the payment capture logic can close the transaction at the PSP.
Indicates whether the invoice is debit, false when the invoice is credit and should trigger a payment credit integration.
The aggregated invoice code, grouping multiple invoices together.
[ { "id": 0, "clientId": 0, "invoiceNo": "string", "typeId": 0, "referenceOrderId": 0, "referenceNoPsp": "string", "buyerCompanyId": 0, "buyerCustomerId": 0, "payerCompanyId": 0, "payerCustomerId": 0, "resellerCompanyId": 0, "resellerCustomerId": 0, "groupCode": "string", "deliveryDate": "2019-08-24T14:15:22Z", "invoiceDate": "2019-08-24T14:15:22Z", "invoiceDueDate": "2019-08-24T14:15:22Z", "salesRepContactId": 0, "source": "string", "quantity": 0, "volume": 0, "weight": 0, "currencyId": 0, "currencyRate": 0, "cashDiscount": 0, "cashDiscountDate": "2019-08-24T14:15:22Z", "sumLineDiscount": 0, "freightCost": 0, "invoiceFee": 0, "costValue": 0, "salesBalance": 0, "invoiceAmount": 0, "invoiceRoundOff": 0, "vatDutiable1": 0, "vatDutiable2": 0, "vatDutiable3": 0, "vat1": 0, "vat2": 0, "vat3": 0, "vatRoundOff": 0, "vat": 0, "invoiceName": "string", "invoiceAttention": "string", "invoiceCareOf": "string", "invoiceAddressLine1": "string", "invoiceAddressLine2": "string", "invoiceZipCode": "string", "invoiceCity": "string", "invoiceRegion": "string", "invoiceCountryId": 0, "ledgerVoucher": "string", "department": "string", "centre": "string", "noteText": "string", "lastInvoiceForOrder": true, "created": "2019-08-24T14:15:22Z", "createdBy": 0, "updated": "2019-08-24T14:15:22Z", "updatedBy": 0, "invoiceAddressId": 0, "paymentMethodId": 0, "deliveryMethodId": 0, "isDebit": true, "creditedInvoiceId": 0, "comment": "string", "isForgotten": true, "forgottenBy": 0, "forgottenDate": "2019-08-24T14:15:22Z", "aggregatedInvoiceCode": "string", "paymentMethodCode": "string", "paymentMethodName": "string", "invoiceGln": "string", "creditedInvoice": {}, "inverseCreditedInvoice": [ … ], "address": { … }, "items": [ … ], "referenceOrder": { … } } ]