在庫ロケーション変更
概要
基本情報
- リクエストパス:
PUT /items/change_locations
- スコープ:
item:change_location:update
- 店舗IDの指定:
必要なし
- 基本制限レート:
2 rps
body
| key |
type |
説明 |
制約など |
| staff_id |
?int | null |
スタッフID |
- |
| location_id |
int |
移動元ロケーションID |
- |
| dist_location_id |
int |
移動先ロケーションID |
- |
| status |
string |
移動ステータス |
PENDING ACTIVE |
| items |
array<object> |
移動在庫 |
1件以上 1000件まで |
| items.*.id |
int |
在庫ID |
- |
| items.*.quantity |
int |
移動数量 |
1以上 |
| note |
?string | null |
内部メモ |
- |
| attribute |
?object |
ケース属性 |
- |
例
PUT /items/change_locations
{
"location_id": 1,
"dist_location_id": 2,
"status": "ACTIVE",
"items": [
{
"id": 12,
"quantity": 3
}
]
}
[在庫入庫](/ReCORE.co-api/spec/item_inbound.html)と同様