cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP API - Cannot retrieve additional attribute from customer.info, customerCustomerInfo

SOAP API - Cannot retrieve additional attribute from customer.info, customerCustomerInfo

Hi,

 

We just added a customer field named "is_subscribed."  I am trying to grab this field when I call the customer.info endpoint.  I've tried SOAP API v1 and v2, I've tried switching around the array, renaming, basically anything and everything and I'm not having much luck. Any advice would be appreciated!

 

I've tried the following and every variation I can think of:

 

v1: 

$result = $clientV1->call($sessionIdV1, 'customer.info', $customerId, 'additional_attributes'=>'is_subscribed'));

 

v2: 

$isSub = new stdClass();
$isSub->additional_attributes = array('is_subscribed');
$result = $client->customerCustomerInfo($sessionId, $customerId, $isSub);