Skip to main content

CreateSupplierInput

Input for createSupplier. Only name is required: number falls back to the supplier number range and languageId to the system default language when omitted.

input CreateSupplierInput {
name: String!
number: String
customerNumber: String
midCode: String
defaultDeliveryTime: Int
languageId: ID
address: SupplierAddressInput
}

Fields

CreateSupplierInput.name ● String! non-null scalar

Supplier display name. Must be unique.

CreateSupplierInput.number ● String scalar

Internal supplier number. Must be unique. Generated from the supplier number range when omitted.

CreateSupplierInput.customerNumber ● String scalar

Customer number the supplier assigned to this shop.

CreateSupplierInput.midCode ● String scalar

MID (manufacturer identification) code of the supplier.

CreateSupplierInput.defaultDeliveryTime ● Int scalar

Default delivery lead time in days, used as a fallback when a product has no supplier-specific override.

CreateSupplierInput.languageId ● ID scalar

ID of the language used when communicating with the supplier. Defaults to the system default language when omitted.

CreateSupplierInput.address ● SupplierAddressInput input

Address and contact details of the supplier.

Member Of

createSupplier mutation