# Projects and labels

## Projects and project groups

A project group is a set of projects with the same name, one marketplace project per marketplace. Every project endpoint takes a marketplace project's `project_id` from `GET /v0/projects`, never a group.

## Working with projects

Use `POST /v0/projects` to create a project and `DELETE /v0/projects/{projectId}` to delete one. Use `POST` and `DELETE` on `/v0/projects/{projectId}/asins` and `/v0/projects/{projectId}/keywords` to add and remove the project's ASINs and keywords.

| Task | Endpoint | Notes |
| --- | --- | --- |
| List projects | `GET /v0/projects` | Paginated. |
| Create a project | `POST /v0/projects` | Creates an empty marketplace project. The same name in another marketplace joins the existing group. |
| Rename or relabel a project | `PATCH /v0/projects/{projectId}` | Only the fields you send change. |
| Delete a project | `DELETE /v0/projects/{projectId}` | The project must be empty, otherwise `409 project_not_empty`. Other marketplaces in the group are kept. |
| Add ASINs | `POST /v0/projects/{projectId}/asins` | 1 to 25 ASINs per request. |
| Remove ASINs | `DELETE /v0/projects/{projectId}/asins` | |
| Add keywords | `POST /v0/projects/{projectId}/keywords` | 1 to 500 keywords per request. |
| Remove keywords | `DELETE /v0/projects/{projectId}/keywords` | |

Adding ASINs or keywords can return `409` when the batch would exceed a plan limit. In that case nothing from the batch is added.

## Working with labels

`/v0/project-labels` and `/v0/item-labels` let you list, create, update and delete reusable labels. Project labels categorise projects. Item labels are shared by ASINs and keywords. Creating a label does not assign it; deleting a label removes its existing assignments.

To assign labels:

- Projects: send `label_ids` with `POST /v0/projects` or `PATCH /v0/projects/{projectId}`. The list replaces the labels on every marketplace project in the group, so send the full set you want; `[]` clears them and omitting the field keeps them.
- ASINs and keywords: send `label_ids` when adding them, or replace the labels on existing items with `PATCH /v0/projects/{projectId}/asins` and `PATCH /v0/projects/{projectId}/keywords`.

Label names must be unique within a catalog, ignoring case. A duplicate returns `409 label_already_exists`. Every label create, update and delete shares one limit of 10 requests per 60 seconds per account, across both catalogs and all API keys.

## Project notes

Notes annotate an event for one ASIN in one marketplace project and are shared with the app. List and create them with `GET /v0/projects/{project_id}/notes` and `POST /v0/projects/{project_id}/notes`, and read, edit or delete one with `/v0/projects/{project_id}/notes/{note_id}`.

See the [Project management](/api/project-management), [Project ASINs](/api/project-asins), [Project keywords](/api/project-keywords), [Project labels](/api/project-labels), [Item labels](/api/item-labels) and [Project notes](/api/project-notes) reference sections for request bodies, responses and every error code.
