---
updatedAt: 2026-04-21T08:57:45.000Z
agentTools:
  projectIndex: https://docs.mesh.complyadvantage.com/llms.txt
---

# Transition a customer's status

This endpoint allows you to change a customer's status.


You need the "Update customers" permission to use this endpoint.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "customer-manager_ProblemDetailErrorResponse": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "identifier": {
            "format": "uuid",
            "type": "string"
          },
          "instance": {
            "format": "uri",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "timestamp": {
            "format": "date-time",
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "format": "uri",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "identifier",
          "timestamp"
        ],
        "type": "object"
      },
      "customer-manager_TransitionCustomerStatusData": {
        "properties": {
          "status": {
            "enum": [
              "ACTIVE",
              "CLOSED",
              "PROCESSING"
            ],
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "customer-manager_TransitionCustomerStatusRequestBody": {
        "properties": {
          "note": {
            "type": "string"
          },
          "status": {
            "enum": [
              "ACTIVE",
              "CLOSED"
            ],
            "type": "string"
          }
        },
        "required": [
          "note",
          "status"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "description": "HTTP Bearer Token Authentication",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "Mesh API",
    "version": "v2.0"
  },
  "openapi": "3.0.3",
  "paths": {
    "/v2/customers/{customer_identifier}/transition": {
      "post": {
        "description": "This endpoint allows you to change a customer's status.\n\n\nYou need the \"Update customers\" permission to use this endpoint.",
        "operationId": "customerTransitionCustomerStatus",
        "parameters": [
          {
            "description": "The unique identifier we provided when you created the customer.",
            "example": "00000000-0000-0000-0000-000000000000",
            "in": "path",
            "name": "customer_identifier",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/customer-manager_TransitionCustomerStatusRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "Transition customer status OK.": {
                    "description": "Transition customer status OK.",
                    "value": {
                      "status": "CLOSED"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/customer-manager_TransitionCustomerStatusData"
                }
              }
            },
            "description": "Transition customer status OK."
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "Invalid customer status": {
                    "description": "Invalid customer status",
                    "value": {
                      "detail": "There were validation errors with your request",
                      "identifier": "018e1971-1c6f-761f-a510-43540727ff48",
                      "instance": "https://example/v2/customers/c16351c1-05d0-43c1-a4ce-02977f33464b/transition",
                      "properties": {
                        "errors": [
                          {
                            "field": "status",
                            "reasons": [
                              {
                                "key": "status",
                                "message": "Unrecognised customer type: `SOMETHING`",
                                "parameters": null
                              }
                            ],
                            "rejected": "SOMETHING"
                          }
                        ]
                      },
                      "status": 400,
                      "timestamp": "2024-03-07T15:03:47.055Z",
                      "title": "Invalid JSON Request",
                      "type": "about:blank"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/customer-manager_ProblemDetailErrorResponse"
                }
              }
            },
            "description": "Bad request."
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/customer-manager_ProblemDetailErrorResponse"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "Customer not found": {
                    "description": "Customer not found",
                    "value": {
                      "detail": "Customer for account e8843d69-e2c9-48bf-8241-a3a71c8a1dbf with identifier c16351c1-05d0-43c1-a4ce-02977f33464b not found",
                      "identifier": "018d3157-0ec8-73ba-a684-865e5e2ff1ed",
                      "instance": "https://example/v2/customers/c16351c1-05d0-43c1-a4ce-02977f33464b/transition",
                      "properties": {},
                      "status": 404,
                      "timestamp": "2024-01-22T13:23:25.512Z",
                      "title": "Customer not found",
                      "type": "about:blank"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/customer-manager_ProblemDetailErrorResponse"
                }
              }
            },
            "description": "Customer not found."
          }
        },
        "summary": "Transition a customer's status",
        "tags": [
          "Customers"
        ]
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "servers": [
    {
      "description": "ComplyAdvantage Mesh API",
      "url": "https://api.mesh.complyadvantage.com"
    }
  ],
  "tags": [
    {
      "name": "Customers"
    }
  ]
}
```