curl --location '/getCustomerOrders?CustomerID=undefined&CustomerOrderID=undefined&BusinessUnitID=undefined&ZcustomerIDTypeCode=undefined'{
"result": {
"customerOrder": [
{
"customerOrderId": "0005035848",
"customerOrderTyCo": "ZOR",
"customer": {
"customer": "0006520206",
"name": "Customer name AS",
"title": "",
"street": "Storgata 1",
"postCode": "0155",
"city": "Oslo",
"region": "",
"country": "NO",
"email": "post@customer.no",
"phoneNumber": "+4712345678",
"image": "",
"creditAmount": 15000,
"isCreditCustomer": true,
"customerClub": false,
"organizationId": "912345678",
"discountReasonCodes": []
},
"customerOrderLnItem": [
{
"customerOrderLnItmSeqNo": "000010",
"customerOrderProdLnItm": {
"itemId": "000000000000221347",
"description": "Lamp",
"orderedItemQuantity": 1,
"saleUnitRetailPriceAmount": 549,
"totalRetailPriceAmount": 549
},
"customerOrderProdPriceMod": [
{
"reasonCode": "PAID",
"amount": 100
},
{
"reasonCode": "PAY_PROPOSAL",
"amount": 449
},
{
"reasonCode": "NET",
"amount": 439.2
}
],
"allowGiftReceipt": true
},
{
"customerOrderLnItmSeqNo": "000020",
"customerOrderProdLnItm": {
"itemId": "000000000000221348",
"description": "Light bulb",
"orderedItemQuantity": 2,
"saleUnitRetailPriceAmount": 49.5,
"totalRetailPriceAmount": 99
},
"customerOrderProdPriceMod": [],
"allowGiftReceipt": false
}
]
}
]
}
}