younifyd
Menu

Delete Product Review

Delete a product review

DELETE/products/reviews/{reviewId}

Use it in a workflow

  1. Add a step and choose the WooCommerce connector.
  2. Pick the Delete Product Review action (under Product reviews).
  3. Fill in the fields below, then reference the result from later steps as {{deleteProductReview.response.data}}.

Request

Path parameters

reviewIdintegerrequired

Query parameters

forcebooleanrequired

Required to be true, as resource does not support trashing.

Default true

Response

Returns 200 with an object. Read it in later steps with {{deleteProductReview.response.data.<field>}}.

idinteger

Unique identifier for the resource.

date_createdstring (date-time)

The date the review was created, in the site's timezone.

date_created_gmtstring (date-time)

The date the review was created, as GMT.

product_idinteger

Unique identifier for the product that the review belongs to.

statusstring

Status of the review.

One ofapprovedholdspamunspamtrashuntrashDefault "approved"

reviewerstring

Reviewer name.

reviewer_emailstring (email)

Reviewer email.

reviewstring

The content of the review.

ratinginteger

Review rating (0 to 5).

verifiedboolean

Shows if the reviewer bought the product or not.

json
{
  "id": 0,
  "date_created": "2025-01-01T00:00:00Z",
  "date_created_gmt": "2025-01-01T00:00:00Z",
  "product_id": 0,
  "status": "approved",
  "reviewer": "string",
  "reviewer_email": "name@example.com",
  "review": "string",
  "rating": 0,
  "verified": false
}

Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.