Project ASINs
prepare_remove_project_asins
Prepare ASIN attachment removal ยท Changes data
Prepare removal of up to 100 ASIN inputs from one marketplace project without changing attachments, primary state or usage.
Resolves exact attachments and retained-parent aliases, shows any primary repair or promotion and ranking-cache loss, and preserves notes and other projects. Show the complete plan and wait for explicit confirmation before execute_removal, including when no input resolves but primary repair is proposed.
Input
| Name | Type | Required | Description |
|---|---|---|---|
project_id | integer | Required | A marketplace project ID: list_projects data.projects[].marketplaces[].project_id, not a project group. Minimum 1. Maximum 2147483647. |
asins | string[] | Required | ASIN or retained parent inputs resolving to attachments in this marketplace project. At least 1 item. At most 100 items. |
Output
Read this object from the result's structuredContent. The result's content carries a text version for the model, which is not always the same JSON.
The result is one of 2 shapes.
Variant 1
Fields of data:
| Name | Type | Required | Description |
|---|---|---|---|
plan_reference | string | Required | Pattern ^[A-Za-z0-9_-]{43}$. |
operation | string | Required | |
expires_at | string (date-time) | Required | |
targets | object[] | Required | |
consequences | object[] | Required | |
instructions | string | Required |
Variant 2
Fields of data:
| Name | Type | Required |
|---|---|---|
operation | string | Required |
committed | true | Required |
recovered | boolean | Required |
outcome | object | Required |
Full input and output JSON Schema
Code