dash.reviews
Product review methods.
Updated
On this page
dash.reviews
Reviews are accessed through the dash.products module.
Get Product Reviews
const { reviews, stats } = await dash.products.getReviews("blue-dream", { limit: 10 })
Product review methods.
Updated
Reviews are accessed through the dash.products module.
const { reviews, stats } = await dash.products.getReviews("blue-dream", { limit: 10 })
const { reviews, avg_rating, total } = await dash.products.getAllReviews({
sort: "newest", rating: 5, has_media: true,
})
await dash.products.submitReview("blue-dream", {
rating: 5, author_name: "John", title: "Amazing", body: "Best product!",
})
See Reviews for full details.