UpdateSupplierInput
Input for updateSupplier. Partial update of an existing supplier — only supplied fields are written, the rest are left untouched.
input UpdateSupplierInput {
id: ID!
name: String
number: String
customerNumber: String
midCode: String
defaultDeliveryTime: Int
languageId: ID
address: SupplierAddressInput
taxationTypeOverride: SupplierTaxationType
}
Fields
UpdateSupplierInput.id ● ID! non-null scalar
ID of the supplier to update.
UpdateSupplierInput.name ● String scalar
New supplier display name. Must be unique.
UpdateSupplierInput.number ● String scalar
New internal supplier number. Must be unique.
UpdateSupplierInput.customerNumber ● String scalar
New customer number the supplier assigned to this shop.
UpdateSupplierInput.midCode ● String scalar
New MID (manufacturer identification) code of the supplier.
UpdateSupplierInput.defaultDeliveryTime ● Int scalar
New default delivery lead time in days.
UpdateSupplierInput.languageId ● ID scalar
New ID of the language used when communicating with the supplier.
UpdateSupplierInput.address ● SupplierAddressInput input
Address and contact details to merge into the supplier's address record.
UpdateSupplierInput.taxationTypeOverride ● SupplierTaxationType enum
New taxation type to raise the supplier's supplier orders with instead of deriving it from the countries of the supplier and of the company. Omitting it or passing null leaves the current setting unchanged, so an override cannot be removed through this mutation.
Member Of
updateSupplier mutation