You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
deleteReview
Endpoint for removing product reviews. By default, it uses the deleteReviewDefaultQuery GraphQL query
Signature
export declare function deleteReview(
context: SetupContext,
params: DeleteReviewParams,
customQuery?: CustomQuery
): Promise<DeleteReviewResponse>;Parameters
| Name | Required | Type | Description |
|---|---|---|---|
context | Required | SetupContext | Automatically injected context. Refer to SetupContext |
params | Required | DeleteReviewParams | Review information |
customQuery | Optional | CustomQuery | Custom queries included in the request |
Returns
Removed product review