Syntax

getBuyer( buyer_id )

Returns a buyer's data record.

Access rights

Read access required.

Parameters

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

Return data

Buyer data record (with address) e.g.

[data] => Array
(
    [buyer] => Array
    (
        [street] => Am Schlossplatz 2
        [street_name] => Am Schlossplatz
        [street_number] => 2
        [id] => 12345
        [address_id] => 65432
        [created_at] => 2019-02-12 07:49:39
        [email] => somename@domain.com
        [first_name] => John
        [last_name] => Smith
        [salutation] => M
        [title] => Prof. Dr.
        [company] => Some Company Name
        [zipcode] => 98765
        [city] => Some City
        [state] =>
        [country] => DE
        [phone_no] => +49 1234 1234 1234
)