The contact array contains all data about the shopper.

KeyTypeDescription
idintegerInternal shopper ID
titlestring (mister|miss)
...
countrystringcountry name in the shopper's language
countryISOstringISO 3166-1 Alpha 2 of shopper's country
...
delivery_countrystringdelivery country name in the shopper's language
delivery_countryISOstringISO 3166-1 Alpha 2 of shopper's delivery country
...

πŸ“˜

Why do I need the internal shopper ID?

With this ID you are able to use our API endpoint to create an auto-login for your shopper. See how you can use it

See example down below for all fields

Example

<?php
array(
  'id' => 1,
  'title' => 'mister',
  'firstname' => 'Max',
  'lastname' => 'Muster',
  'company' => 'Company',
  'street' => 'Street No',
  'zip' => 'ZIP code',
  'place' => 'Place',
  'country' => 'Switzerland',
  'countryISO' => 'CH',
  'phone' => '',
  'email' => '[email protected]',
  'date_of_birth' => '',
  'delivery_title' => '',
  'delivery_firstname' => '',
  'delivery_lastname' => '',
  'delivery_company' => '',
  'delivery_street' => '',
  'delivery_zip' => '',
  'delivery_place' => '',
  'delivery_country' => '',
  'delivery_countryISO' => '',
);