UserDetailsModel

  • address
    Type: string Pattern: ^(?=.*[a-zA-Z])(?!.*@).*$
    required

    Customer's street address. Required. 5-60 characters, must include street name.

  • city
    Type: string Pattern: ^[A-Za-z\u00C0-\u024F''.\-]+(?:[\s\-][A-Za-z\u00C0-\u024F''.\-]+)*$
    required

    Customer's city. Required. 3-32 characters.

  • email
    Type: string Pattern: ^[^\s@]+@[^\s@]+\.[^\s@]+$Format: email
    required

    Customer's email address. Required. Must be a valid email format.

  • firstName
    Type: string Pattern: ^[a-zA-Z' .-]+$
    required

    Customer's first name. Required. 2-32 characters, letters only (including dot, whitespace, dash, apostrophe).

  • lastName
    Type: string Pattern: ^[a-zA-Z' .-]+$
    required

    Customer's last name. Required. 2-32 characters, letters only (including dot, whitespace, dash, apostrophe).

  • state
    Type: string Pattern: ^[a-zA-Z]+$
    required

    Two-letter US state code. Required. Must match the state derived from the ZIP code.

  • zip
    Type: stringFormat: postal-code
    required

    5-digit US ZIP code. Required. Must be a valid ZIP code that matches the state.

  • addressApartment
    Type: string | null

    Optional. Apartment, suite, or unit number. Maximum 4 characters.

  • billingAddress
    Type: string | null Pattern: ^(?=.*[a-zA-Z])(?!.*@).*$
  • billingAddressApartment
    Type: string | null
  • billingCity
    Type: string | null
  • billingFirstName
    Type: string | null Pattern: ^[a-zA-Z' .-]+$
  • billingLastName
    Type: string | null Pattern: ^[a-zA-Z' .-]+$
  • billingState
    Type: string | null Pattern: ^[a-zA-Z]+$
  • billingZip
    Type: string | nullFormat: postal-code
  • isBillingAddressDifferent
    Type: boolean
  • phoneNumber
    Type: string | null

    Customer's phone number. Optional but recommended. 10-digit US phone number.