Item labels
Reusable labels shared by ASINs and keywords in your account. Creating a label does not assign it to an ASIN or keyword. Deleting a label removes it from both wherever it is used.
List item labels
Returns your account's item labels, ordered by label_id ascending. Item labels are shared by ASINs and keywords.
Pagination
limitdefaults to200and accepts values from1to200.- Pass
data.page.next_cursoras thecursorquery parameter to request the next page. Stop whendata.page.has_moreisfalse. - Renaming or pinning a label does not change its position in the results.
Rate limit: 60 requests per 60 seconds. Each successful request costs 5 credits.
Example request:
Code
Example next-page request:
Code
query Parameters
limitMaximum number of labels returned per page. Defaults to 200; accepts 1 to 200.
cursorOpaque cursor returned by the previous page.
List item labels › Responses
Labels page.
Create an item label
Creates a reusable item label in your account. Creating a label does not assign it to any ASINs or keywords.
Name rules
- The API trims leading and trailing whitespace. The result must contain
1to25characters and must not contain NUL characters. - Capitalization and spaces within the name are preserved.
- Names must be unique within your account's selected label catalog, ignoring capitalization and surrounding whitespace. A duplicate returns
409 label_already_exists. - Project labels and item labels can use the same name.
Optional fields
color: One of the supported label colors. Defaults togray.pin: Controls pinned placement in the app's label list. Defaults tofalse.
A successful request returns 201 with the created label and its stable label_id. No query parameters are accepted.
Rate limit: 10 requests per 60 seconds per account, shared by all label creation, update, and deletion requests across both catalogs and all API keys. Each successful request costs 5 credits.
Example request:
Code
Create an item label › Request Body
label_nameThe API trims leading and trailing whitespace. The result must contain 1 to 25 characters and must not contain NUL characters. Capitalization and spaces within the name are preserved. Names are compared case-insensitively within your account's selected label catalog.
colorLabel color shown in the app. Defaults to gray.
pinWhether the label is pinned in the app's label list. Pinning does not change the API's label-ID ordering. Defaults to false.
Create an item label › Responses
Created label.
A reusable account label. Existing app-created labels may contain null fields or colors outside the values accepted for new writes. The default app color is returned as gray. Updating a label preserves fields you omit.
Update an item label
Updates an item label's name, color, or pinned status. Only supplied fields are changed.
Request rules
- Supply at least one of
label_name,color, orpin. No query parameters are accepted. - Omitted fields keep their current values. The label's ID and existing ASIN and keyword assignments are preserved.
- You can change the color or pinned status without resubmitting or changing an existing name.
Name rules
- The API trims leading and trailing whitespace. The result must contain
1to25characters and must not contain NUL characters. - Capitalization and spaces within the name are preserved.
- Names must be unique within your account's selected label catalog, ignoring capitalization and surrounding whitespace. A duplicate returns
409 label_already_exists. - Project labels and item labels can use the same name.
Results
A successful request returns 200 with the updated label. Invalid input or a duplicate name leaves the label unchanged. A label that is not found in your account's item label catalog returns 404 label_not_found.
Rate limit: 10 requests per 60 seconds per account, shared by all label creation, update, and deletion requests across both catalogs and all API keys. Each successful request costs 5 credits.
Example request:
Code
path Parameters
label_idID of the item label to update. Obtain it from the list or create response.
Update an item label › Request Body
label_nameThe API trims leading and trailing whitespace. The result must contain 1 to 25 characters and must not contain NUL characters. Capitalization and spaces within the name are preserved. Names are compared case-insensitively within your account's selected label catalog.
colorLabel color shown in the app. Omit to keep the current color.
pinWhether the label is pinned in the app's label list. Pinning does not change the API's label-ID ordering. Omit to keep the current pinned status.
Update an item label › Responses
Updated label.
A reusable account label. Existing app-created labels may contain null fields or colors outside the values accepted for new writes. The default app color is returned as gray. Updating a label preserves fields you omit.
Delete an item label
Deletes an item label and removes it from all ASINs and keywords that use it across your account's projects and marketplaces.
Request rules
Send the label ID in the URL. This endpoint does not accept query parameters or a request body.
Results and retries
- Returns
200withdata.deleted: truewhen the label and its assignments are removed. Projects, ASINs, keywords, and their tracking data are retained. - Returns
200withdata.deleted: falsewhen the label is not found in your account's item label catalog, including when it was already deleted. - Deleting the label and removing its assignments succeed together. A persistence failure does not leave a partial deletion.
Rate limit: 10 requests per 60 seconds per account, shared by all label creation, update, and deletion requests across both catalogs and all API keys. Each successful request costs 5 credits. This includes successful retries that return data.deleted: false.
Example request:
Code
path Parameters
label_idID of the item label to delete. Obtain it from the list or create response.
Delete an item label › Responses
Deletion outcome. Missing or inaccessible IDs succeed without changes.