Get Sold-To account details.
/cnbs/v1/customers/id/sold_to
GET | POST
JSON Payload:
{
"customer_number": "3000",
"sales_area_data": {
"sales_organization": "3000",
"distribution_channel": "10",
"division": "00"
}
}
cURL
curl -X POST "https://<<your.server.here>>/cnbs/v1/customers/id/sold_to?sap-client=800&sap-language=EN&apiid=CNBSMV01P" -H "accept: application/json" -H "content-type: application/json" -H "cnbssysid: gPuM1VyY1dxlTE2MEs2yajJUkX3/4+2Pw1alRw4BOtI=" -d "{ \"customer_number\": \"3000\", \"sales_area_data\": { \"sales_organization\": \"3000\", \"distribution_channel\": \"10\", \"division\": \"00\" }}"
cURL
curl -X GET "https://<<your.server.here>>/cnbs/v1/customers/id/sold_to?sap-client=800&sap-language=EN&apiid=CNBSMV01R&customer_number=3000&sales_organization=3000&distribution_channel=10&division=00" -H "accept: application/json" -H "content-type: application/json" -H "cnbssysid: gPuM1VyY1dxlTE2MEs2yajJUkX3/4+2Pw1alRw4BOtI="
JSON:
{
"detail": {
"address_data": {
"name": "Best Manufacturing Inc.",
"city": "MAYWOOD",
"district": "COOK",
"street": "South 25th Ave",
"postal_code_city": "60153",
"region": "IL",
"country": "US"
},
"sales_data": [
{
"data": {
"sales_organization": "3000",
"distribution_channel": "10",
"division": "00",
"terms_of_payment": "NT30",
"company_code:": "3000",
"currency_key": "USD"
},
"partner": [
{
"partner_function": "AG",
"partner_number": "0000003000"
},
{
"partner_function": "RG",
"partner_number": "0000003050"
}
]
}
]
},
"status": {
"message_type": "S",
"message_identification": "/CNBS/X_API",
"message_number": 10,
"message_line_string": "Request successfully processed"
}
}