Knowledge Base
Categories: Customer Account Management API
Unsuspend a Customer Account Using the API
When you want to restore access to a suspended customer account using the API. This article explains required parameters, optional unsuspension reasons, and response details for customer account reactivation.
Description
Unsuspends a suspended customer account.
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter |
| api-key | String | Required | Authentication Parameter |
| customer-id | Integer | Required | Customer ID of the customer account which you want to unsuspend. |
| reason | String | Optional | Reason for unsuspension of the account. This parameter is not mandatory. |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/customers/unsuspend.json?auth-userid=0&api-key=key&customer-id=0&reason=reason-for-unsuspension
Response
-
Returns true if the action is completed.
-
In case of any errors, a status key with value as ERROR along with an error message will be returned.
Did you find this article helpful?