Geeft de gegevens van een klantbestelling aan de hand van het klantbestellingnummer.
Apps, Webshop-koppelingen, externe applicaties
http[s]://<url>:<poort>/odapi/rest/TMethods/preliminaryCustomerOrder/[key]/104441/json
{
"data": {
"preliminaryCustomerOrder": {
"number": "104441",
"date": "20200212",
"dateString": "Woensdag 12 februari",
"discounts": true,
"subject": "Testbestelling",
"customerOrderNumber": "55555",
"delivery": {
"date": "20200221"
},
"text": "Opmerkingen\nLaatste regel",
"orderProcessingStatus": {
"id": 3,
"name": "Wordt bewerkt"
},
"relation": {
"number": "25979",
"email": {}
},
"address": {
"id": 1,
"name": "Sillekens Driessens BV",
"street": "Burghofweg 14",
"postalCode": "6043 CX",
"city": "Susteren",
"countryCode": "NL",
"telephone": "(0495) 31 25 81"
},
"contact": {
"name": "Piet Sillekens"
},
"totalExcludingVat": 6868.25,
"lines": [
{
"line": {
"id": 1,
"quantity": 1,
"unitPrice": 6295,
"discount": " netto",
"product": {
"code": "100-010",
"description": "Order-Direct - Standaarduitvoering 10-user"
},
"total": 6295
}
},
{
"line": {
"id": 2,
"quantity": 1,
"unitPrice": 349,
"discount": " netto",
"product": {
"code": "100-050",
"description": "Order-Direct - Module WEB-applicatie - Relatiebeheer basis",
"salesPriceUnit": 1
},
"total": 349
}
},
{
"line": {
"id": 3,
"quantity": 5,
"unitPrice": 44.85,
"discount": " netto",
"product": {
"code": "200-100",
"description": "Servicecontract 15% van de configuratiewaarde per jaar",
"salesPriceUnit": 1
},
"total": 224.25
}
}
]
}
}
}