BizKitHub
DokumentacePrůzkumník APIReview/api/v1/shop/review/list
getReviewVeřejné 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 v query

Parametry v query

· 5
apiKeystringPovinné

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

PříkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
productSlugstringVolitelné

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

Příkladset-start
scope"shop" | "products"Volitelné

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

pagestringVolitelné
Příklad1
limitstringVolitelné

1–100, default 20.

Příklad20

Schéma odpovědi

1 zdokumentovaný stavový kód

200Úspěch
itemsobject[]Povinné
Každá položka pole:
idstringPovinné

Public review id.

authorstringPovinné

Author name as entered by the customer.

initialsstringPovinné

One or two initials for an avatar.

ratingnumberPovinné

Stars, 1–5.

textstringVolitelné
datestringPovinné

ISO date of the review.

replystringVolitelné

Public reply of the shop.

replyDatestringVolitelné
localestringVolitelné

Language the review was written in, when known.

productSlugstringVolitelné

Reviewed product (only with scope=products).

isVerifiedPurchasebooleanPovinné

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

summaryobjectPovinné
averagenumber | nullPovinné

Average rating rounded to one decimal; null without reviews.

countnumberPovinné

Number of visible reviews.

distributionnumber[]Povinné

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

pagenumberPovinné
limitnumberPovinné

Ukázka odpovědi

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
}

Ukázka požadavku

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"

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč