Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

AddReviewParams

Parameters for the addReview API endpoint

export interface AddReviewParams {
	draft: ReviewDraft;
	limit?: number;
	offset?: number;
	productId: string;
	sort?: string | string[];
	where?: string;
}

Properties

NameRequiredTypeDescription
draftRequiredReviewDraftReview information, such as author, rating, title and description
limitOptionalnumberPagination limit
offsetOptionalnumberPagination offset
productIdRequiredstringID of the parent product
sortOptionalstring | string[]Sorting options. You can read more here
whereOptionalstringCustom where query

Referenced Types

On this page