Admin Customer Reviews
List customer reviews
Paginated, filterable, sortable list. Returns { data, meta } envelope.
get/customers/reviews
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
Page number
per_pageinteger
Items per page (default 10, max 50).
statusstring
pending|approved|disapproved
ratinginteger
Filter by rating value
product_idinteger
Filter by product ID
customer_idinteger
Filter by customer ID
created_at_fromstring
Lower bound for created_at
created_at_tostring
Upper bound for created_at
sort'id' | 'rating' | 'created_at'
Sort column.
order'asc' | 'desc'
Sort direction.
Response
Paginated reviews in the { data, meta } envelope.
Changes
No recorded changes to this operation across all 8 revisions of this API.