Storefront GraphQL APIReferenceQueries
Products
QUERY
products(input: ProductListInput): ProductsWithPaginationArguments
input?Returns
- products
nodes?meta?Example Request
query Products { products { nodes { _id title handle status type gallery { fileAssetId provider key external alt } thumbnail { fileAssetId provider key external alt } shortDescription longDescription price } meta { totalCount currentPage hasNextPage totalPages } }}{ "data": { "products": { "nodes": [ { "_id": "1", "title": "string", "handle": "string", "status": "PUBLISHED", "type": "PHYSICAL", "gallery": [ { "fileAssetId": "1", "provider": "CLOUDINARY", "key": "string", "external": "string", "alt": "string" } ], "thumbnail": { "fileAssetId": "1", "provider": "CLOUDINARY", "key": "string", "external": "string", "alt": "string" }, "shortDescription": "string", "longDescription": "string", "price": 10.5 } ], "meta": { "totalCount": 10.5, "currentPage": 10.5, "hasNextPage": true, "totalPages": 10.5 } } }}