Skip to content

Interface: ReviewSubmitV1Request ​

Request body for Submit Review (v1)

Properties ​

custom_form_ans? ​

ts
optional custom_form_ans?: Record<string, string | string[]>;

custom_form_ans_other? ​

ts
optional custom_form_ans_other?: Record<string, Record<string, string>>;

Other-field answers keyed as { [questionId]: { [optionValue]: text } }.


email? ​

ts
optional email?: string;

Whether this field is required depends on form_config from review_form_fields.


group? ​

ts
optional group?: string;

"true" for group mode (ignored if order_id is provided).


name? ​

ts
optional name?: string;

nickname? ​

ts
optional nickname?: string;

order_id? ​

ts
optional order_id?: string;

Optional order context. When provided, refer to form_config from review_form_fields for which reviewer fields are still required. Cannot be combined with group; order_id takes precedence if both are sent.


product_id ​

ts
product_id: string;

review ​

ts
review: string;

score ​

ts
score: number;

title? ​

ts
optional title?: string;

Whether this field is required depends on form_config from review_form_fields.