This mutation has been deprecated and should not be used. Instead, use the marketplace-specific mutations
requestAmazonProductByURL
and requestShopifyProductByURL
.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.Example - request
GraphQL
Example - response
Response
Errors
Invalid URL
If the marketplace is set toAMAZON
and provided URL is not a valid Amazon product URL then invalid amazon url
error is returned
JSON
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)
- The URL points to a valid product page, but the Shopify store has custom configuration that makes it so the product metadata can’t be found in the expected way
JSON