Query multiple products with filtering, sorting, and pagination.
query GetProducts { products( take: 20 skip: 0 orderBy: { createdAt: desc } where: { status: { equals: "published" } } ) { id title handle subtitle status isGiftcard thumbnail productType { id name } productCollection { id title } productCategory { id name } productTags { id value } createdAt updatedAt }}
query GetProduct { product(where: { handle: "vintage-tee" }) { id title handle subtitle description status isGiftcard thumbnail discountable productImages { id imagePath image { url } sortOrder } productVariants { id title sku barcode inventoryQuantity allowBackorder manageInventory moneyAmounts { id amount currency { code } region { id name } } productOptions { id value option { id name } } measurements { id type value unit } } productOptions { id name values { id value } } productType { id name } productCollection { id title handle } productCategory { id name handle } productTags { id value } }}