Reviews

2 operations. Every schema and example on this page is generated from the platform contract.

Everything anyone has said about a shop.

Purchase reviews and collected testimonials in one list, newest first, INCLUDING hidden and unscored ones, each marked with which it is and whether it is on the shop page. Also returns the rating the page is showing.

Parameters

store_idstring · uuidqueryrequired

Response, 200

reviewsarray of objectrequired
13 child fields
idstringrequired
kindenumrequired
purchasetestimonial
ratinginteger, nullablerequired
bodystring, nullablerequired
authorstring, nullablerequired
sourceenumrequired
instagramfacebookmessageother
said_atstring, nullablerequired
item_namesarray of stringrequired
is_visiblebooleanrequired
hidden_reasonstring, nullablerequired
merchant_replystring, nullablerequired
merchant_replied_atstring, nullablerequired
rating_is_editablebooleanrequired
visible_countintegerrequired
visible_averagenumber, nullablerequired
curl -G "https://www.membber.com/api/v1/reviews" \
  -H "Authorization: Bearer $MEMBBER_TOKEN" \
  --data-urlencode "store_id=6659c139-0000-4000-8000-d0c500000066"
Response, 200
{
  "reviews": [
    {
      "id": "00000d1b-0000-4000-8000-d0c500000000",
      "kind": "purchase",
      "rating": 1,
      "body": "<body>",
      "author": "<author>",
      "source": "instagram",
      "said_at": "<said_at>",
      "item_names": [
        "<item_name>"
      ],
      "is_visible": true,
      "hidden_reason": "Added at the front desk",
      "merchant_reply": "<merchant_reply>",
      "merchant_replied_at": "<merchant_replied_at>",
      "rating_is_editable": true
    }
  ],
  "visible_count": 1,
  "visible_average": 1
}

Score, show, hide or reply to one review.

Sets the stars on a collected testimonial (never on a purchase review, a customer's rating is theirs), shows or hides one on the shop page, and writes or clears the shop owner's public reply. Hiding a purchase review requires a reason, which is recorded against it.

Request body

store_idstring · uuidrequired
review_idstring · uuidrequired
kindenumrequired
purchasetestimonial
ratinginteger, nullableoptional
is_visiblebooleanoptional
hidden_reasonstring, nullableoptional
merchant_replystring, nullableoptional

Response, 200

reviewobjectrequired
13 child fields
idstringrequired
kindenumrequired
purchasetestimonial
ratinginteger, nullablerequired
bodystring, nullablerequired
authorstring, nullablerequired
sourceenumrequired
instagramfacebookmessageother
said_atstring, nullablerequired
item_namesarray of stringrequired
is_visiblebooleanrequired
hidden_reasonstring, nullablerequired
merchant_replystring, nullablerequired
merchant_replied_atstring, nullablerequired
rating_is_editablebooleanrequired
curl -X PATCH "https://www.membber.com/api/v1/reviews" \
  -H "Authorization: Bearer $MEMBBER_TOKEN" \
  -H "Idempotency-Key: 1f0e2d3c-4b5a-4678-9abc-def012345678" \
  -H "Content-Type: application/json" \
  -d '{
    "store_id": "6659c139-0000-4000-8000-d0c500000066",
    "review_id": "1d631b62-0000-4000-8000-d0c50000001d",
    "kind": "purchase"
  }'
Response, 200
{
  "review": {
    "id": "00000d1b-0000-4000-8000-d0c500000000",
    "kind": "purchase",
    "rating": 1,
    "body": "<body>",
    "author": "<author>",
    "source": "instagram",
    "said_at": "<said_at>",
    "item_names": [
      "<item_name>"
    ],
    "is_visible": true,
    "hidden_reason": "Added at the front desk",
    "merchant_reply": "<merchant_reply>",
    "merchant_replied_at": "<merchant_replied_at>",
    "rating_is_editable": true
  }
}
WhatsApp
Book a Call
Start Free