Loading...

Knowledge Base

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.

Unsuspend Customer Account

Description

Unsuspends a suspended customer account. 

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
customer-idIntegerRequiredCustomer ID of the customer account which you want to unsuspend.
reasonStringOptionalReason 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.