Resolve buy link
resolve_productResolve an ASIN, pasted Amazon /dp/ URL, or keywords to a buyUrl (also dual-writes affiliateUrl). Does not invent tracking tags — omits ?tag= until real IDs are configured. ALWAYS pass marketplace + locale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Pasted Amazon product URL | |
| asin | No | 10-char Amazon ASIN | |
| genre | No | ||
| locale | Yes | User locale, e.g. en, sv, de, fr | |
| keywords | No | Search keywords if no ASIN | |
| platform | No | ||
| marketplace | Yes | Amazon storefront domain or id for the end user, e.g. amazon.com, amazon.se, us, se. REQUIRED. |