requestAmazonProductByURL and requestShopifyProductByURL.path RequestProductResponse.productIDRequestProductResponseproductID is the unique identifier for the requested product, which can be used in subsequent queries to fetch product information.12345678910mutation RequestProductByURL { requestProductByURL( input: { url: "https://www.berkeyfilters.com/products/big-berkey" marketplace: SHOPIFY } ) { productID } }
1234567{ "data": { "requestProductByURL": { "productID": "2863034826852" } } }
AMAZON and provided URL is not a valid Amazon product URL then invalid amazon url error is returned1234567891011{ "errors": [ { "message": "invalid amazon url", "path": [ "requestProductByURL" ] } ], "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": [ "requestProductByURL" ], "extensions": { "code": "PRODUCT_NOT_FOUND_ERROR" } } ], "data": null }