Alokai
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

NameRequiredTypeDescription
contextRequiredSetupContextAutomatically injected context. Refer to SetupContext
paramsRequiredDeleteReviewParamsReview information
customQueryOptionalCustomQueryCustom queries included in the request

Returns

Removed product review

Referenced Types

On this page