---
title: "PATCH /api/v4/customers/mode"
method: PATCH
path: "/api/v4/customers/mode"
---

# PATCH /api/v4/customers/mode

`PATCH /api/v4/customers/mode`

Enable or switch customers mode.

## Request body

- CustomerModeRequest
  - `mode` 'segments' | 'periodicity', required
  - `is_enabled` boolean, required

## Response `200`

The request has succeeded.

- union
  - CustomerModeResponse
    - `mode` 'segments' | 'periodicity'
    - `is_enabled` boolean
  - Problem
    - `title` string
    - `status` integer
    - `detail` string
    - `type` string

---

[API](https://skmtc.net/hexlet/apis/amocrm-api.md) · [All operations](https://skmtc.net/hexlet/apis/amocrm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexlet/amocrm-api/versions/800f4ed7083b/schema)
