Arguments
An object containing the product’s URL.
Returns
The
productId
is the unique identifier for the requested product, which can be used in subsequent queries to fetch product information, e.g. with productByID
.Example
Errors
Invalid URL
If the provided URL is not a valid Amazon product URL then the following error is returnedJSON
Product data not found
If the product data can’t be found, aPRODUCT_NOT_FOUND_ERROR
is returned. This can happen for a variety of reasons:
- The URL doesn’t point to a valid product page (for example, the provided URL returns a 404 status code)
JSON