CANONICAL TYPE REFERENCE
UpdateCustomerInput
Input for updating a customer. Omitted and null patch fields are unchanged; updatedAt defaults to now.
nameStringCustomer name
externalIdStringExternal system reference (must be unique per tenant)
emailStringPrimary email address
phoneStringPrimary phone number
notesStringGeneral notes
isActiveBooleanWhether the customer is active
creditLimitFloatCredit limit amount (nil = no limit)
Currency for credit limit (ISO 4217)
Net payment terms in days (0 = prepayment)
isCreditHoldBooleanPlace customer on credit hold
creditHoldReasonStringReason for credit hold
Default tax code for this customer's documents
isTaxExemptBooleanWhether the customer is tax exempt
taxExemptReferenceStringTax 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.