Skip to main content

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
}

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.

Member Of

updateSupplier mutation