Product reviews, replies, review groups, product groups and the Google Shopping feed.
Every review belongs to a review group, which sets its moderation rule, review form and eligibility rules. Only approved reviews appear on your storefront, and Toki refreshes the affected product pages in Shopify shortly after a review, reply, photo or product group changes. Queries work on any plan; mutations need a plan that includes Reviews.
reviewsLists reviews from all your stores, newest first, in every status.reviewReturns a review, or null if it doesn't exist or was deleted.reviewDetailsReturns a review with all its photos and videos, including hidden ones, and its replies.reviewPendingCountsByGroupCounts the reviews waiting for moderation (pending) in each review group, in the current store.memberOrderReviewInsightsReturns, for each order you pass, the member's reviews of its products and whether memberOrderReviewLinkCreate can create a review link for it.reviewProductSummariesLists the AI-written review summaries of your products, most recently updated first.reviewPreviousImportsLists your CSV imports of reviews from other platforms, newest first, with row counts that show their progress.reviewUpdateUpdates a review; fields you leave out keep their values, content replaces the whole content, and productId and userId are ignored.reviewUpdateStatusSets a review's status: pending, approved or rejected.reviewBulkUpdateStatusSets the same status on several reviews, with the same effects as reviewUpdateStatus for each one.reviewDeleteDeletes a review.reviewAddReplyAdds a public reply to a review, shown with the review on your storefront.reviewDeleteReplyDeletes a reply from a review.reviewMediaUpdateVisibilityShows or hides one of a review's photos or videos on your storefront; hidden ones stay visible in Toki.memberOrderReviewLinkCreateCreates a review link for one product from a member's order that they can still review.reviewGoogleProductReviewsStatusReturns the setup of your Google Shopping product reviews feed: which review groups are exported, and each store's feed URL and readiness checks.reviewGoogleProductReviewsGenerateTokenCreates a feed token for one of your stores, which gives it a feed URL to add in Google Merchant Center.reviewGoogleProductReviewsRegenerateTokenReplaces a store's feed token with a new one, or creates its first.reviewGoogleProductReviewsUpdateReviewGroupsTurns the Google feed export on or off for the review groups you list; others don't change.reviewGroupsLists your review groups, ordered by orderNumber and then oldest first.reviewGroupReturns a review group, or null if it doesn't exist.reviewGroupCreateCreates a review group.reviewGroupUpdateUpdates a review group; fields you leave out keep their values, but settings replaces all of the group's settings.reviewGroupDeleteDeletes a review group.reviewProductGroupsLists the product groups of the current store, ordered by orderNumber and then oldest first.reviewProductGroupReturns a product group of the current store, or null if it doesn't exist or was deleted.reviewProductGroupCreateCreates a product group in the current store, so its products share their reviews on your storefront.reviewProductGroupUpdateUpdates a product group and refreshes the reviews on the affected product pages.reviewProductGroupDeleteDeletes a product group: its products stop sharing reviews, and Toki refreshes the reviews on their product pages.Lists reviews from all your stores, newest first, in every status. Filter by review group, product, status, rating or member, and use sortKey to sort by rating or to put reviews with media or verified purchases first.
reverseBooleanReverse the sort order.
reviewGroupIdIDOnly reviews in this review group.
productIds[String!]Only reviews of these products, by numeric Shopify product ID. An empty list matches no reviews.
searchStringText to look for in the review's headline, text, pros and cons, custom question answers, product ID, order ID and external review ID, and in the reviewer's name and email. Several plain words match reviews that contain any of them. Searches shorter than 3 characters are ignored.
questionFilters[TokiReviewQuestionFiltersInput!]Only reviews with these custom question answers; a review must match every filter. Each filter names a form, a question and an answer option by the IDs used in content.forms. At most 30.
withMediaBooleantrue returns only reviews with at least one photo or video, including hidden ones. false doesn't filter.
withDeletedBooleanInclude deleted reviews. Defaults to false.
shopIdIDOnly items whose shopId equals this value.
productIdStringOnly items whose productId equals this value.
ratingFloatOnly items whose rating equals this value. null matches items without one.
userIdIDOnly items whose userId equals this value. null matches items without one.
statusStringOnly items whose status equals this value.
sortKeyTokiReviewSortKeyThe field to sort by.
CREATED_ATOLDESTRATINGLOWEST_RATINGWITH_MEDIAVERIFIED_PURCHASEA page of TokiReview in nodes, with pageInfo for the next page. Each item:
A product review by a member, collected by Toki or imported from another platform.
reviewIdID!createdAtString!When the review was submitted. Imported reviews keep the date from the import file, if it has one.
updatedAtString!deletedAtStringWhen the review was deleted. Deleted reviews are only listed with withDeleted: true.
shopIdID!The store the review belongs to.
merchantIdID!Your merchant ID, shown under Settings in the Toki app.
productIdString!The reviewed product's numeric Shopify product ID.
productVariantIdStringThe numeric Shopify ID of the reviewed variant, when known.
ratingFloatStar rating from 1 to 5; null when the review has none.
contentTokiReviewContent!The content of the review: headline, review text, pros and cons, the reviewer's country and answers to custom questions.
reviewGroupIdID!The review group the review belongs to.
authorTokiReviewAuthor!The reviewer's name, and whether they posted anonymously.
userIdIDThe member who wrote the review; null when the review isn't linked to a member.
userTokiReviewUserThe member who wrote the review, with their email and name.
orderIdStringThe order the review is linked to, which marks it as a verified purchase. Imported reviews keep the order ID or number from the import file.
statusString!pending, approved or rejected. Only approved reviews appear on your storefront.
sourceStringWhere the review came from: reviews:toki for reviews collected by Toki, or reviews:yotpo, reviews:judgeme, reviews:stamped or reviews:klaviyo for imported ones.
externalReviewIdStringFor imported reviews, the review's ID on the platform it came from.
collectionMethodTokiReviewCollectionMethodWhere a review was submitted. Toki sets storefront_widget for the reviews widget on your product pages, review_page for the page a review link opens, and import for imported reviews.
storefront_widgetwalletreview_pagemerchant_portalimportmetadataTokiJSONExtra data stored with the review. For imported reviews, import holds details from the import file, such as the platform and the product name.
productTitleStringThe product's title in your store; null when Toki can't find the product.
productImageUrlStringURL of the product's image; null when unknown.
incentiveTokiReviewIncentiveThe reward the member earned for writing this review, if any. In incentiveType, points are loyalty_points, discounts and free shipping are coupon, and free gifts are free_product.
votesSummaryTokiReviewVotesSummary!How members voted on whether a review is helpful. Each member has one vote per review.
viewerVoteTokiReviewViewerVoteThe requester's own vote on this review, so usually null for API requests.
upvotedownvoterepliesCountInt!Number of replies, not counting deleted ones.
media[TokiReviewMediaSummary!]!Photos and videos attached to the review, in display order, including ones hidden from the storefront.
Returns a review, or null if it doesn't exist or was deleted.
reviewIdID!RequiredA product review by a member, collected by Toki or imported from another platform.
reviewIdID!createdAtString!When the review was submitted. Imported reviews keep the date from the import file, if it has one.
updatedAtString!deletedAtStringWhen the review was deleted. Deleted reviews are only listed with withDeleted: true.
shopIdID!The store the review belongs to.
merchantIdID!Your merchant ID, shown under Settings in the Toki app.
productIdString!The reviewed product's numeric Shopify product ID.
productVariantIdStringThe numeric Shopify ID of the reviewed variant, when known.
ratingFloatStar rating from 1 to 5; null when the review has none.
contentTokiReviewContent!The content of the review: headline, review text, pros and cons, the reviewer's country and answers to custom questions.
reviewGroupIdID!The review group the review belongs to.
authorTokiReviewAuthor!The reviewer's name, and whether they posted anonymously.
userIdIDThe member who wrote the review; null when the review isn't linked to a member.
userTokiReviewUserThe member who wrote the review, with their email and name.
orderIdStringThe order the review is linked to, which marks it as a verified purchase. Imported reviews keep the order ID or number from the import file.
statusString!pending, approved or rejected. Only approved reviews appear on your storefront.
sourceStringWhere the review came from: reviews:toki for reviews collected by Toki, or reviews:yotpo, reviews:judgeme, reviews:stamped or reviews:klaviyo for imported ones.
externalReviewIdStringFor imported reviews, the review's ID on the platform it came from.
collectionMethodTokiReviewCollectionMethodWhere a review was submitted. Toki sets storefront_widget for the reviews widget on your product pages, review_page for the page a review link opens, and import for imported reviews.
storefront_widgetwalletreview_pagemerchant_portalimportmetadataTokiJSONExtra data stored with the review. For imported reviews, import holds details from the import file, such as the platform and the product name.
productTitleStringThe product's title in your store; null when Toki can't find the product.
productImageUrlStringURL of the product's image; null when unknown.
incentiveTokiReviewIncentiveThe reward the member earned for writing this review, if any. In incentiveType, points are loyalty_points, discounts and free shipping are coupon, and free gifts are free_product.
votesSummaryTokiReviewVotesSummary!How members voted on whether a review is helpful. Each member has one vote per review.
viewerVoteTokiReviewViewerVoteThe requester's own vote on this review, so usually null for API requests.
upvotedownvoterepliesCountInt!Number of replies, not counting deleted ones.
media[TokiReviewMediaSummary!]!Photos and videos attached to the review, in display order, including ones hidden from the storefront.
Returns a review with all its photos and videos, including hidden ones, and its replies. Pass a media item's reviewMediaId to reviewMediaUpdateVisibility to show or hide it. Returns an error if the review doesn't exist or was deleted.
reviewIdID!RequiredA review with all its photos and videos, including hidden ones, and its replies, oldest first.
reviewTokiReviewResult!A review as returned by reviewDetails and the review mutations. Unlike TokiReview, its media lists only the photos and videos shown on your storefront.
media[TokiReviewMedia!]!All of the review's photos and videos, including hidden ones, in display order.
replies[TokiReviewReply!]!The review's replies, oldest first. Deleted replies are left out.
Counts the reviews waiting for moderation (pending) in each review group, in the current store. Groups without any are left out.
The number of pending reviews in one review group.
reviewGroupIdID!countFloat!How many of the group's reviews are pending.
Returns, for each order you pass, the member's reviews of its products and whether memberOrderReviewLinkCreate can create a review link for it. Orders that don't belong to the member are left out; the rest keep the order of orderIds.
userIdString!RequiredThe member whose orders to check.
orderIds[String!]!RequiredIDs of the member's orders, as in TokiOrder.id. From 1 to 50.
One of the member's orders, with their reviews of its products.
orderIdString!The order, as in TokiOrder.id.
reviews[TokiMemberOrderReviewInsightsPayloadReviews!]!The member's reviews of products in this order, newest first, in any status and review group.
canCreateReviewLinkBoolean!Whether memberOrderReviewLinkCreate can create a link for this order: it isn't cancelled and has a product the member can still review.
Lists the AI-written review summaries of your products, most recently updated first. Toki writes and refreshes them for products in review groups with product summaries turned on.
reverseBooleanReverse the sort order.
searchStringText to find in the product ID or the summary, ignoring case.
A page of TokiProductReviewSummary in nodes, with pageInfo for the next page. Each item:
An AI-written summary of what customers say about a product, built from its approved reviews.
productReviewSummaryIdID!createdAtString!updatedAtString!deletedAtStringAlways null: deleted summaries aren't listed.
merchantIdID!Your merchant ID, shown under Settings in the Toki app.
shopIdID!The store the product is in.
productIdString!The numeric Shopify product ID.
summaryString!The summary, one paragraph. Empty when Toki skipped the product because it no longer exists in Shopify.
lastSummarizedAtString!When the summary was last written or refreshed.
lastReviewCreatedAtString!When the newest review counted in reviewCount was submitted.
reviewCountInt!How many approved reviews the product had in review groups with summaries turned on when the summary was written, including rating-only reviews and reviews pooled through a product group.
summarizedReviewsCountInt!How many reviews with text were used to write the summary, at most 50.
modelString!The AI model that wrote the summary.
metadataTokiJSON!Details of the run that wrote the summary, such as the product title it used. skipReason explains an empty summary.
Lists your CSV imports of reviews from other platforms, newest first, with row counts that show their progress.
reverseBooleanReverse the sort order.
idIDOnly items whose id equals this value.
A page of TokiReviewImport in nodes, with pageInfo for the next page. Each item:
A CSV import of reviews from another platform into a review group.
idID!errorStringThe latest import error; null when no error has been recorded.
failures[TokiReviewImportFailures!]Recorded row failures; null when none have been stored. Older imports can have failed rows without stored details.
createdAtString!When the file was uploaded.
platformString!The platform the file came from: yotpo, judgeme, stamped or klaviyo.
statusString!queued, processing while rows are being imported, or completed once every row is imported, skipped or failed.
reviewGroupIdID!The review group the reviews go into.
reviewGroupNameStringName of the review group the reviews go into.
totalRowsInt!Rows in the file.
queuedRowsInt!Rows that passed validation and were queued for import.
processedRowsInt!Queued rows imported so far, each creating or updating a review.
failedRowsInt!Rows that failed validation or failed to import.
skippedRowsInt!Rows skipped without an error, such as Judge.me rows without a product ID.
createdRowsInt!Rows that created a new review. processedRows minus createdRows is the number of existing reviews updated.
Updates a review; fields you leave out keep their values, content replaces the whole content, and productId and userId are ignored. Changing status to approved triggers review activities and rewards as with reviewUpdateStatus; editing an already approved review does not trigger them again. Requires a plan that includes Reviews.
reviewIdString!RequiredratingFloatcontentTokiReviewUpdateContentInputReplaces the review's whole content. Fields you leave out are cleared, including forms.
productIdStringproductVariantIdStringuserIdStringorderIdStringstatusStringA review as returned by reviewDetails and the review mutations. Unlike TokiReview, its media lists only the photos and videos shown on your storefront.
reviewIdString!createdAtString!When the review was submitted. Imported reviews keep the date from the import file, if it has one.
updatedAtString!deletedAtStringWhen the review was deleted. Only reviewDelete returns deleted reviews.
shopIdString!The store the review belongs to.
merchantIdString!productIdString!The reviewed product's numeric Shopify product ID.
productVariantIdStringThe numeric Shopify ID of the reviewed variant, when known.
ratingFloatStar rating from 1 to 5; null when the review has none.
contentTokiReviewContent!The content of the review: headline, review text, pros and cons, the reviewer's country and answers to custom questions.
reviewGroupIdString!The review group the review belongs to.
authorTokiReviewAuthor!The reviewer's name, and whether they posted anonymously.
userIdStringThe member who wrote the review; null when the review isn't linked to a member.
userTokiReviewUserWho wrote a review or a reply: the member who wrote the review, or whoever the reply is credited to.
orderIdStringThe order the review is linked to, which marks it as a verified purchase. Imported reviews keep the order ID or number from the import file.
statusString!pending, approved or rejected. Only approved reviews appear on your storefront.
sourceStringWhere the review came from: reviews:toki for reviews collected by Toki, or reviews:yotpo, reviews:judgeme, reviews:stamped or reviews:klaviyo for imported ones.
externalReviewIdStringFor imported reviews, the review's ID on the platform it came from.
collectionMethodTokiReviewCollectionMethodWhere a review was submitted. Toki sets storefront_widget for the reviews widget on your product pages, review_page for the page a review link opens, and import for imported reviews.
storefront_widgetwalletreview_pagemerchant_portalimportmetadataTokiJSONExtra data stored with the review. For imported reviews, import holds details from the import file.
incentiveTokiJSONThe reward the member earned for this review, as { incentiveType, rewardType }; null if none.
votesSummaryTokiReviewVotesSummary!How members voted on whether a review is helpful. Each member has one vote per review.
viewerVoteTokiReviewViewerVoteThe requester's own vote on this review, so usually null for API requests.
upvotedownvoterepliesCountFloatNumber of replies, not counting deleted ones.
media[TokiReviewResultMedia!]The photos and videos shown on your storefront, in display order.
productTitleStringAlways null in this type; TokiReview.productTitle has the product's title.
productImageUrlStringAlways null in this type; TokiReview.productImageUrl has the product's image.
Sets a review's status: pending, approved or rejected. When a member's review becomes approved, Toki completes your Reviews activities for them, which can earn them a reward; a change to approved or rejected also sends a Toki Review Approved or Toki Review Rejected event to your connected integrations. Requires a plan that includes Reviews.
reviewIdString!RequiredstatusString!RequiredA review as returned by reviewDetails and the review mutations. Unlike TokiReview, its media lists only the photos and videos shown on your storefront.
reviewIdString!createdAtString!When the review was submitted. Imported reviews keep the date from the import file, if it has one.
updatedAtString!deletedAtStringWhen the review was deleted. Only reviewDelete returns deleted reviews.
shopIdString!The store the review belongs to.
merchantIdString!productIdString!The reviewed product's numeric Shopify product ID.
productVariantIdStringThe numeric Shopify ID of the reviewed variant, when known.
ratingFloatStar rating from 1 to 5; null when the review has none.
contentTokiReviewContent!The content of the review: headline, review text, pros and cons, the reviewer's country and answers to custom questions.
reviewGroupIdString!The review group the review belongs to.
authorTokiReviewAuthor!The reviewer's name, and whether they posted anonymously.
userIdStringThe member who wrote the review; null when the review isn't linked to a member.
userTokiReviewUserWho wrote a review or a reply: the member who wrote the review, or whoever the reply is credited to.
orderIdStringThe order the review is linked to, which marks it as a verified purchase. Imported reviews keep the order ID or number from the import file.
statusString!pending, approved or rejected. Only approved reviews appear on your storefront.
sourceStringWhere the review came from: reviews:toki for reviews collected by Toki, or reviews:yotpo, reviews:judgeme, reviews:stamped or reviews:klaviyo for imported ones.
externalReviewIdStringFor imported reviews, the review's ID on the platform it came from.
collectionMethodTokiReviewCollectionMethodWhere a review was submitted. Toki sets storefront_widget for the reviews widget on your product pages, review_page for the page a review link opens, and import for imported reviews.
storefront_widgetwalletreview_pagemerchant_portalimportmetadataTokiJSONExtra data stored with the review. For imported reviews, import holds details from the import file.
incentiveTokiJSONThe reward the member earned for this review, as { incentiveType, rewardType }; null if none.
votesSummaryTokiReviewVotesSummary!How members voted on whether a review is helpful. Each member has one vote per review.
viewerVoteTokiReviewViewerVoteThe requester's own vote on this review, so usually null for API requests.
upvotedownvoterepliesCountFloatNumber of replies, not counting deleted ones.
media[TokiReviewResultMedia!]The photos and videos shown on your storefront, in display order.
productTitleStringAlways null in this type; TokiReview.productTitle has the product's title.
productImageUrlStringAlways null in this type; TokiReview.productImageUrl has the product's image.
Sets the same status on several reviews, with the same effects as reviewUpdateStatus for each one. Deleted reviews and IDs that aren't yours are skipped. Requires a plan that includes Reviews.
reviewIds[String!]!RequiredstatusString!RequiredThe result of a bulk status change.
updatedCountFloat!How many reviews were updated. Deleted reviews and IDs that aren't yours don't count.
Deletes a review. It disappears from your storefront and from reviews unless you pass withDeleted: true; rewards the member already earned for it are kept. Requires a plan that includes Reviews.
reviewIdID!RequiredA review as returned by reviewDetails and the review mutations. Unlike TokiReview, its media lists only the photos and videos shown on your storefront.
reviewIdString!createdAtString!When the review was submitted. Imported reviews keep the date from the import file, if it has one.
updatedAtString!deletedAtStringWhen the review was deleted. Only reviewDelete returns deleted reviews.
shopIdString!The store the review belongs to.
merchantIdString!productIdString!The reviewed product's numeric Shopify product ID.
productVariantIdStringThe numeric Shopify ID of the reviewed variant, when known.
ratingFloatStar rating from 1 to 5; null when the review has none.
contentTokiReviewContent!The content of the review: headline, review text, pros and cons, the reviewer's country and answers to custom questions.
reviewGroupIdString!The review group the review belongs to.
authorTokiReviewAuthor!The reviewer's name, and whether they posted anonymously.
userIdStringThe member who wrote the review; null when the review isn't linked to a member.
userTokiReviewUserWho wrote a review or a reply: the member who wrote the review, or whoever the reply is credited to.
orderIdStringThe order the review is linked to, which marks it as a verified purchase. Imported reviews keep the order ID or number from the import file.
statusString!pending, approved or rejected. Only approved reviews appear on your storefront.
sourceStringWhere the review came from: reviews:toki for reviews collected by Toki, or reviews:yotpo, reviews:judgeme, reviews:stamped or reviews:klaviyo for imported ones.
externalReviewIdStringFor imported reviews, the review's ID on the platform it came from.
collectionMethodTokiReviewCollectionMethodWhere a review was submitted. Toki sets storefront_widget for the reviews widget on your product pages, review_page for the page a review link opens, and import for imported reviews.
storefront_widgetwalletreview_pagemerchant_portalimportmetadataTokiJSONExtra data stored with the review. For imported reviews, import holds details from the import file.
incentiveTokiJSONThe reward the member earned for this review, as { incentiveType, rewardType }; null if none.
votesSummaryTokiReviewVotesSummary!How members voted on whether a review is helpful. Each member has one vote per review.
viewerVoteTokiReviewViewerVoteThe requester's own vote on this review, so usually null for API requests.
upvotedownvoterepliesCountFloatNumber of replies, not counting deleted ones.
media[TokiReviewResultMedia!]The photos and videos shown on your storefront, in display order.
productTitleStringAlways null in this type; TokiReview.productTitle has the product's title.
productImageUrlStringAlways null in this type; TokiReview.productImageUrl has the product's image.
Adds a public reply to a review, shown with the review on your storefront. Toki doesn't notify the member, and the reply is credited to you unless you pass a userId belonging to a customer or team member of your merchant. Requires a plan that includes Reviews.
reviewIdString!RequiredcontentTokiReviewReplyContentInput!RequiredThe content of a reply.
userIdStringAuthor's user ID. Must belong to a customer or team member of your merchant. Omit or pass null to use the current user.
A reply to a review. Your storefront shows it under the review, signed with the reply author name from the review group's settings, or Brand representative.
reviewReplyIdString!Pass it to reviewDeleteReply to delete the reply.
createdAtString!updatedAtString!deletedAtStringWhen the reply was deleted. Only reviewDeleteReply returns deleted replies.
reviewIdString!contentTokiReviewReplyContent!The content of a reply.
userIdStringWho the reply is credited to: whoever added it, or the userId given to reviewAddReply; null for imported replies. Shoppers don't see it.
userTokiReviewUserWho wrote a review or a reply: the member who wrote the review, or whoever the reply is credited to.
Deletes a reply from a review. Returns null if it was already deleted. Requires a plan that includes Reviews.
reviewIdString!RequiredreviewReplyIdString!RequiredA reply to a review. Your storefront shows it under the review, signed with the reply author name from the review group's settings, or Brand representative.
reviewReplyIdString!Pass it to reviewDeleteReply to delete the reply.
createdAtString!updatedAtString!deletedAtStringWhen the reply was deleted. Only reviewDeleteReply returns deleted replies.
reviewIdString!contentTokiReviewReplyContent!The content of a reply.
userIdStringWho the reply is credited to: whoever added it, or the userId given to reviewAddReply; null for imported replies. Shoppers don't see it.
userTokiReviewUserWho wrote a review or a reply: the member who wrote the review, or whoever the reply is credited to.
Shows or hides one of a review's photos or videos on your storefront; hidden ones stay visible in Toki. Take the reviewMediaId from reviewDetails. Requires a plan that includes Reviews.
reviewIdString!RequiredreviewMediaIdString!RequiredstorefrontVisibleBoolean!Requiredtrue when the change was made. Anything that stops it comes back as an error.
Creates a review link for one product from a member's order that they can still review. The link opens a review page hosted by Toki, signs the member in and works for 30 days; Toki doesn't send it, so share it with that member only. Requires a plan that includes Reviews.
userIdString!RequiredThe member the link is for.
orderIdString!RequiredOne of the member's orders, as in TokiOrder.id.
A review link and the product and review group it's for.
urlString!The link to the review page.
productIdString!The product the link asks the member to review.
productTitleString!The product's name on the order, or its ID if the order has no name for it.
reviewGroupIdID!The review group the review will go into.
Returns the setup of your Google Shopping product reviews feed: which review groups are exported, and each store's feed URL and readiness checks.
The setup of your Google Shopping product reviews feed.
minimumReviewCountFloat!The minimum number of eligible reviews per store, used for hasMinimumEligibleReviews.
reviewGroups[TokiReviewGoogleProductReviewsStatusReviewGroups!]!All your review groups.
shops[TokiReviewGoogleProductReviewsStatusShops!]!One entry per store.
Creates a feed token for one of your stores, which gives it a feed URL to add in Google Merchant Center. Does nothing if the store already has a token. Requires a plan that includes Reviews.
shopIdString!RequiredThe setup of your Google Shopping product reviews feed.
minimumReviewCountFloat!The minimum number of eligible reviews per store, used for hasMinimumEligibleReviews.
reviewGroups[TokiReviewGoogleProductReviewsStatusReviewGroups!]!All your review groups.
shops[TokiReviewGoogleProductReviewsStatusShops!]!One entry per store.
Replaces a store's feed token with a new one, or creates its first. The old feed URL stops working right away, so update it in Google Merchant Center. Requires a plan that includes Reviews.
shopIdString!RequiredThe setup of your Google Shopping product reviews feed.
minimumReviewCountFloat!The minimum number of eligible reviews per store, used for hasMinimumEligibleReviews.
reviewGroups[TokiReviewGoogleProductReviewsStatusReviewGroups!]!All your review groups.
shops[TokiReviewGoogleProductReviewsStatusShops!]!One entry per store.
Turns the Google feed export on or off for the review groups you list; others don't change. You can only turn it on for groups whose review form asks for a star rating (allowRating). Requires a plan that includes Reviews.
reviewGroups[TokiGoogleProductReviewsReviewGroupInput!]!RequiredThe setup of your Google Shopping product reviews feed.
minimumReviewCountFloat!The minimum number of eligible reviews per store, used for hasMinimumEligibleReviews.
reviewGroups[TokiReviewGoogleProductReviewsStatusReviewGroups!]!All your review groups.
shops[TokiReviewGoogleProductReviewsStatusShops!]!One entry per store.
Lists your review groups, ordered by orderNumber and then oldest first. Deleted groups are left out unless you pass withDeleted: true.
reverseBooleanReverse the sort order.
ids[String!]Restrict results to these group IDs. An empty list returns none.
searchStringCase-insensitive group name search.
withDeletedBooleanInclude deleted groups. Defaults to false.
A page of TokiReviewGroup in nodes, with pageInfo for the next page. Each item:
A set of reviews with its own rules: moderation, the review form, eligibility and how it shows on your storefront. Every review belongs to one group.
reviewGroupIdID!merchantIdID!Your merchant ID, shown under Settings in the Toki app.
createdAtString!updatedAtString!deletedAtStringWhen the group was deleted. Deleted groups are only listed with withDeleted: true.
nameString!settingsTokiJSON!The group's settings as JSON, with the keys described under reviewGroupCreate. Missing keys use their defaults.
orderNumberIntSort position among your review groups, lowest first. Groups without one come last.
reviewsTokiReviewConnection!Reviews in this group, newest first.
productGroupsTokiReviewProductGroupConnection!This group's product groups in the current store.
Returns a review group, or null if it doesn't exist. Deleted groups are returned too, with deletedAt set.
reviewGroupIdString!RequiredA set of reviews with its own rules: moderation, the review form, eligibility and how it shows on your storefront. Every review belongs to one group.
reviewGroupIdID!merchantIdID!Your merchant ID, shown under Settings in the Toki app.
createdAtString!updatedAtString!deletedAtStringWhen the group was deleted. Deleted groups are only listed with withDeleted: true.
nameString!settingsTokiJSON!The group's settings as JSON, with the keys described under reviewGroupCreate. Missing keys use their defaults.
orderNumberIntSort position among your review groups, lowest first. Groups without one come last.
reviewsTokiReviewConnection!Reviews in this group, newest first.
productGroupsTokiReviewProductGroupConnection!This group's product groups in the current store.
Creates a review group. Toki then pushes your review groups to the reviews widget in your Shopify stores. Requires a plan that includes Reviews.
nameString!RequiredThe group's name. When your storefront shows more than one group, the reviews widget uses it as a tab label.
settingsTokiJSON!RequiredThe group's settings as a JSON object; every key is optional. storefrontVisible (default true) shows the group on your storefront. moderation is { "type": "manual" } (the default) or { "type": "rating", "minRating": 4 } to approve reviews rated minRating (1 to 5) or higher when they're submitted. storefront holds the review form, widget text and custom questions, and needs allowRating, allowProsCons, allowMedia and mediaMaxCount. eligibility limits which products can be reviewed and which segments can't review, and productSummary and googleProductReviews are { "enabled": false } by default.
orderNumberIntSort position among your review groups, lowest first. Groups without one come last.
A set of reviews with its own rules: moderation, the review form, eligibility and how it shows on your storefront. Every review belongs to one group.
reviewGroupIdID!merchantIdID!Your merchant ID, shown under Settings in the Toki app.
createdAtString!updatedAtString!deletedAtStringWhen the group was deleted. Deleted groups are only listed with withDeleted: true.
nameString!settingsTokiJSON!The group's settings as JSON, with the keys described under reviewGroupCreate. Missing keys use their defaults.
orderNumberIntSort position among your review groups, lowest first. Groups without one come last.
reviewsTokiReviewConnection!Reviews in this group, newest first.
productGroupsTokiReviewProductGroupConnection!This group's product groups in the current store.
Updates a review group; fields you leave out keep their values, but settings replaces all of the group's settings. Toki then pushes the change to the reviews widget in your Shopify stores. Requires a plan that includes Reviews.
reviewGroupIdString!RequirednameStringsettingsTokiJSONReplaces all of the group's settings, so send the complete object (its keys are described under reviewGroupCreate). Leave it out to keep the current settings.
orderNumberIntSort position among your review groups, lowest first. null removes it, and groups without one come last.
A set of reviews with its own rules: moderation, the review form, eligibility and how it shows on your storefront. Every review belongs to one group.
reviewGroupIdID!merchantIdID!Your merchant ID, shown under Settings in the Toki app.
createdAtString!updatedAtString!deletedAtStringWhen the group was deleted. Deleted groups are only listed with withDeleted: true.
nameString!settingsTokiJSON!The group's settings as JSON, with the keys described under reviewGroupCreate. Missing keys use their defaults.
orderNumberIntSort position among your review groups, lowest first. Groups without one come last.
reviewsTokiReviewConnection!Reviews in this group, newest first.
productGroupsTokiReviewProductGroupConnection!This group's product groups in the current store.
Deletes a review group. Its reviews stay in Toki, and Toki removes the group from the reviews widget in your Shopify stores. Requires a plan that includes Reviews.
reviewGroupIdString!RequiredA set of reviews with its own rules: moderation, the review form, eligibility and how it shows on your storefront. Every review belongs to one group.
reviewGroupIdID!merchantIdID!Your merchant ID, shown under Settings in the Toki app.
createdAtString!updatedAtString!deletedAtStringWhen the group was deleted. Deleted groups are only listed with withDeleted: true.
nameString!settingsTokiJSON!The group's settings as JSON, with the keys described under reviewGroupCreate. Missing keys use their defaults.
orderNumberIntSort position among your review groups, lowest first. Groups without one come last.
reviewsTokiReviewConnection!Reviews in this group, newest first.
productGroupsTokiReviewProductGroupConnection!This group's product groups in the current store.
Lists the product groups of the current store, ordered by orderNumber and then oldest first. Deleted ones are left out unless you pass withDeleted: true.
reverseBooleanReverse the sort order.
reviewGroupIdStringOnly product groups of this review group.
withDeletedBooleanInclude deleted product groups. Defaults to false.
A page of TokiReviewProductGroup in nodes, with pageInfo for the next page. Each item:
Products that share their reviews: on your storefront, each of them shows the reviews, review count and rating of the whole group.
reviewProductGroupIdID!reviewGroupIdID!The review group the product group belongs to.
merchantIdID!Your merchant ID, shown under Settings in the Toki app.
shopIdID!The store the product group belongs to. Each store has its own product groups.
nameString!orderNumberIntSort position among your product groups, lowest first. Groups without one come last.
createdAtString!updatedAtString!deletedAtStringWhen the product group was deleted. Deleted ones are only listed with withDeleted: true.
productTags[String!]!Shopify product tags, in alphabetical order. Every product with one of these tags belongs to the group; tags match exactly, including case.
productCountInt!How many products belong to the group: the ones added by hand plus every product carrying one of the productTags, each counted once.
products[TokiReviewProductGroupProduct!]!Products added by hand, by orderNumber. Products that belong through productTags aren't listed.
Returns a product group of the current store, or null if it doesn't exist or was deleted.
reviewProductGroupIdString!RequiredProducts that share their reviews: on your storefront, each of them shows the reviews, review count and rating of the whole group.
reviewProductGroupIdID!reviewGroupIdID!The review group the product group belongs to.
merchantIdID!Your merchant ID, shown under Settings in the Toki app.
shopIdID!The store the product group belongs to. Each store has its own product groups.
nameString!orderNumberIntSort position among your product groups, lowest first. Groups without one come last.
createdAtString!updatedAtString!deletedAtStringWhen the product group was deleted. Deleted ones are only listed with withDeleted: true.
productTags[String!]!Shopify product tags, in alphabetical order. Every product with one of these tags belongs to the group; tags match exactly, including case.
productCountInt!How many products belong to the group: the ones added by hand plus every product carrying one of the productTags, each counted once.
products[TokiReviewProductGroupProduct!]!Products added by hand, by orderNumber. Products that belong through productTags aren't listed.
Creates a product group in the current store, so its products share their reviews on your storefront. Pass at least two products or one product tag; Toki then refreshes the reviews on the affected product pages. Requires a plan that includes Reviews.
reviewGroupIdString!RequiredThe review group whose reviews the products share.
nameString!RequiredThe product group's name. Shoppers don't see it.
orderNumberIntSort position among your product groups, lowest first. Groups without one come last.
products[TokiReviewProductGroupProductInput!]!RequiredProducts to add by hand.
productTags[String!]Shopify product tags. Every product with one of these tags belongs to the group; tags match exactly, including case. Defaults to none.
Products that share their reviews: on your storefront, each of them shows the reviews, review count and rating of the whole group.
reviewProductGroupIdID!reviewGroupIdID!The review group the product group belongs to.
merchantIdID!Your merchant ID, shown under Settings in the Toki app.
shopIdID!The store the product group belongs to. Each store has its own product groups.
nameString!orderNumberIntSort position among your product groups, lowest first. Groups without one come last.
createdAtString!updatedAtString!deletedAtStringWhen the product group was deleted. Deleted ones are only listed with withDeleted: true.
productTags[String!]!Shopify product tags, in alphabetical order. Every product with one of these tags belongs to the group; tags match exactly, including case.
productCountInt!How many products belong to the group: the ones added by hand plus every product carrying one of the productTags, each counted once.
products[TokiReviewProductGroupProduct!]!Products added by hand, by orderNumber. Products that belong through productTags aren't listed.
Updates a product group and refreshes the reviews on the affected product pages. Fields you leave out keep their values; products and productTags replace the whole list, and the group must keep at least two products or one tag. Requires a plan that includes Reviews.
reviewProductGroupIdString!RequirednameStringorderNumberIntSort position among your product groups, lowest first. null removes it.
products[TokiReviewProductGroupProductInput!]Replaces all the products added by hand.
productTags[String!]Replaces all the product tags.
Products that share their reviews: on your storefront, each of them shows the reviews, review count and rating of the whole group.
reviewProductGroupIdID!reviewGroupIdID!The review group the product group belongs to.
merchantIdID!Your merchant ID, shown under Settings in the Toki app.
shopIdID!The store the product group belongs to. Each store has its own product groups.
nameString!orderNumberIntSort position among your product groups, lowest first. Groups without one come last.
createdAtString!updatedAtString!deletedAtStringWhen the product group was deleted. Deleted ones are only listed with withDeleted: true.
productTags[String!]!Shopify product tags, in alphabetical order. Every product with one of these tags belongs to the group; tags match exactly, including case.
productCountInt!How many products belong to the group: the ones added by hand plus every product carrying one of the productTags, each counted once.
products[TokiReviewProductGroupProduct!]!Products added by hand, by orderNumber. Products that belong through productTags aren't listed.
Deletes a product group: its products stop sharing reviews, and Toki refreshes the reviews on their product pages. Requires a plan that includes Reviews.
reviewProductGroupIdString!RequiredProducts that share their reviews: on your storefront, each of them shows the reviews, review count and rating of the whole group.
reviewProductGroupIdID!reviewGroupIdID!The review group the product group belongs to.
merchantIdID!Your merchant ID, shown under Settings in the Toki app.
shopIdID!The store the product group belongs to. Each store has its own product groups.
nameString!orderNumberIntSort position among your product groups, lowest first. Groups without one come last.
createdAtString!updatedAtString!deletedAtStringWhen the product group was deleted. Deleted ones are only listed with withDeleted: true.
productTags[String!]!Shopify product tags, in alphabetical order. Every product with one of these tags belongs to the group; tags match exactly, including case.
productCountInt!How many products belong to the group: the ones added by hand plus every product carrying one of the productTags, each counted once.
products[TokiReviewProductGroupProduct!]!Products added by hand, by orderNumber. Products that belong through productTags aren't listed.