@bates-solutions/clover API Reference - v1.3.0
    Preparing search index...

    Interface CreateCustomerOptions

    Options for creating a customer. email/phone are conveniences that map to Clover's emailAddresses / phoneNumbers arrays.

    interface CreateCustomerOptions {
        email?: string;
        firstName?: string;
        idempotencyKey?: string;
        lastName?: string;
        marketingAllowed?: boolean;
        metadata?: Record<string, unknown>;
        phone?: string;
    }
    Index
    email?: string
    firstName?: string
    idempotencyKey?: string

    Idempotency key (defaults to a generated UUID)

    lastName?: string
    marketingAllowed?: boolean
    metadata?: Record<string, unknown>
    phone?: string