Inventory__product
Only product that the user has access to will be returned. 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__product(where: CommonFindDocumentDto!): Product!Only product that the user has access to will be returned. 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
where*Returns
- inventory__product
_id*ID!allowBackorder?BooleanbuyingPrice?Floatcollections?commits?comparingPrice?FloatcreatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
downloadableFiles?gallery?handle?StringinformationSections?isDemo?BooleanisInStock?BooleanlongDescription?StringlowStockThreshold?Floatprice?FloatshortDescription?Stringstatus?ProductStatusProduct status
DRAFTPUBLISHEDtechnicalSpecs?tenant?Stringthumbnail?title*String!trackInventory?Booleantype?ProductTypeProduct type
DOWNLOADABLEPHYSICALVIRTUALupdatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
variantConfigs?variants?vendors?query Inventory__product($where: CommonFindDocumentDto!) { inventory__product(where: $where) { _id allowBackorder buyingPrice collections { _id children { _id createdAt description isDemo level name parentCategory slug } commits { action committedAt note } createdAt description isDemo level name parentCategory slug } commits { action commitedBy { email name phoneNumber referenceId } committedAt note } comparingPrice createdAt handle isDemo isInStock }}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "inventory__product": { "_id": "1", "allowBackorder": true, "buyingPrice": 10.5, "collections": [ { "_id": "1", "children": [ { "_id": "1", "createdAt": "<DateTime>", "description": "string", "isDemo": true, "level": 10, "name": "string", "parentCategory": "1", "slug": "string" } ], "commits": [ { "action": "string", "committedAt": "<DateTime>", "note": "string" } ], "createdAt": "<DateTime>", "description": "string", "isDemo": true, "level": 10, "name": "string", "parentCategory": "1", "slug": "string" } ], "commits": [ { "action": "string", "commitedBy": { "email": "string", "name": "string", "phoneNumber": "string", "referenceId": "1" }, "committedAt": "<DateTime>", "note": "string" } ], "comparingPrice": 10.5, "createdAt": "<DateTime>", "handle": "string", "isDemo": true, "isInStock": true } }}Inventory__information Templates QUERY
Information templates for the current tenant. 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__product Review QUERY
Requires a signed-in staff user. Needs the `inventory__ProductReview` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).