ScriptCustomerModel: {
    Addresses: ScriptAddressModel[];
    Attributes: {
        [key: string]: string;
    };
    AvatarUrl: string;
    BillingAddress: ScriptAddressModel;
    CanGetGlobalAdditionalData: boolean;
    CanInsertCategoryData: boolean;
    CanListGlobalAdditionalData: boolean;
    CanUpdateCategoryData: boolean;
    CreatedOnUtc: string;
    Currency: string;
    CustomerGuid: string;
    CustomerRoles: string[];
    DepartmentId: number | null;
    Email: string;
    Id: number;
    Language: string;
    PrincipalRelationShips: {
        [key: string]: number[];
    };
    PrintLocation: string;
    SubordinateRelationShips: {
        [key: string]: number[];
    };
    Title: string;
    UpdatedOnUtc: string;
    Username: string;
}

Customer information model.

Type declaration

  • Addresses: ScriptAddressModel[]

    All addresses of the customer. This is a restricted property and will not always be filled.

  • Attributes: {
        [key: string]: string;
    }

    All customer attributes as key value pairs.

    • [key: string]: string
  • AvatarUrl: string

    If the user has an avatar, this property will contain the relative link to the avatar image.

  • BillingAddress: ScriptAddressModel

    The configured billing address or null if the user has no billing address set. This is a restricted property and will not always be filled.

  • CanGetGlobalAdditionalData: boolean

    Flag indicating if the user has permissions to load any global additional data resource file. ACL permission GlobalAdditionalDataGet.

  • CanInsertCategoryData: boolean

    Flag indicating if the user has permissions to insert category data. ACL permission PublicStoreAddCategoryEntity.

  • CanListGlobalAdditionalData: boolean

    Flag indicating if the user has permissions to list all global additional data resource files. ACL permission GlobalAdditionalDataListing.

  • CanUpdateCategoryData: boolean

    Flag indicating if the user has permissions to update category data. ACL permission PublicStoreEditCategoryEntity.

  • CreatedOnUtc: string

    The created date of the customer in UTC format as an object format string with ticks.

  • Currency: string

    The preferred currency of the customer as the currency code.

  • CustomerGuid: string

    The customer guid

  • CustomerRoles: string[]

    An array of all assigned customer roles by name.

  • DepartmentId: number | null

    The department id or null if the customer is not assigned to a department.

  • Email: string

    The email address of the customer.

  • Id: number

    The customer id.

  • Language: string

    The preferred language of the customer as the language name.

  • PrincipalRelationShips: {
        [key: string]: number[];
    }

    An object with all relationships wher the current user is the principal. The key is the relationship type, and the value is an array of customer id's with all subordinates. This is a restricted property and will not always be filled.

    • [key: string]: number[]
  • PrintLocation: string

    The print location name if the user is assigned to a print location.

  • SubordinateRelationShips: {
        [key: string]: number[];
    }

    An object with all relationships wher the current user is the subordinate. The key is the relationship type, and the value is an array of customer id's with all principals. This is a restricted property and will not always be filled.

    • [key: string]: number[]
  • Title: string

    The customer title (Mr, Mrs, etc.)

  • UpdatedOnUtc: string

    The updated date of the customer in UTC format as an object format string with ticks.

  • Username: string

    The user name of the customer.

Generated using TypeDoc