ProductSupplierConfiguration
Per-supplier procurement configuration for a single product. One row per (product, supplier) pair, storing the supplier-side article number, lot-size constraints, lead time and tiered purchase prices. Drives the line-item defaults used when a supplier order is opened.
type ProductSupplierConfiguration implements Node {
id: ID!
productId: ID!
supplierId: ID!
supplierProductNumber: String
minPurchase: Int!
purchaseSteps: Int!
purchasePrices: JSON!
supplierIsDefault: Boolean!
deliveryTimeDays: Int
product: Product
supplier: Supplier
}
Fields
ProductSupplierConfiguration.id ● ID! non-null scalar
Global identifier for this entity.
ProductSupplierConfiguration.productId ● ID! non-null scalar
ID of the product.
ProductSupplierConfiguration.supplierId ● ID! non-null scalar
ID of the supplier.
ProductSupplierConfiguration.supplierProductNumber ● String scalar
Article number the supplier uses for this product in their own catalog. Printed on supplier orders.
ProductSupplierConfiguration.minPurchase ● Int! non-null scalar
Minimum quantity that can be ordered from this supplier in a single line. The supplier-order form prefills this value.
ProductSupplierConfiguration.purchaseSteps ● Int! non-null scalar
Quantity step (lot size) for this supplier. Orderable quantities are minPurchase + n * purchaseSteps.
ProductSupplierConfiguration.purchasePrices ● JSON! non-null scalar
List of tiered purchase prices (per-currency, per-quantity-from). Stored as a structured PriceCollection payload.
ProductSupplierConfiguration.supplierIsDefault ● Boolean! non-null scalar
True for the single configuration row marked as the product's default supplier. The supplier-order form uses the default when no supplier is preselected.
ProductSupplierConfiguration.deliveryTimeDays ● Int scalar
Lead time in days for this (product, supplier) pair. Overrides the supplier-wide default.
ProductSupplierConfiguration.product ● Product object
ProductSupplierConfiguration.supplier ● Supplier object
Interfaces
Node interface
Any entity that can be loaded by its global id through the node(id: ID!) query.
Returned By
addProductSupplierConfiguration mutation ● productSupplierConfiguration query ● updateProductSupplierConfiguration mutation