I am using CIM and need to be able to retrieve the email address I set for a customer profile. I can set it fine, but when I get the customer profile, it is not there, I just get the payment and shipping information. Using PHP.
Array ( [status] => success [payment] => SimpleXMLElement Object ( [customerType] => individual [billTo] => SimpleXMLElement Object ( [firstName] => Micheal [lastName] => Kelso [company] => Ashton Kulas [address] => 123 Main Street [city] => Point Place [state] => WI [zip] => 54720 [country] => US [phoneNumber] => 678-777-8888 ) [customerPaymentProfileId] => 22380887 [payment] => SimpleXMLElement Object ( [creditCard] => SimpleXMLElement Object ( [cardNumber] => XXXX1111 [expirationDate] => XXXX ) ) ) [address] => )
Solved! Go to Solution.
Not sure what you are asking. I create a profile, then call getCustomerProfile on the returned customer id. To check what is returned, I just use var_dump on the return object. There are no addresses under the addresses at the bottom because they are not needed for our purposes.