---
title: "List notes"
method: GET
path: "/api/v1/notes"
tags: ["Notes"]
---

# List notes

`GET /api/v1/notes`

## Request

- Base URL: `https://app.sellerassistant.app` (the document declares no server; this is the origin it was published from)
- URL: `https://app.sellerassistant.app/api/v1/notes`
- Auth: one of:
  - API key in query parameter `api_key`
  - API key in header `X-Api-Key`

The call names what the notes hang on. The application keeps notes in two tables, and this endpoint reads both.

## Query parameters

- `target_type` 'asin' | 'supplier' | 'purchase_order' | 'warehouse' | 'price_list', required
- `target_id` string, required
- `page` integer
- `per_page` integer

## Response `200`

One page of the notes, newest first

- object
  - `data` Note[]
    - `id` integer: Notes on the public API v1. One resource over the two stores the application has. ApiNoteGateway reads `target_type` and sends the call to `entity_notes` or to `product_notes`.
    - `target_type` 'asin' | 'supplier' | 'purchase_order' | 'warehouse' | 'price_list'
    - `target_id` string: For the type `asin` the id is `<marketplace_id>/<asin>`.
    - `note` string
    - `user_id` integer, nullable: Who wrote the note.
    - `user_name` string, nullable: The name of that person. The list carries it, and a write answers without it.
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
  - `meta` object
    - `pagination` ApiV1Pagination: The page the answer carries. Every list of the v1 answers it under `meta`.
      - `page` integer: The schemas every endpoint of the public API v1 shares. The envelope is the same on every endpoint, so it lives here once. An endpoint points at it with a `$ref`, and the generated collection stays small and consistent. The parameters live in ApiV1Parameters, not here. swagger-php drops the class level `OA\Schema` attributes of a class that also carries a class level `OA\Parameter`, so the two kinds need two classes. This class holds no code. swagger-php reads the attributes, and nothing calls it.
      - `per_page` integer
      - `total` integer
      - `last_page` integer
    - `trial_limit` ApiV1TrialLimit: Present only on trial, when the trial hides rows of the list. The trial shows the first rows of a list, and the pagination counts only these rows.
      - `max_rows` integer: The number of rows that the trial shows.
      - `total` integer, nullable: The true number of rows in the list. It is null for a list that does not count its rows.
      - `code` string
      - `message` string
      - `subscribe_url` string, uri

## Other responses

- `400`: Bad request - validation failed or invalid parameters
- `403`: Access denied - insufficient permissions, invalid API key, or the API request limit is used up (`public_api_key_limit`)
- `404`: Resource not found
- `429`: Too many requests - rate limit exceeded

---

[API](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api.md) · [All operations](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api/revisions/5b3ecdbcadb6?raw)
