Skip to content

TAskForProductProps object

The TAskForProductProps object represents properties used in the methods of the Product Ask Questions API.

type TAskForProductProps = {
    productId: string;
    askQuestionDetails: TAskQuestionDetails;
    flashMessengerContainer?: string;
};

Properties

TAskForProductProps.productId

string The id of the product we want to ask for.

TAskForProductProps.askQuestionDetails

TAskQuestionDetails object containing details of the question that consists of the following fields:

type TAskQuestionDetails = {
    mail: string;
    question: string;
    name?: string;
}

TAskForProductProps.flashMessengerContainer (optional)

string If not specified the flash messages will be displayed inside the global flash messenger. Read more about flash messengers here.

APIs reference

Webcomponents reference