Geeft een lijst met de gegevens van alle prijsafspraken bij klanten.
Apps, Webshop-koppelingen, externe applicaties
http[s]://<url>:<poort>/odapi/rest/TMethods/customerSalesPriceAgreements/[key]
{
"data": {
"relations": [
{
"relation": {
"number": "10001",
"priceAgreements": [
{
"priceAgreement": {
"modified": "20200212",
"products": {
"fromCode": "090-000",
"toCode": "100-005"
},
"discount": 20
}
},
{
"priceAgreement": {
"modified": "20111117",
"productGroups": {
"fromNumber": 150,
"toNumber": 200
},
"discount": 50
}
},
{
"priceAgreement": {
"modified": "20121021",
"product": {
"code": "150-010"
},
"discount": 35
}
},
{
"priceAgreement": {
"modified": "20140919",
"product": {
"code": "999-210"
},
"discount": 100
}
}
]
}
},
{
"relation": {
"number": "10004",
"priceAgreements": [
{
"priceAgreement": {
"modified": "20181031",
"exclusive": true,
"product": {
"code": "200-000"
},
"netPrice": {
"price": 1359.85,
"currency": {
"id": 1,
"name": "EUR"
}
}
}
}
]
}
}
]
}
}