Amazon Promotion Get
每次成功搜索 32.5 积分
ae_amazon_promotion_get
按促销 ID 查询 Amazon 活动说明,可按需获取参与商品。
每次成功搜索 32.5 积分
价格说明
搜索成功扣 32.5 积分,搜索失败不收费。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
device | enum (desktop | tablet | mobile) | 否 | Parameter defines the device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser. | — |
language | enum (amazon.com.au|en_AU | amazon.com.be|nl_BE | amazon.com.be|fr_BE | amazon.com.be|en_GB | amazon.com.br|pt_BR | amazon.ca|en_CA | amazon.ca|fr_CA | amazon.eg|ar_AE | amazon.eg|en_AE | amazon.fr|fr_FR | amazon.fr|en_GB | amazon.de|de_DE | amazon.de|en_GB | amazon.de|cs_CZ | amazon.de|nl_NL | amazon.de|pl_PL | amazon.de|tr_TR | amazon.de|da_DK | amazon.in|en_IN | amazon.in|hi_IN | amazon.in|ta_IN | amazon.in|te_IN | amazon.in|kn_IN | amazon.in|ml_IN | amazon.in|bn_IN | amazon.in|mr_IN | amazon.it|it_IT | amazon.it|en_GB | amazon.co.jp|ja_JP | amazon.co.jp|en_US | amazon.co.jp|zh_CN | amazon.nl|nl_NL | amazon.nl|en_GB | amazon.pl|pl_PL | amazon.sa|ar_AE | amazon.sa|en_AE | amazon.sg|en_SG | amazon.es|es_ES | amazon.es|pt_PT | amazon.es|en_GB | amazon.se|sv_SE | amazon.se|en_GB | amazon.com.tr|tr_TR | amazon.ae|en_AE | amazon.ae|ar_AE | amazon.co.uk|en_GB | amazon.com|en_US | amazon.com|es_US | amazon.com.mx|es_MX) | 否 | Parameter defines the language to use for the Amazon search. It's a locale name represented as _. (e.g., on amazon.com `en_US` for English, `es_US` for Spanish, or on amazon.co.jp `ja_JP` for Japanese). Head to Amazon languages for a full list of supported Amazon languages. | — |
promotion_id | string | 是 | Parameter defines the Amazon promotion ID of the promotion page you want to retrieve. It's the ID in the promotion's `/promotion/psp/[PROMOTION ID]` page URL and `/promotion/details/popup/[PROMOTION ID]` terms URL (e.g., `A1C1U2DDI9B2GB`). | — |
amazon_domain | enum (amazon.com.au | amazon.com.be | amazon.com.br | amazon.ca | amazon.eg | amazon.fr | amazon.de | amazon.in | amazon.it | amazon.co.jp | amazon.nl | amazon.pl | amazon.sa | amazon.sg | amazon.es | amazon.se | amazon.com.tr | amazon.ae | amazon.co.uk | amazon.com | amazon.com.mx) | 否 | Parameter defines the Amazon domain to use. It defaults to `amazon.com`. Head to Amazon domains for a full list of supported Amazon domains. `amazon.cn` is not supported, as Amazon no longer serves promotion pages there. | — |
include_products | boolean | 否 | Set to `true` to retrieve items qualifying for the promotion (may result in a longer response time). Set to `false` (default) to only retrieve the promotion details. | — |
调用示例
参数模板根据参数配置生成,使用前请替换示例值。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_amazon_promotion_get' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"promotion_id": "xxx"
}
}'暂无返回示例。

