← API reference
CANONICAL TYPE REFERENCE

UpdateCustomerInput

Input for updating a customer. Omitted and null patch fields are unchanged; updatedAt defaults to now.

nameString

Customer name

External system reference (must be unique per tenant)

emailString

Primary email address

phoneString

Primary phone number

notesString

General notes

isActiveBoolean

Whether the customer is active

Credit limit amount (nil = no limit)

Currency for credit limit (ISO 4217)

Net payment terms in days (0 = prepayment)

Place customer on credit hold

Reason for credit hold

Default tax code for this customer's documents

Whether the customer is tax exempt

Tax exemption certificate or VAT number

Override update timestamp (ISO8601). Defaults to now.

View exact SDL
"""
Input for updating a customer. Omitted and null patch fields are unchanged; updatedAt defaults to now.
"""
input UpdateCustomerInput {
  """Customer name"""
  name: String @inputPolicy(nullMeansUnchanged: true)
  """External system reference (must be unique per tenant)"""
  externalId: String @inputPolicy(nullMeansUnchanged: true)
  """Primary email address"""
  email: String @inputPolicy(nullMeansUnchanged: true)
  """Primary phone number"""
  phone: String @inputPolicy(nullMeansUnchanged: true)
  """General notes"""
  notes: String @inputPolicy(nullMeansUnchanged: true)
  """Whether the customer is active"""
  isActive: Boolean @inputPolicy(nullMeansUnchanged: true)
  """Credit limit amount (nil = no limit)"""
  creditLimit: Float @inputPolicy(nullMeansUnchanged: true)
  """Currency for credit limit (ISO 4217)"""
  creditCurrency: CurrencyISO @inputPolicy(nullMeansUnchanged: true)
  """Net payment terms in days (0 = prepayment)"""
  paymentTermsDays: Int @inputPolicy(nullMeansUnchanged: true)
  """Place customer on credit hold"""
  isCreditHold: Boolean @inputPolicy(nullMeansUnchanged: true)
  """Reason for credit hold"""
  creditHoldReason: String @inputPolicy(nullMeansUnchanged: true)
  """Default tax code for this customer's documents"""
  defaultTaxCodeId: TaxCodeID @inputPolicy(nullMeansUnchanged: true)
  """Whether the customer is tax exempt"""
  isTaxExempt: Boolean @inputPolicy(nullMeansUnchanged: true)
  """Tax exemption certificate or VAT number"""
  taxExemptReference: String @inputPolicy(nullMeansUnchanged: true)
  """Override update timestamp (ISO8601). Defaults to now."""
  updatedAt: ISO8601
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.