Queries
Arguments must be provided by the user.
Arguments preeceded by an exclamation mark (!) are not nullable.
Product​
| Field | Argument | Type | Description |
|---|---|---|---|
| product | StoreProduct! | Returns the details of a product based on the specified locator. | |
| locator | [IStoreSelectedFacet!]! | An array of selected search facets. | |
| allProducts | StoreProductConnection! | Returns information about all products. | |
| first | Int! | Product pagination argument, indicating how many items should be returned from the complete result list. | |
| after | String | Product pagination argument, indicating the cursor corresponding with the item after which the results should be fetched. | |
Collection​
| Field | Argument | Type | Description |
|---|---|---|---|
| collection | StoreCollection! | Returns the details of a collection based on the collection slug. | |
| slug | String! | Collection slug. | |
| allCollections | StoreCollectionConnection! | Returns information about all collections. | |
| first | Int! | Collection pagination argument, indicating how many items should be returned from the complete result list. | |
| after | String | Collection pagination argument, indicating the cursor corresponding with the item after which the items should be fetched. | |
Search​
| Field | Argument | Type | Description |
|---|---|---|---|
| search | StoreSearchResult! | Returns the result of a | |
| first | Int! | Search pagination argument, indicating how many results should be returned from the complete result list. | |
| after | String | Search pagination argument, indicating the cursor corresponding with the item after which the results should be fetched. | |
| sort | StoreSort | Search results sorting mode. | |
| term | String | Search term. | |