@coveo/headless
    Preparing search index...

    Interface Transaction

    The purchase transaction.

    interface Transaction {
        id: string;
        revenue: number;
    }
    Index

    Properties

    Properties

    id: string

    The transaction's id

    revenue: number

    The total revenue from the transaction, including taxes, shipping, and discounts.