PDF Export

JSON Business Partner Change

Example

Change or add address fields:

{
      "lastName1": "Customer",
      "firstName": "Anne",
      "salutationCode": "02",
      "zipcode": "NN4 7BF",
      "addressLine1": "1 Main Road",
      "regionCode": "NH",
      "regionText": "Northamptonshire",
      "city": "NORTHAMPTON",
      "countryCode": "GB"
   }

Delete address fields:

{
   "poBox": {"action": "DELETE"}
}

To change communication data you have to specify which value you want to change, because there can be many.

Update telephone number:

  { "bpCommunicationsList": [
       {
          "communicationType" : {
                   "value" : "T",
                   "action" : "UPDATE"
                 },
          "communicationValue" : {
                   "value" : "123",
                   "oldValue" : "456",      // the old value you want to update
                   "action" : "UPDATE"
                 }
      }
  ]
  }

Add new additional telephone number:

   "bpCommunicationsList": [
       {
          "communicationType" : "T",
          "communicationValue" : "123"
      }
  ]

Delete telephone number:

{
 "bpCommunicationsList": [
     {
          "communicationType" : {
                     "value" : "T",
                     "action" : "DELETE"
               },
          "communicationValue" : {
                     "value" : "123",    // the old value you want to delete
                     "action" : "DELETE"
               }
      }
  ]
}

Element Definitions

Field name Description
lastName1 C 40 Lastname 1
lastName2 C 40 Lastname 2
firstName C 40 First-name
jobTitle C 35 Job title
salutationCode C 2 Salutation-Code in AVS/3, For example
01 = Mr.
02 = Ms.
titleCodeAcademic C 4 Academic title code, e.g. 0027 = Dr
titleAcademic C 15Academic Title, e.g. Dr.
titleCodeRoyal C 4Royal title code
titleRoyal C 15Royal title
company1 C 401. line of company address. If this field is filled is the above name the contact person of the firm.
company2 C 402. line of company address. Contains for example section or continuation of firm address.
company3 C 40 3. line of company address
department C 30 department
zipcode C 10 zipcode
street C 50Street with house no. and addition to house no.
streetSuffix C 40 Addition to street
streetNumber C 10 Street Number
streetNumberSuffix C 10 Street Number Suffix
addressLine1 C 35Address line 1 for UK addresses
addressLine2 C 35Address line 2 for UK addresses
addressLine3 C 35Address line 3 for UK addresses
poBoxZipcode C 10Po-box-zipcode
poBox C 10 Po-box
poBoxCity C 40 Po-box-city
majorCustomerZipcodeC 10Major-cust-zip
city C 40 City
district C 40 Addition of city
regionCode C 3 Region-Code (federal state, province, county)
regionText C 25 Region as cleartext (e.g. County…)
countryCode C 2 Two letter ISO 3166-1 alpha-2 country-code
advertisement C 1 Advertisement permitted; Y / N
block C 1General block-tag ( Y = put block-tag )
euSalesTaxNumber C 14EU sales tax id
dateOfBirth D Birthdate (YYYY-MM-DD)
masterNumber C 10Partner-ID of master (for example company of contact person)
sector C 10 branch
bpCommunicationsList
communicationType C 2Communication Types; Values
communicationValue C 50 Communication value
communicationDefault C 1Default value Y / N


This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information