Options
All
  • Public
  • Public/Protected
  • All
Menu

Customer data that can be edited in an order. All fields are optional, but at least one field must be present.

Phone fields are intentionally @IsString only — see GID-2511. Strict E.164 validation lives in sanitisePhoneNumber and is applied by downstream handlers; rejecting an UpdateCustomer command because the customer's phone has too many spaces would lose data we already accepted.

Hierarchy

  • Customer

Index

Constructors

Properties

email?: string
externalId?: string
firstName?: string
lastName?: string
mobilePhone?: string
phone?: string
salutation?: string

Generated using TypeDoc