← API reference
CANONICAL TYPE REFERENCE

UpsertSupplierInput

Input for creating or updating a supplier

ID for update; omit for create

nameString!

Supplier name (required)

codeString

Short code

Supplier category

External system reference

Primary contact person name

emailString

Contact email address

phoneString

Contact phone number

websiteString

Supplier website URL

Account number

Payment terms

Default currency code

Typical lead time in days

isActiveBoolean

Whether the supplier is active

notesString

General notes

tags[String!]

Tags for categorisation

View exact SDL
"""Input for creating or updating a supplier"""
input UpsertSupplierInput {
  """ID for update; omit for create"""
  id: SupplierID
  """Supplier name (required)"""
  name: String!
  """Short code"""
  code: String
  """Supplier category"""
  category: SupplierCategory
  """External system reference"""
  externalId: String
  """Primary contact person name"""
  contactName: String
  """Contact email address"""
  email: String
  """Contact phone number"""
  phone: String
  """Supplier website URL"""
  website: String
  """Account number"""
  accountNumber: String
  """Payment terms"""
  paymentTerms: String
  """Default currency code"""
  currency: CurrencyISO
  """Typical lead time in days"""
  leadTimeDays: Int
  """Whether the supplier is active"""
  isActive: Boolean
  """General notes"""
  notes: String
  """Tags for categorisation"""
  tags: [String!]
}

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