Application Load

IProductFeedbackReactionRequest

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IProductFeedbackReactionRequest

Send feedback and boolean like_or_dislike at the JSON root.

interfaces/orionplace/products/IProductFeedbackApi.ts
TypeScript
export interface IProductFeedbackReactionRequest {
  // ID of an approved review or reply left in this store group; its product
  // must be visible in the store. Another review returns a field error or
  // “Feedback was not found.”
  feedback: number;
  // True means like; false means dislike. Omitting this field also means
  // dislike.
  like_or_dislike?: boolean;
}