fix(firstleg): make scanned shipment id optional

This commit is contained in:
2026-08-11 09:57:45 +08:00
parent dfc1db6e8c
commit bceaff496e
5 changed files with 20 additions and 14 deletions
@@ -239,10 +239,10 @@ paths:
application/json:
schema:
type: object
required: [boxCode, shipment_id, length, width, height, machineNo, picture]
required: [boxCode, length, width, height, machineNo, picture]
properties:
boxCode: {type: string, maxLength: 128, example: 'RK-2085911321565003778#4-1'}
shipment_id: {type: string, maxLength: 64, example: 'FBA19L5KMY2CU000002', description: '设备从Amazon FBA箱标实际扫描得到;系统只保存,不生成且不覆盖客户下单值'}
shipment_id: {type: string, maxLength: 64, example: 'FBA19L5KMY2CU000002', description: '可选;设备从Amazon FBA箱标实际扫描得到,有则原样上传;系统只保存,不生成且不覆盖客户下单值'}
length: {type: number, format: decimal, minimum: 0.001}
width: {type: number, format: decimal, minimum: 0.001}
height: {type: number, format: decimal, minimum: 0.001}