← All types
Sales & CRMIn Input object

CreateCustomerInput

Input for creating a customer

Fields

name

String!Required

Customer name (required)

External system reference (must be unique per tenant)

The tenant's own account number for this customer (unique per tenant)

HTTP(S) link to this record in the external system. Requires an external identity.

email

StringOptional

Primary email address

phone

StringOptional

Primary phone number

notes

StringOptional

General notes

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.

Referenced by (1)
Exact type SDL
"""Input for creating a customer"""
input CreateCustomerInput {
  """Customer name (required)"""
  name: String!
  """External system reference (must be unique per tenant)"""
  externalId: String
  """The tenant's own account number for this customer (unique per tenant)"""
  customerNumber: String
  """
  HTTP(S) link to this record in the external system. Requires an external identity.
  """
  externalUrl: 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
}