API Designer Customer Get By Code


    Retrieve a single customer based on the customer Code. The customer code is used to help sync customers between applications.


    Type Name Description
    string customer_code Code 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.getByCode', array($customer_code));
    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.