@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Interface RegisterParams

    interface RegisterParams {
        company?: {
            message?: string;
            name: string;
            orgNumber?: string;
            vatNumber?: string;
        };
        email: string;
        locale?: string;
        name: string;
        password?: string;
        phone?: string;
        timeZone?: string;
    }
    Index
    company?: {
        message?: string;
        name: string;
        orgNumber?: string;
        vatNumber?: string;
    }

    B2B registration: include to register a company account. The company is created and the contact person linked as owner. Depending on tenant settings the account is activated immediately or held for manual approval (response status "pending-approval").

    Type Declaration

    • Optionalmessage?: string

      Free-text message to the merchant, shown during approval review.

    • name: string
    • OptionalorgNumber?: string
    • OptionalvatNumber?: string
    email: string
    locale?: string

    The site's active language ("sv", "en"), which wins over the market's, and the IANA time zone (defaults to the browser's).

    name: string
    password?: string
    phone?: string
    timeZone?: string