I'm using the CIM XML interface.
I called createCustomerProfileRequest with the following and it worked fine.
<?xml version='1.0' encoding='utf-8'?><createCustomerProfileRequest xmlns='AnetApi/xml/v1/schema/AnetApiSchema.xsd'><merchantAuthentication><name>6aPcZWV848</name><transactionKey>6h8Dfx82zJ6R48SN</transactionKey></merchantAuthentication><profile> <merchantCustomerId>12345</merchantCustomerId> <description>Bill Wood</description> <email>bob@pinnaclep.com</email> <paymentProfiles><payment> <creditCard> <cardNumber>5443426150046283</cardNumber> <expirationDate>2013-09</expirationDate> </creditCard></payment> </paymentProfiles></profile><validationMode>testMode</validationMode></createCustomerProfileRequest>
BUT, when I called updateCustomerProfileRequest with the following and it failed.
<?xml version='1.0' encoding='utf-8'?><updateCustomerProfileRequest xmlns='AnetApi/xml/v1/schema/AnetApiSchema.xsd'><merchantAuthentication><name>6aPcZWV848</name><transactionKey>6h8Dfx82zJ6R48SN</transactionKey></merchantAuthentication><profile> <customerProfileId>28539399</customerProfileId> <merchantCustomerId>12345</merchantCustomerId> <description>Bob Wood1</description> <email>bob@pinnaclep.com</email></profile></updateCustomerProfileRequest>
ERROR Code: E00003ERROR Message:
The element 'profile' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'merchantCustomerId' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'