Get Sold-To account details.

/cnbs/v1/customers/id/sold_to
GET

Required

  • Customer Number (customer_number)
    • Sold-To customer number

Optional

  • Sales Area (sales_area_data)
    • Sales Organization (sales_organization)
    • Distribution Channel (distribution_channel)
    • Division (division)

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="
  • Detail (detail)
    • Address data (address_data)
      • Name (name)
      • Name 2 (name_2)
      • Name 3 (name_3)
      • Name 4 (name_4)
      • City (city)
      • District (district)
      • Street (street)
      • Postal Code City (postal_code_city)
      • Region (region)
      • Country (country)
    • Communication data (communication_data)
      • Phone (phone)
        • Country code (country_code)
        • Standard flag (standard)
        • Telephone No (telephone)
      • E-Mail addresses (smtp)
        • Standard flag (standard)
        • E-Mail address (email)
    • Sales Data Table (sales_data)
      • Data (data)
        • Sales Organization (sales_organization)
        • Distribution Channel (distribution_channel)
        • Division (division)
        • Deletion Flag (deletion_flag)
        • Order Block (customer_order_block)
        • Payment Terms (terms_of_payment)
        • Manual Invoice Maintenance (manual_invoice_maintenance)
        • Company Code (company_code)
        • Currency (currency_key)
      • Partner Table (partner)
        • Partner Function (partner_function)
        • Partner Counter (partner_counter)
        • Partner Number (partner_number)
        • Default Partner Flag (default_partner)
  • Status (status)
    • Message Type (message_type)
      • SAP Message Type.
        • Errors:
          • E = Error
          • A = Abort
          • X = Exception
        • Others:
          • S = Success
          • W = Warning
          • I = Information
    • Message Identifier (message_identification)
      • SAP Message ID.
    • Message Number (message_number)
      • SAP Message Number.
    • Message Line (message_line_string)
      • SAP Message Text.
{
  "detail": {
    "address_data": {
      "name": "Smith Inc. LLC",
      "name_2": "Test",
      "city": "MAYWOOD",
      "district": "COOK",
      "street": "1 2800 South 25th Ave",
      "postal_code_city": "60153",
      "region": "IL",
      "country": "US"
    },
    "communcation_data": {
      "phone": [
        {
          "country_code": "US",
          "standard": "X",
          "telephone": "(312)450-BUSH"
        }
      ],
      "smtp": [
        {
          "standard": "X",
          "email": "demo@cnbssoftware.com"
        },
        {
          "email": "office@cnbssoftware.com"
        }
      ]
    },
    "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",
            "address_data": {
              "name": "Smith Inc. LLC",
              "name_2": "Test",
              "city": "MAYWOOD",
              "district": "COOK",
              "street": "1 2800 South 25th Ave",
              "postal_code_city": "60153",
              "region": "IL",
              "country": "US"
            }
          },
          {
            "partner_function": "RG",
            "partner_number": "0000003050",
            "address_data": {
              "name": "Bush Holdings, Inc.",
              "city": "CHICAGO",
              "district": "COOK",
              "street": "1 408 Michigan Avenue",
              "postal_code_city": "60611",
              "region": "IL",
              "country": "US"
            }
          },
          {
            "partner_function": "RG",
            "partner_counter": 1,
            "partner_number": "0000003000",
            "address_data": {
              "name": "Smith Inc. LLC",
              "name_2": "Test",
              "city": "MAYWOOD",
              "district": "COOK",
              "street": "1 2800 South 25th Ave",
              "postal_code_city": "60153",
              "region": "IL",
              "country": "US"
            }
          },
          {
            "partner_function": "WE",
            "partner_number": "0000003000",
            "address_data": {
              "name": "Smith Inc. LLC",
              "name_2": "Test",
              "city": "MAYWOOD",
              "district": "COOK",
              "street": "1 2800 South 25th Ave",
              "postal_code_city": "60153",
              "region": "IL",
              "country": "US"
            }
          },
          {
            "partner_function": "WE",
            "partner_counter": 1,
            "partner_number": "0000003010",
            "address_data": {
              "name": "Bush Distribution",
              "city": "MAYWOOD",
              "district": "COOK",
              "street": "1 3000 North Avenue",
              "postal_code_city": "60153",
              "region": "IL",
              "country": "US"
            }
          },
          {
            "partner_function": "WE",
            "partner_counter": 2,
            "partner_number": "0000003020",
            "address_data": {
              "name": "Bush Warehousing",
              "city": "ELKHART",
              "district": "MORTON",
              "street": "1 30 East Street",
              "postal_code_city": "67950",
              "region": "KS",
              "country": "US"
            }
          }
        ]
      }
    ]
  },
  "status": {
    "message_type": "S",
    "message_identification": "/CNBS/X_API",
    "message_number": 10,
    "message_line_string": "Request successfully processed"
  }
}
  • public/docs/webarapi/v140/soldtodetails.txt
  • Last modified: 2025/03/25 16:12
  • by 127.0.0.1