API referenceTestimonials

Testimonials

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

The praise collected on a store.

Every testimonial on the authenticated store, with whatever star rating the shop owner has put on each. A null rating means it has not been scored: the words still show on the shop page and the average is untouched.

auth merchant:readop listStoreTestimonialsrate limitederrors

Parameters

store_idstring · uuidqueryrequired

Response, 200

testimonialsarray of objectrequired
7 child fields
idstringrequired
bodystringrequired
author_handlestring, nullablerequired
sourceenumrequired
instagramfacebookmessageother
said_onstring, nullablerequired
ratinginteger, nullablerequired
is_publishedbooleanrequired
curl -G "https://www.membber.com/api/v1/testimonials" \
  -H "Authorization: Bearer $MEMBBER_TOKEN" \
  --data-urlencode "store_id=6659c139-0000-4000-8000-d0c500000066"
Response, 200
{
  "testimonials": [
    {
      "id": "00000d1b-0000-4000-8000-d0c500000000",
      "body": "<body>",
      "author_handle": "<author_handle>",
      "source": "instagram",
      "said_on": "<said_on>",
      "rating": 1,
      "is_published": true
    }
  ]
}

Score one piece of praise, or clear its score.

The rating is the SHOP OWNER'S, applied to praise that was given without a number. A rated testimonial counts towards the star average on her shop page, weighted alongside verified purchase reviews. Passing null clears the score and returns the testimonial to showing its words only.

Request body

store_idstring · uuidrequired
testimonial_idstring · uuidrequired
ratinginteger, nullablerequired

Response, 200

testimonialobjectrequired
7 child fields
idstringrequired
bodystringrequired
author_handlestring, nullablerequired
sourceenumrequired
instagramfacebookmessageother
said_onstring, nullablerequired
ratinginteger, nullablerequired
is_publishedbooleanrequired
curl -X PATCH "https://www.membber.com/api/v1/testimonials" \
  -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",
    "testimonial_id": "302814bb-0000-4000-8000-d0c500000030",
    "rating": 1
  }'
Response, 200
{
  "testimonial": {
    "id": "00000d1b-0000-4000-8000-d0c500000000",
    "body": "<body>",
    "author_handle": "<author_handle>",
    "source": "instagram",
    "said_on": "<said_on>",
    "rating": 1,
    "is_published": true
  }
}
WhatsApp
Book a Call
Start Free