The Order Service has Entities and Operations concerned with orders created in Norce Commerce.
Documentation Norce Commerce Connect Order Service (4.0)
https://customer-slug.api-se.norce.tech/commerce/connect/4.0/
Request
Creates an invoice from another system. Will capture/activate payment if applicable.
Read more about the method here.
- application/json
- application/xml
Invoice
Determines if all invoices already received in case of partial payments. Null is considered as true.
List of invoiced order items. Mandatory for PSP capture.
Represents successful payment reservation. Either PaymentCode or PaymentRef must be provided.
Set to true to suppress a PSP call for this invoice. Invoice will be stored as information only.
https://customer-slug.api-se.norce.tech/commerce/connect/4.0/Order/CreateInvoice
- cURL
- JS
- C#
curl -i -X POST \
https://customer-slug.api-se.norce.tech/commerce/connect/4.0/Order/CreateInvoice \
-H 'Content-Type: application/json' \
-d '{
"ClientOrderRef": 0,
"CurrencyCode": "string",
"ErpOrderNo": "string",
"InvoiceDate": "string",
"InvoiceNo": "string",
"AddressLine1": "string",
"AddressLine2": "string",
"ApplicationKey": "string",
"Attention": "string",
"CareOf": "string",
"City": "string",
"Comment": "string",
"Country": "string",
"CountryCode": "string",
"CreditedInvoiceNo": "string",
"CultureCode": "string",
"DeliveryDate": "string",
"Gln": "string",
"GroupCode": "string",
"InvoiceDueDate": "string",
"InvoiceRoundOff": 0,
"IsLastInvoiceForOrder": true,
"Items": [
{
"PartNo": "string",
"Quantity": 0,
"UnitPrice": 0,
"Description": "string",
"Discount": 0,
"LineAmount": 0,
"LineNo": 0,
"PriceList": "string",
"ProductName": "string",
"SalePrice": 0,
"UnitVat": 0,
"VatRate": 0
}
],
"Name": "string",
"Payment": {
"PaymentCode": 0,
"PaymentMethodCode": "string",
"PaymentRef": "string",
"AdditionalInfo": [
{
"Code": "string",
"Code2": "string",
"Id": 0,
"Value": "string"
}
],
"Amount": 0,
"CurrencyCode": "string",
"PaymentName": "string"
},
"PaymentMethodCode": "string",
"PaymentMethodName": "string",
"Region": "string",
"SuppressPspCall": true,
"TotalAmount": 0,
"Vat": 0,
"VatRoundOff": 0,
"ZipCode": "string"
}'
Request
Create a credit request that is sent to a payment service, if applicable. Must be related to an order, but can be a partly credit.
Read more about the method here.
- application/json
- application/xml
Invoice to be credited.
Determines if all invoices already received in case of partial payments. Null is considered as true.
List of invoiced order items. Mandatory for PSP capture.
Represents successful payment reservation. Either PaymentCode or PaymentRef must be provided.
Set to true to suppress a PSP call for this invoice. Invoice will be stored as information only.
https://customer-slug.api-se.norce.tech/commerce/connect/4.0/Order/CreditPayment
- cURL
- JS
- C#
curl -i -X POST \
https://customer-slug.api-se.norce.tech/commerce/connect/4.0/Order/CreditPayment \
-H 'Content-Type: application/json' \
-d '{
"ClientOrderRef": 0,
"CurrencyCode": "string",
"ErpOrderNo": "string",
"InvoiceDate": "string",
"InvoiceNo": "string",
"AddressLine1": "string",
"AddressLine2": "string",
"ApplicationKey": "string",
"Attention": "string",
"CareOf": "string",
"City": "string",
"Comment": "string",
"Country": "string",
"CountryCode": "string",
"CreditedInvoiceNo": "string",
"CultureCode": "string",
"DeliveryDate": "string",
"Gln": "string",
"GroupCode": "string",
"InvoiceDueDate": "string",
"InvoiceRoundOff": 0,
"IsLastInvoiceForOrder": true,
"Items": [
{
"PartNo": "string",
"Quantity": 0,
"UnitPrice": 0,
"Description": "string",
"Discount": 0,
"LineAmount": 0,
"LineNo": 0,
"PriceList": "string",
"ProductName": "string",
"SalePrice": 0,
"UnitVat": 0,
"VatRate": 0
}
],
"Name": "string",
"Payment": {
"PaymentCode": 0,
"PaymentMethodCode": "string",
"PaymentRef": "string",
"AdditionalInfo": [
{
"Code": "string",
"Code2": "string",
"Id": 0,
"Value": "string"
}
],
"Amount": 0,
"CurrencyCode": "string",
"PaymentName": "string"
},
"PaymentMethodCode": "string",
"PaymentMethodName": "string",
"Region": "string",
"SuppressPspCall": true,
"TotalAmount": 0,
"Vat": 0,
"VatRoundOff": 0,
"ZipCode": "string"
}'