BizKitHub
DokumentacjaEksplorator APIReview/api/v1/shop/review/list
getReviewPubliczne API v1

/api/v1/shop/review/list

Visible reviews newest first plus a summary (average, count, star distribution) over all visible reviews in scope. Reviews hidden in the admin are never returned.

reviewgetApiV1ShopReviewList

Parametry

5 w query

Parametry query

· 5
apiKeystringWymagane

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

PrzykładPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
productSlugstringOpcjonalne

Slug of the product. Omit for a review of the shop itself.

Przykładset-start
scope"shop" | "products"Opcjonalne

Without productSlug: shop (default) = reviews of the shop, products = all product reviews.

pagestringOpcjonalne
Przykład1
limitstringOpcjonalne

1–100, default 20.

Przykład20

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
itemsobject[]Wymagane
Każdy element tablicy:
idstringWymagane

Public review id.

authorstringWymagane

Author name as entered by the customer.

initialsstringWymagane

One or two initials for an avatar.

ratingnumberWymagane

Stars, 1–5.

textstringOpcjonalne
datestringWymagane

ISO date of the review.

replystringOpcjonalne

Public reply of the shop.

replyDatestringOpcjonalne
localestringOpcjonalne

Language the review was written in, when known.

productSlugstringOpcjonalne

Reviewed product (only with scope=products).

isVerifiedPurchasebooleanWymagane

The review is tied to a real order of the author.

summaryobjectWymagane
averagenumber | nullWymagane

Average rating rounded to one decimal; null without reviews.

countnumberWymagane

Number of visible reviews.

distributionnumber[]Wymagane

Count per star: index 0 = 1 star … index 4 = 5 stars.

pagenumberWymagane
limitnumberWymagane

Przykład odpowiedzi

application/json
{
  "items": [
    {
      "id": "example_id",
      "author": "example_author",
      "initials": "example_initials",
      "rating": 0,
      "text": "example_text",
      "date": "example_date",
      "reply": "example_reply",
      "replyDate": "example_replyDate",
      "locale": "example_locale",
      "productSlug": "example_productSlug",
      "isVerifiedPurchase": false
    }
  ],
  "summary": {
    "count": 0,
    "distribution": [
      0
    ]
  },
  "page": 0,
  "limit": 0
}

Przykład żądania

GET /api/v1/shop/review/list

get
curl -X GET "https://api.bizkithub.com/api/v1/shop/review/list?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&productSlug=set-start&page=1&limit=20" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API