Reviews
Product reviews from Loom Reviews, in stores that have it installed (other stores answer 403). Published reviews show on the storefront and count towards the product's stars; pending, hidden and spam ones don't. Customers' words are plain text. Reviews created here have the source api.
Endpoints#
- GET
/reviews.jsonList reviews - GET
/reviews/count.jsonCount reviews - GET
/reviews/{id}.jsonGet a review - POST
/reviews.jsonCreate a review - PUT
/reviews/{id}.jsonUpdate a review - DELETE
/reviews/{id}.jsonDelete a review
Paths are relative to https://store.weftgrid.com/api/admin/2026-10. The examples read the token from $STORELOOM_TOKEN and ids from variables like $ORDER_ID.
The review object#
What the endpoints below return for one review, and the payload of the reviews/created, reviews/published webhooks.
{
"id": "cm3rev0001",
"product_id": "cm2prod0001",
"rating": 5,
"title": "Soft and true to size",
"body": "The lawn is soft and the print looks just like the photos.",
"author_name": "Fatima M.",
"author_email": "[email protected]",
"author_phone": null,
"photos": [
"https://dhaaga.storeloom.example/uploads/cm2store01/9f2c4a.jpg"
],
"status": "published",
"verified": true,
"source": "request",
"reply": "Thank you, Fatima!",
"replied_at": "2026-10-28T09:12:00.000Z",
"helpful_count": 4,
"reported_count": 0,
"order_id": "cm3order001",
"customer_id": "cm3cust001",
"locale": "ur",
"external_id": null,
"published_at": "2026-10-27T18:40:00.000Z",
"created_at": "2026-10-27T18:40:00.000Z",
"updated_at": "2026-10-28T09:12:00.000Z"
}List reviews#
/reviews.jsonread_reviewsThe store's reviews, with the filters below. author_email and author_phone are null unless the app also has the read_customers scope.
| Parameter | Description |
|---|---|
limit | Results per page, 1–250 (default 50). |
page_info | Cursor from the Link header for the next or previous page. |
since_id | Only reviews after this id. |
ids | Comma-separated ids. |
product_id | Reviews of this product. |
status | pending, published, hidden or spam. |
rating | Reviews with this many stars (1–5). |
verified | true: only verified buyers' reviews; false: only the others. |
created_at_min / created_at_max, updated_at_min / updated_at_max | ISO 8601 bounds. |
fields | Comma-separated fields to return. |
curl "https://store.weftgrid.com/api/admin/2026-10/reviews.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN"Example responseShowHide
{ "reviews": [ … ] }Count reviews#
/reviews/count.jsonread_reviews| Parameter | Description |
|---|---|
product_id, status, rating, verified, created_at_*, updated_at_* | Same filters as the list. |
curl "https://store.weftgrid.com/api/admin/2026-10/reviews/count.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN"Example responseShowHide
{ "count": 23 }Get a review#
/reviews/{id}.jsonread_reviewsauthor_email and author_phone are null unless the app also has the read_customers scope.
curl "https://store.weftgrid.com/api/admin/2026-10/reviews/$REVIEW_ID.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN"Example responseShowHide
{
"review": {
"id": "cm3rev0001",
"product_id": "cm2prod0001",
"rating": 5,
"title": "Soft and true to size",
"body": "The lawn is soft and the print looks just like the photos.",
"author_name": "Fatima M.",
"author_email": "[email protected]",
"author_phone": null,
"photos": ["https://dhaaga.storeloom.example/uploads/cm2store01/9f2c4a.jpg"],
"status": "published",
"verified": true,
"source": "request",
"reply": "Thank you, Fatima!",
"replied_at": "2026-10-28T09:12:00.000Z",
"helpful_count": 4,
"reported_count": 0,
"order_id": "cm3order001",
"customer_id": "cm3cust001",
"locale": "ur",
"external_id": null,
"published_at": "2026-10-27T18:40:00.000Z",
"created_at": "2026-10-27T18:40:00.000Z",
"updated_at": "2026-10-28T09:12:00.000Z"
}
}Create a review#
/reviews.jsonwrite_reviewsAdds a review (source api). product_id, rating (1–5), author_name and a body or title are required. status is published, pending or hidden; without it the store's own rule decides, as for reviews written on the storefront. With order_id, the review is a verified buyer's when that order has the product. photos are https image links (up to 5), shown as they are.
{ "review": { "product_id": "cm2prod0001", "rating": 5, "title": "Lovely colours", "body": "Bought it for Eid, everyone asked where it was from.", "author_name": "Sana T.", "author_email": "[email protected]", "order_id": "cm3order004" } }curl -X POST "https://store.weftgrid.com/api/admin/2026-10/reviews.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "review": { "product_id": "cm2prod0001", "rating": 5, "title": "Lovely colours", "body": "Bought it for Eid, everyone asked where it was from.", "author_name": "Sana T.", "author_email": "[email protected]", "order_id": "cm3order004" } }'Example responseShowHide
{
"review": {
"id": "cm3rev0001",
"product_id": "cm2prod0001",
"rating": 5,
"title": "Soft and true to size",
"body": "The lawn is soft and the print looks just like the photos.",
"author_name": "Fatima M.",
"author_email": "[email protected]",
"author_phone": null,
"photos": ["https://dhaaga.storeloom.example/uploads/cm2store01/9f2c4a.jpg"],
"status": "published",
"verified": true,
"source": "request",
"reply": "Thank you, Fatima!",
"replied_at": "2026-10-28T09:12:00.000Z",
"helpful_count": 4,
"reported_count": 0,
"order_id": "cm3order001",
"customer_id": "cm3cust001",
"locale": "ur",
"external_id": null,
"published_at": "2026-10-27T18:40:00.000Z",
"created_at": "2026-10-27T18:40:00.000Z",
"updated_at": "2026-10-28T09:12:00.000Z"
}
}Update a review#
/reviews/{id}.jsonwrite_reviewsChanges a review's status (published, pending, hidden or spam) and the store's public reply (null or "" removes it). The customer's own words aren't changed through the API.
{ "review": { "status": "published", "reply": "Thank you, Sana! Eid Mubarak." } }curl -X PUT "https://store.weftgrid.com/api/admin/2026-10/reviews/$REVIEW_ID.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "review": { "status": "published", "reply": "Thank you, Sana! Eid Mubarak." } }'Example responseShowHide
{
"review": {
"id": "cm3rev0001",
"product_id": "cm2prod0001",
"rating": 5,
"title": "Soft and true to size",
"body": "The lawn is soft and the print looks just like the photos.",
"author_name": "Fatima M.",
"author_email": "[email protected]",
"author_phone": null,
"photos": ["https://dhaaga.storeloom.example/uploads/cm2store01/9f2c4a.jpg"],
"status": "published",
"verified": true,
"source": "request",
"reply": "Thank you, Fatima!",
"replied_at": "2026-10-28T09:12:00.000Z",
"helpful_count": 4,
"reported_count": 0,
"order_id": "cm3order001",
"customer_id": "cm3cust001",
"locale": "ur",
"external_id": null,
"published_at": "2026-10-27T18:40:00.000Z",
"created_at": "2026-10-27T18:40:00.000Z",
"updated_at": "2026-10-28T09:12:00.000Z"
}
}Delete a review#
/reviews/{id}.jsonwrite_reviewsDeletes the review for good, with the photos the customer uploaded.
curl -X DELETE "https://store.weftgrid.com/api/admin/2026-10/reviews/$REVIEW_ID.json" \
-H "X-Storeloom-Access-Token: $STORELOOM_TOKEN"Example responseShowHide
204 No Content