BizKitHub
DokumentáciaPrieskumník APIReview/api/v1/shop/review/list
getReviewVerejné 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

Parametre

5 v query

Parametre 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

PríkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
productSlugstringVoliteľné

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

Príkladset-start
scope"shop" | "products"Voliteľné

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

pagestringVoliteľné
Príklad1
limitstringVoliteľné

1–100, default 20.

Príklad20

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech
itemsobject[]Povinné
Každá položka poľa:
idstringPovinné

Public review id.

authorstringPovinné

Author name as entered by the customer.

initialsstringPovinné

One or two initials for an avatar.

ratingnumberPovinné

Stars, 1–5.

textstringVoliteľné
datestringPovinné

ISO date of the review.

replystringVoliteľné

Public reply of the shop.

replyDatestringVoliteľné
localestringVoliteľné

Language the review was written in, when known.

productSlugstringVoliteľné

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ážka odpovede

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ážka požiadavky

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"

Potrebujete API kľúč?

Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.

Získať API kľúč