productsByDomainV2
Returns an array of Products filtered by a given store domain. This query can be used for paging through a set of products from a domain from Shopify.
For example, if the store’s canonical URL is https://abc.myshopify.com, then the domain is abc.myshopify.com, all lowercased.
As the number of products may be significantly large, it’s recommended to paginate through the results.
AmazonProduct
and ShopifyProduct
returned by this query have similarities and differences that are compared in detail here
Arguments
An object containing the domain name of the store. The search is case-insensitive.
An object containing pagination parameters.
Set to false
by default. If set to true
, the query will return additional fields specific to the marketplace the product is from.
For example, if the product is from Amazon, the query will return fields specific to Amazon products.
Returns
Any requested field from an object which implements the Product
interface.
The query returns null if the product is not found in the inventory
Usage
Was this page helpful?