← API reference
CANONICAL TYPE REFERENCE

CreateCustomerInput

Input for creating a customer

nameString!

Customer name (required)

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 (defaults to true)

Credit limit amount (nil = no limit)

Currency for credit limit (ISO 4217)

Net payment terms in days (0 = prepayment)

Place customer on credit hold (defaults to false)

Reason for credit hold

Default tax code for this customer's documents

Whether the customer is tax exempt (defaults to false)

Tax exemption certificate or VAT number

Override creation timestamp (ISO8601). Defaults to now.

Override update timestamp (ISO8601). Defaults to now.

View exact SDL
"""Input for creating a customer"""
input CreateCustomerInput {
  """Customer name (required)"""
  name: String!
  """External system reference (must be unique per tenant)"""
  externalId: String
  """Primary email address"""
  email: String
  """Primary phone number"""
  phone: String
  """General notes"""
  notes: String
  """Whether the customer is active (defaults to true)"""
  isActive: Boolean
  """Credit limit amount (nil = no limit)"""
  creditLimit: Float
  """Currency for credit limit (ISO 4217)"""
  creditCurrency: CurrencyISO
  """Net payment terms in days (0 = prepayment)"""
  paymentTermsDays: Int
  """Place customer on credit hold (defaults to false)"""
  isCreditHold: Boolean
  """Reason for credit hold"""
  creditHoldReason: String
  """Default tax code for this customer's documents"""
  defaultTaxCodeId: TaxCodeID
  """Whether the customer is tax exempt (defaults to false)"""
  isTaxExempt: Boolean
  """Tax exemption certificate or VAT number"""
  taxExemptReference: String
  """Override creation timestamp (ISO8601). Defaults to now."""
  createdAt: ISO8601
  """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.