UpdateCustomerInput
Input for updating a customer. Omitted and null patch fields are unchanged; updatedAt defaults to now.
Fields
Customer name
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. Omit to preserve the existing link, or pass null to clear it. Removing the external identity also removes its link.
Primary email address
Primary phone number
General notes
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.
Referenced by (1)
Exact type 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)
"""The tenant's own account number for this customer (unique per tenant)"""
customerNumber: String @inputPolicy(nullMeansUnchanged: true)
"""
HTTP(S) link to this record in the external system. Requires an external identity. Omit to preserve the existing link, or pass null to clear it. Removing the external identity also removes its link.
"""
externalUrl: String
"""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
}