Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceQueries

Products

QUERYproducts(input: ProductListInput): ProductsWithPagination

Arguments

input?

Returns

  1. 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    }  }}
Example Response
{  "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      }    }  }}