@wppconnect/wa-js - v3.19.3
    Preparing search index...

    Interface UpdateOrderOptions

    Options for updating an order status

    interface UpdateOrderOptions {
        msgId: string | MsgKey;
        offset?: number;
        orderNote?: string;
        orderStatus: OrderStatus;
        paymentMethod?: string;
        paymentStatus?: PaymentStatus;
        referenceId?: string;
    }
    Index

    Properties

    msgId: string | MsgKey

    The message ID or message key of the order message

    offset?: number

    The decimal offset for amount values (default: 2 for cents)

    orderNote?: string

    Optional note to include with the status update

    orderStatus: OrderStatus

    The new order status

    paymentMethod?: string

    Optional payment method

    paymentStatus?: PaymentStatus

    Optional payment status update

    referenceId?: string

    Reference ID for the order