Skip to content

list-seller-reviews

Method: GET
Path: /store/sellers/{id}/reviews

Tags: Store

Summary

List seller reviews

Description

List seller reviews by seller ID

TypeScript Definition

typescript
"list-seller-reviews": {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description Seller ID */
                id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description OK */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": {
                        message?: string;
                        success?: boolean;
                        content?: {
                            reviews?: components["schemas"]["SellerReview"][];
                            reviews_stats?: components["schemas"]["SellerReviewStats"];
                            pagination?: components["schemas"]["Pagination"];
                        };
                    };
                };
            };
            400: components["responses"]["BadRequest"];
            401: components["responses"]["Unauthorized"];
            404: components["responses"]["NotFound"];
        };
    };

Component References

ReferenceResolves To
components["schemas"]["SellerReview"]SellerReview
components["schemas"]["SellerReviewStats"]SellerReviewStats
components["schemas"]["Pagination"]Pagination
components["responses"]["BadRequest"]BadRequest
components["responses"]["Unauthorized"]Unauthorized
components["responses"]["NotFound"]NotFound

Responses

200

OK

400

Bad request

401

Not authorized for given operation on the Resource

404

Requested resource not found

OpenAPI Definition

json
{
  "tags": [
    "Store"
  ],
  "operationId": "list-seller-reviews",
  "summary": "List seller reviews",
  "description": "List seller reviews by seller ID",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/operations/list-seller-reviews",
    "description": "API reference for the list-seller-reviews operation"
  },
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string"
              },
              "success": {
                "type": "boolean"
              },
              "content": {
                "properties": {
                  "reviews": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/SellerReview"
                    }
                  },
                  "reviews_stats": {
                    "$ref": "#/components/schemas/SellerReviewStats"
                  },
                  "pagination": {
                    "$ref": "#/components/schemas/Pagination"
                  }
                },
                "type": "object"
              }
            }
          }
        }
      }
    },
    "400": {
      "$ref": "#/components/responses/BadRequest"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "404": {
      "$ref": "#/components/responses/NotFound"
    }
  },
  "x-speakeasy-group": "store",
  "x-speakeasy-ignore": false,
  "x-speakeasy-name-override": "listSellerReviews"
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: