list-seller-reviews
Method: GET
Path: /store/sellers/{id}/reviews
Tags: Reviews
Summary
List seller reviews
Description
List seller reviews by seller ID
Storefront SDK Usage
SDK Method: sdk.store.listSellerReviews()
Example:
typescript
const { data, error } = await sdk.store.listSellerReviews({ id: "seller-123" }, { page: 1 });TypeScript Definition
typescript
"list-seller-reviews": {
parameters: {
query?: {
/** @description Page number, starting at 1. Non-integer values and values below 1 return 400. */
page?: components["parameters"]["pageParam"];
/** @description Results per page. Values outside 1–100 are clamped to that range. Non-integer input returns 400. */
limit?: components["parameters"]["pageLimitParam"];
};
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"];
403: components["responses"]["Forbidden"];
500: components["responses"]["InternalServerError"];
503: components["responses"]["ServiceUnavailable"];
};
};Component References
| Reference | Resolves To |
|---|---|
components["parameters"]["pageParam"] | pageParam |
components["parameters"]["pageLimitParam"] | pageLimitParam |
components["schemas"]["SellerReview"] | SellerReview |
components["schemas"]["SellerReviewStats"] | SellerReviewStats |
components["schemas"]["Pagination"] | Pagination |
components["responses"]["BadRequest"] | BadRequest |
components["responses"]["Unauthorized"] | Unauthorized |
components["responses"]["Forbidden"] | Forbidden |
components["responses"]["InternalServerError"] | InternalServerError |
components["responses"]["ServiceUnavailable"] | ServiceUnavailable |
Parameters
- page (query): Page number, starting at 1. Non-integer values and values below 1 return 400.
- limit (query): Results per page. Values outside 1–100 are clamped to that range. Non-integer input returns 400.
Responses
200
OK
400
Bad request
401
Authentication failed. Codes include token-required, token-expired and token_not_valid for an invalid or expired token.
403
Access denied. token-required requires an authenticated session; permission-denied means the caller cannot access this resource. On POS, session-expired requires signing in again.
500
The request failed because of an unexpected error.
503
The requested resource is temporarily unavailable.
OpenAPI Definition
json
{
"tags": [
"Reviews"
],
"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"
},
"parameters": [
{
"$ref": "#/components/parameters/pageParam"
},
{
"$ref": "#/components/parameters/pageLimitParam"
}
],
"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"
}
},
"required": [
"pagination"
],
"type": "object"
}
}
}
}
}
},
"400": {
"$ref": "#/components/responses/BadRequest"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"500": {
"$ref": "#/components/responses/InternalServerError"
},
"503": {
"$ref": "#/components/responses/ServiceUnavailable"
}
},
"security": [
{
"Authorization": []
},
{
"X-Api-Key": []
}
],
"x-speakeasy-group": "store",
"x-speakeasy-ignore": false,
"x-speakeasy-name-override": "listSellerReviews"
}Auto-generated from OpenAPI spec and TypeScript definitions