Space Docs
API ReferenceStock

stock.updateStockSettings

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
productIdstring.uuidYes—ID of the associated product
warehouseIdstring.uuidYes—ID of the associated warehouse
reorderPointunknownNo—Reorder point
reorderQtyunknownNo—Reorder qty
maxStockLevelunknownNo—Max stock level

Example

{
  "productId": "550e8400-e29b-41d4-a716-446655440000",
  "warehouseId": "550e8400-e29b-41d4-a716-446655440000",
  "reorderPoint": null,
  "reorderQty": null,
  "maxStockLevel": null
}

On this page