Promo codes for a product
codes_for_productLook up Amazon promo codes listed on wowpriced.com for one product. Send exactly one of: asin (the 10-character product id), url (a product link, read as text and never opened) or product (a few words). Returns the codes listed for that product, or for similar items when none is listed for it: the product type, the code when a public coupon site posted it (otherwise the wowpriced page has it), the end date when known, and a link to the wowpriced page. Amazon decides at checkout whether a code applies. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "codes_for_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A product link; only the product id and words in it are read. | |
| asin | No | The 10-character product id, for example "B0ABCDE123". | |
| product | No | A few words, for example "electric toothbrush". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| codes | Yes | ||
| count | Yes | ||
| match | Yes | same_product: listed for this product id; similar_items: matched by words. | |
| footer | No | ||
| live_total | Yes |