---
title: "Add a note to a customer"
method: POST
path: "/customers/{customerId}/notes"
tags: ["Admin Customers"]
---

# Add a note to a customer

`POST /customers/{customerId}/notes`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/customers/{customerId}/notes`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/customers/:customerId/notes/post.ts> (a function with typed inputs; its response is checked against the schema)

Add a note to a customer

## Path parameters

- `customerId` integer, required

## Request body

- object
  - `note` string, required
  - `customer_notified` boolean

## Response `201`

Note added.

## Other responses

- `400`: Invalid input
- `422`: Empty note.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
