productsByVendorV2

This query is useful for paging through a set of products from a vendor from Amazon or Shopify. As the number of products may be significantly large, it's recommended to paginate through the results.

Arguments

input : ProductsByVendorInput!

An object containing the vendor's name.


pagination : OffsetPaginationInput!

An object containing pagination parameters.


Returns

Product.*: Product

Any requested field from an object which implements the Product interface.


Examples

query DemoShopifyProductByVendor {
  productsByVendorV2(
    input: { vendor: "Allbirds" }
    pagination: { limit: 5, offset: 0 }
  ) {
    id
  }
}
{
  "data": {
    "productsByVendorV2": [
      {
        "id": "4870548979792"
      },
      {
        "id": "4766291624016"
      },
      {
        "id": "4868995154000"
      },
      {
        "id": "4373801730192"
      },
      {
        "id": "6585497059408"
      }
    ]
  }
}