Documentation is still being updated. Some content maybe unfinished.
curl --request GET \
--url {protocol}://{host}/wp-json/cocart/v1/products/reviews/{id}{
"id": 123,
"date_created": "2023-11-07T05:31:56Z",
"date_created_gmt": "2023-11-07T05:31:56Z",
"product_id": 123,
"status": "<string>",
"reviewer": "<string>",
"reviewer_email": "<string>",
"review": "<string>",
"rating": 123,
"verified": true,
"links": {
"self": [
{
"href": "<string>"
}
],
"collection": [
{
"href": "<string>"
}
],
"up": [
{
"href": "<string>"
}
]
}
}Returns a single product review.
curl --request GET \
--url {protocol}://{host}/wp-json/cocart/v1/products/reviews/{id}{
"id": 123,
"date_created": "2023-11-07T05:31:56Z",
"date_created_gmt": "2023-11-07T05:31:56Z",
"product_id": 123,
"status": "<string>",
"reviewer": "<string>",
"reviewer_email": "<string>",
"review": "<string>",
"rating": 123,
"verified": true,
"links": {
"self": [
{
"href": "<string>"
}
],
"collection": [
{
"href": "<string>"
}
],
"up": [
{
"href": "<string>"
}
]
}
}Unique identifier for the review.
Scope under which the request is made; determines fields present in response.
view, embed Product review data.
Unique identifier for the review.
Date when the review was created.
Date when the review was created in GMT.
Product ID.
Review status.
Reviewer name.
Reviewer email.
Review content.
Review rating.
Whether the review is verified.
Show child attributes
Was this page helpful?