Inventory__product Review
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).
inventory__productReview(where: CommonFindDocumentDto!): AdminProductReviewRequires a signed-in staff user. Needs the inventory__ProductReview read permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where*Returns
- inventory__productReview
_id*ID!content?StringcreatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
customerEmail?StringcustomerId*ID!customerName?Stringimages?invoiceId?IDproductHandle?StringproductId*ID!productTitle?Stringrating*Int!status?ProductReviewStatusACTIVEHIDDENupdatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
query Inventory__productReview($where: CommonFindDocumentDto!) { inventory__productReview(where: $where) { _id content createdAt customerEmail customerId customerName images { alt external fileAssetId key provider } invoiceId productHandle }}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "inventory__productReview": { "_id": "1", "content": "string", "createdAt": "<DateTime>", "customerEmail": "string", "customerId": "1", "customerName": "string", "images": [ { "alt": "string", "external": "string", "fileAssetId": "1", "key": "string", "provider": "CLOUDINARY" } ], "invoiceId": "1", "productHandle": "string" } }}Inventory__product QUERY
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 Reviews 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).