contextstring
Scope under which the request is made; determines fields present in response. Options: view and edit. Default is view.
One ofvieweditDefault "view"
pageinteger
Current page of the collection. Default is 1.
Default 1
per_pageinteger
Maximum number of items to be returned in result set. Default is 10.
Default 10
searchstring
Limit results to those matching a string.
afterstring (date-time)
Limit response to reviews published after a given ISO8601 compliant date.
beforestring (date-time)
Limit response to reviews published before a given ISO8601 compliant date.
excludearray<integer>
Ensure result set excludes specific IDs.
includearray<integer>
Limit result set to specific IDs.
offsetinteger
Offset the result set by a specific number of items.
orderstring
Order sort attribute ascending or descending. Options: asc and desc. Default is desc.
One ofascdescDefault "desc"
orderbystring
Sort collection by resource attribute. Options: date, date_gmt, id, slug, include and product. Default is date_gmt.
One ofdatedate_gmtidslugincludeproductDefault "date_gmt"
reviewerarray<integer>
Ensure result set excludes specific IDs.
reviewer_excludearray<integer>
Limit result set to specific IDs.
reviewer_emailarray<integer>
Limit result set to that from a specific author email.
productarray<integer>
Limit result set to reviews assigned to specific product IDs
statusstring
Limit result set to reviews assigned a specific status. Options: all, hold, approved, spam and trash. Default is approved.
One ofallholdapprovedspamtrashDefault "approved"