{
"name": "塑壳断路器",
"name_id": "E011-00308",
"alias": "塑壳",
"model_spec": "NM1-125S/3300 100A",
"unit_name": "个",
"remark": "配电柜总开关备件",
"image_ids": [
"cc079417-9f02-79f4-8e9c-fc1053f15b75"
]
}curl --location '/api/v1/stock-materials' \
--header 'X-Project-Id;' \
--header 'Content-Type: application/json' \
--data '{
"name": "塑壳断路器",
"name_id": "E011-00308",
"alias": "塑壳",
"model_spec": "NM1-125S/3300 100A",
"unit_name": "个",
"remark": "配电柜总开关备件",
"image_ids": [
"cc079417-9f02-79f4-8e9c-fc1053f15b75"
]
}'{
"id": 1,
"uuid": "f197715a-47e4-488d-aab6-43a5e2a76111",
"name": "交流接触器",
"name_id": "E011-00237",
"alias": "接触器",
"model_spec": "CJX2-2510 AC220V",
"unit_name": "个",
"remark": "启停控制回路常用,单台控制柜 2 只",
"current_qty": "6",
"images": [
{
"id": "23ee8930-737f-739e-83d0-69076b428b66",
"original_name": "交流接触器-CJX2-2510-正面.jpg",
"mime_type": "image/jpeg",
"size_bytes": 486912,
"width": 1600,
"height": 1200
},
{
"id": "83f45373-5982-7707-8003-2f16a4783a0b",
"original_name": "交流接触器-CJX2-2510-铭牌.jpg",
"mime_type": "image/jpeg",
"size_bytes": 372480,
"width": 1600,
"height": 1200
}
],
"replenishment_policy": {
"minimum_qty": "8",
"enabled": true,
"version": 1
},
"has_operation_records": true,
"created_at": "2026-06-05T09:10:00+08:00",
"updated_at": "2026-08-27T10:05:00+08:00",
"version": 5
}