UpdateCustomerMembershipRequest
Updates the Customer record at the Membership level with the supplied data for the given Membership Identifier.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| Person | MembershipIdentifier | Required | |
| CustomerMembershipData | CustomerUpdateMembershipData | Required |
Exceptions
| Exception | Severity | Code | Condition |
|---|---|---|---|
| ArgumentMissing | Critical | 10010001 | A required request input has not been specified. |
| IdentifierDoesNotExist | Critical | 10010002 | The specified membership interaction identifier does not exist. |
| MultipleRecordsFound | Critical | 10010004 | Multiple records found for the identifier. |
| LanguageIsoCodeIsInvalid | Critical | 10070001 | The specified lanuguage ISO code is not valid. |
Examples
The following is an XML example of the UpdateCustomerMembershipRequest sent to the Customers.Update method.
<soapenv:Envelope xmlns:ns="http://schemas.gallup.com/oms/2010/10/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
<ns:Update xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ns:request i:type="a:UpdateCustomerMembershipRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Customer">
<a:Person i:type="b:MembershipIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:MembershipId>1234</b:MembershipId>
</a:Person>
<a:CustomerMembershipData i:nil="true" xmlns:b="http://schemas.gallup.com/oms/2010/10/Models" />
</ns:request>
</ns:Update>
</soapenv:Body>
</soapenv:Envelope>