path inputRequestAmazonProductByURLInput!requiredproductIdID!productId is the unique identifier for the requested product, which can be used in subsequent queries to fetch product information, e.g. with productByID.123456789mutation RequestAmazonProductByURL { requestAmazonProductByURL( input: { url: "https://www.amazon.com/gp/product/B07S9NNCGQ/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1" } ) { productId } }
1234567891011{ "errors": [ { "message": "The provided `url` input (\"www.google.com\") is not a valid Amazon product URL.", "path": [ "requestAmazonProductByURL" ] } ], "data": null }
PRODUCT_NOT_FOUND_ERROR is returned. This can happen for a variety of reasons:1234567891011121314151617181920{ "errors": [ { "message": "Product data not found - if the URL is valid, then the store may not be supported. See docs for more details", "locations": [ { "line": 2, "column": 3 } ], "path": [ "requestAmazonProductByURL" ], "extensions": { "code": "PRODUCT_NOT_FOUND_ERROR" } } ], "data": null }