actindo ->dk__address_add
actindo -> dk__address_add: Add new address to customer, new since __TICKET_NAME_CHX-179__
Signaturstring dk__address_add( string $sid, int $deb_kred_id, dk_params $data )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • int $deb_kred_id
    customer id
     
  • dk_params $data
    *
     
Returnsstring
array( 'ok'=>TRUE/FALSE, 'errno'=>int error number )
 
DescriptionAdd new address to customer, new since __TICKET_NAME_CHX-179__

the parameter array $data has to be used to specify customer address fields:
address_type:string
address type, must be one of the following valid values:
purchaser (Bestelleradresse)
bill (Rechnungsadresse)
delivery (Lieferadresse)
redirect (Umverfügungsadresse)
pickup (Abholadresse)

anrede:string
customer title

firma:string
name of the company

name:string
customer surname

vorname:string
customer name

land:string
customer country code (for example D for Germany)

adresse:string
customer address

adresse2:string
customer address 2

plz:string
customer postal code

ort:string
customer residence

tel:string
customer phone number

tel2:string
customer phone number 2

mobiltel:string
customer mobile phone number

fax:string
customer fax number

email:string
customer email

ustid: string
customer vat no. (Umsatzsteuer-ID)

delivery_id: int
address id (Adress-ID)