MarkCustomerAsActive
Description
This method is used to mark a customer as active.
Syntax
CustomerResponse MarkCustomerAsActive(SecurityToken securityToken, string customerInternalId)
Arguments
Type | Name | Description |
---|---|---|
SecurityToken | securityToken | Merchant security token. |
string | customerInternalId | Customer Internal Id of the customer to mark as active. |
Return Value
Type | Description |
---|---|
CustomerResponse | Returns the result of the request. |
Example
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebiz="http://eBizCharge.ServiceModel.SOAP">
<soapenv:Header/>
<soapenv:Body>
<ebiz:MarkCustomerAsActive>
<ebiz:securityToken>
<ebiz:SecurityId>********-0be8-4bf0-91cd-************</ebiz:SecurityId>
<ebiz:UserId>*******</ebiz:UserId>
<ebiz:Password>*******</ebiz:Password>
</ebiz:securityToken>
<ebiz:customerInternalId>c514934b-c983-4e61-833c-************</ebiz:customerInternalId>
</ebiz:MarkCustomerAsActive>
</soapenv:Body>
</soapenv:Envelope>
Response:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MarkCustomerAsActiveResponse xmlns="http://eBizCharge.ServiceModel.SOAP">
<MarkCustomerAsActiveResult>
<CustomerId>15</CustomerId>
<CustomerInternalId>c514934b-c983-4e61-833c-************</CustomerInternalId>
<Status>Success</Status>
<StatusCode>1</StatusCode>
<Error/>
<ErrorCode>0</ErrorCode>
</MarkCustomerAsActiveResult>
</MarkCustomerAsActiveResponse>
</s:Body>
</s:Envelope>
Updated 8 days ago