Syntax

updateBuyer( buyer_id, data ) 

Updates the buyer's contact details

Access rights

Full access required.

Parameters

buyer_id – The buyer ID, as returned by e.g. getPurchase

data – An array with some or all of these fields:

  • email
  • first_name
  • last_name
  • salutation – empty, M or F
  • title
  • company
  • street_name
  • street_number
  • phone_number (can be overwritten with an empty string (phone_no=''))
  • city
  • zipcode
  • state
  • country – Two-digit ISO country code e.g. DE or AT

Return data

Array
(
     [is_modified] => Y
 )