Typescript SDK Type Docs
    Preparing search index...

    Interface OrderCreated

    Generated when an Order is created after a successful checkout process.

    interface OrderCreated {
        code: "order_created";
        correlationId: string;
        message: string;
        payload: any;
        severity: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    code: "order_created"

    Message code for the event.

    correlationId: string

    Unique identifier of the event.

    message: string

    Order {orderId} created.

    payload: any

    Contains the order object with the id property.

    severity: string

    info