Inventory__seed Dataset For Theme
Returns the demo dataset suggested for a given theme slug (e.g. when activating a theme), or null if that theme has no suggested dataset. Requires a signed-in staff user. Needs the `inventory__Product` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
inventory__seedDatasetForTheme(themeSlug: String!): SeedDatasetSummaryReturns the demo dataset suggested for a given theme slug (e.g. when activating a theme), or null if that theme has no suggested dataset. Requires a signed-in staff user. Needs the inventory__Product read permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
themeSlug*String!Returns
- inventory__seedDatasetForTheme
collectionCount*Int!description*String!id*String!includesImages*Boolean!includesVariants*Boolean!name*String!productCount*Int!query Inventory__seedDatasetForTheme($themeSlug: String!) { inventory__seedDatasetForTheme(themeSlug: $themeSlug) { collectionCount description id includesImages includesVariants name productCount }}{ "themeSlug": "string"}{ "data": { "inventory__seedDatasetForTheme": { "collectionCount": 10, "description": "string", "id": "string", "includesImages": true, "includesVariants": true, "name": "string", "productCount": 10 } }}Inventory__products QUERY
Requires a signed-in staff user. Needs the `inventory__Product` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Inventory__seed Datasets QUERY
Lists curated demo datasets that can be applied to the current store. Requires a signed-in staff user. Needs the `inventory__Product` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).