Create or update a listing
upsert_listingCreate or update an Amazon listing by providing product type, SKU, and attributes. Choose complete listing or product-only draft requirements.
Instructions
Creates or updates a listing via PUT. Provide productType, sku, and the full attributes object. Use requirements=LISTING for a complete/offer listing or LISTING_PRODUCT_ONLY for a product-only draft.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sku": "<sku>",
"productType": "<productType>",
"attributes": "<attributes>"
},
"name": "upsert_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | The seller SKU. | |
| attributes | Yes | The listing attributes object (SP-API schema for the product type). | |
| productType | Yes | Amazon product type, e.g. SHIRT. | |
| requirements | No |