---
title: "POST /api/v4/customers/{customer_id}/transactions"
method: POST
path: "/api/v4/customers/{customer_id}/transactions"
---

# POST /api/v4/customers/{customer_id}/transactions

`POST /api/v4/customers/{customer_id}/transactions`

Create transactions for a customer.

## Path parameters

- `customer_id` integer, required

## Query parameters

- `accrue_bonus` boolean

## Request body

- CustomerTransactionCreate[]
  - `request_id` string
  - `price` integer, required
  - `comment` string
  - `created_at` integer
  - `created_by` integer

## Response `200`

The request has succeeded.

- union
  - CustomerTransactionCreateResponse
    - `_links` object
    - `_embedded` object
      - `transactions` CustomerTransactionCreateResult[]
        - `id` integer
        - `request_id` string
        - `_links` object
  - 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)
