← API reference
CANONICAL TYPE REFERENCE

UpsertAddressInput

Input for creating or updating an address

timezoneString

Known IANA timezone at this address; no geographic inference. Omit to retain on patch updates.

ID for update; omit for create

Owner customer ID

Associated contact ID

Owner supplier ID (for supplier addresses)

External system identifier (unique per tenant when set)

Type of address (required)

street1String!

Street address line 1 (required)

street2String

Street address line 2

cityString!

City (required)

stateString

State or province

ZIP or postal code

countryString!

Country code (required)

isDefaultBoolean

Whether this is the default address

View exact SDL
"""Input for creating or updating an address"""
input UpsertAddressInput {
  """
  Known IANA timezone at this address; no geographic inference. Omit to retain on patch updates.
  """
  timezone: String
  """ID for update; omit for create"""
  id: AddressID
  """Owner customer ID"""
  customerId: CustomerID
  """Associated contact ID"""
  contactId: ContactID
  """Owner supplier ID (for supplier addresses)"""
  supplierId: SupplierID
  """External system identifier (unique per tenant when set)"""
  externalId: String
  """Type of address (required)"""
  addressType: AddressType!
  """Street address line 1 (required)"""
  street1: String!
  """Street address line 2"""
  street2: String
  """City (required)"""
  city: String!
  """State or province"""
  state: String
  """ZIP or postal code"""
  postalCode: String
  """Country code (required)"""
  country: String!
  """Whether this is the default address"""
  isDefault: Boolean
}

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