CreateSupplierInput
Input for createSupplier. Only name is required: number falls back to the supplier number range, languageId to the system default language and currencyId to the system default currency when omitted.
input CreateSupplierInput {
name: String!
number: String
customerNumber: String
midCode: String
defaultDeliveryTime: Int
languageId: ID
address: SupplierAddressInput
currencyId: ID
taxationTypeOverride: SupplierTaxationType
}
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.
CreateSupplierInput.currencyId ● ID scalar
ID of the currency the supplier's purchase prices are maintained in and its supplier orders are raised in. Defaults to the system default currency when omitted.
CreateSupplierInput.taxationTypeOverride ● SupplierTaxationType enum
Taxation type to raise the supplier's supplier orders with instead of deriving it from the countries of the supplier and of the company. Omit it to have it derived automatically.
Member Of
createSupplier mutation