API Designer Customer Get By ID


    Retrieve a single customer based on the customer ID.


    Type Name Description
    int customer_id ID of the required customer

    Sample Usage

    $client = new SoapClient('http://l001.pageprodigy.com/api/soap/?wsdl');
    $session = $client->login('apiUser', 'apiKey');
    $api_result = $client->call($session, 'design_customers.getByID', array($customer_id));
    echo $api_result ['id'];


    Type Name Description
    array customer_array A single designCusotmerEntity

    The designCusotmerEntity content is as follows:

    Type Name Description
    integer id The ID of the Customer
    integer customer_code The Code of the Customer
    string name Combination of first and last name of the customer
    string first_name First name of the customer.
    string last_name Last name of the customer.
    string email Email address of the customer.