Update customer account status by customerId

Updates the account status for a customer identified by customerId.

Validation Rules:

  • The input object must not be null
  • AccountStatusId must be between 1 and 5 (inclusive)

Date Rules:

  • If both FromDate and ToDate are null, the status change is effective immediately
  • For Active, New , and Closed: FromDate is required and ToDate must be null
  • For Suspended and On Hold: FromDate is required, ToDate is optional
  • If ToDate is provided, FromDate must be earlier than ToDate (FromDate < ToDate)

Account Status Values:

  • 1 = Active, 2 = New, 3 = Suspended, 4 = On Hold, 5 = Closed
Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here!