SetProductWarehouseReorderConfigurationInput
Input for setProductWarehouseReorderConfiguration. Sets the reorder thresholds for a product in a warehouse, upserting the underlying (product, warehouse) configuration row.
input SetProductWarehouseReorderConfigurationInput {
productId: ID!
warehouseId: ID!
reorderPoint: Int!
targetMaximumQuantity: Int
}
Fields
SetProductWarehouseReorderConfigurationInput.productId ● ID! non-null scalar
ID of the product.
SetProductWarehouseReorderConfigurationInput.warehouseId ● ID! non-null scalar
ID of the warehouse.
SetProductWarehouseReorderConfigurationInput.reorderPoint ● Int! non-null scalar
Stock level at or below which the product is considered to need reordering in this warehouse. Must be 0 or greater.
SetProductWarehouseReorderConfigurationInput.targetMaximumQuantity ● Int scalar
Target maximum stock quantity used as the replenish-to level for the product in this warehouse. Must be 0 or greater when set. Pass null (or omit) to clear it.