Skip to main content

UpdateProductSupplierConfigurationInput

Input for updateProductSupplierConfiguration. Partial update of an existing supplier-configuration row — only supplied fields are written. Purchase prices may be edited via the single-currency shortcut (purchasePriceGross / purchasePriceNet) or fully replaced with a purchasePrices list.

input UpdateProductSupplierConfigurationInput {
id: ID!
supplierProductNumber: String
minPurchase: Int
purchaseSteps: Int
deliveryTimeDays: Int
purchasePriceGross: Float
purchasePriceNet: Float
currencyId: ID
purchasePrices: [PurchasePriceInput!]
}

Fields

UpdateProductSupplierConfigurationInput.id ● ID! non-null scalar

ID of the configuration row to update.

UpdateProductSupplierConfigurationInput.supplierProductNumber ● String scalar

New supplier article number for the product.

UpdateProductSupplierConfigurationInput.minPurchase ● Int scalar

New minimum purchasable quantity.

UpdateProductSupplierConfigurationInput.purchaseSteps ● Int scalar

New purchase step size.

UpdateProductSupplierConfigurationInput.deliveryTimeDays ● Int scalar

New lead time in days.

UpdateProductSupplierConfigurationInput.purchasePriceGross ● Float scalar

New gross unit purchase price. See purchasePriceNet for the rebuild semantics. Ignored when purchasePrices is supplied.

UpdateProductSupplierConfigurationInput.purchasePriceNet ● Float scalar

New net unit purchase price. See purchasePriceGross for the rebuild semantics. Ignored when purchasePrices is supplied.

UpdateProductSupplierConfigurationInput.currencyId ● ID scalar

New currency for the flattened gross/net pair. Only effective when a price field is also supplied. Ignored when purchasePrices is supplied.

UpdateProductSupplierConfigurationInput.purchasePrices ● [PurchasePriceInput!] list input

Multi-currency purchase prices. When supplied, the row's per-currency entries are fully replaced with the given list (no merging with the existing entries), and the flattened purchasePriceGross / purchasePriceNet / currencyId fields are ignored. At most one entry per currencyId; an empty list is rejected. An entry for the default currency is required, omitting it causes an error.

Member Of

updateProductSupplierConfiguration mutation