Typescript SDK Type Docs
    Preparing search index...

    Interface CartEmpty

    Generated when the Cart for the current checkout is empty. The Cart must contain at least one Line Item.

    interface CartEmpty {
        code: "cart_empty";
        correlationId: string;
        message: string;
        payload: any;
        severity: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    code: "cart_empty"

    Message code for the event.

    correlationId: string

    Unique identifier of the event.

    message: string

    Cart {cartId} is empty.

    payload: any

    Contains the cart object with the id property.

    severity: string

    error