로케이션 재고조회 개요
지원 method
로케이션 재고조회(단일상품)
| Request URI | /v2/inventory/stock_locations |
|---|---|
| Method | GET |
| 권한 | 물류사 |
Request Param
| 데이터필드 | 자료형 | 설명 |
|---|---|---|
| shipping_product_id | integer | 출고상품 ID 필수 |
| loc_type | integer | 재고 구분 1.입고, 2.출고가능, 5.반품, 6.불량, 7.보관 |
| location_id | integer | 로케이션 ID |
| page | integer | 페이지 번호 |
Response Param
| 데이터필드 | 자료형 | 설명 | ||
|---|---|---|---|---|
| code | string(4) | 응답코드 | ||
| message | string(100) | 응답메시지 | ||
| response | total_count | integer | 전체 갯수 | |
| total_page | integer | 전체 페이지수 | ||
| current_page | integer | 현재 페이지 번호 | ||
| data_list (데이터 리스트) |
shipping_product_id | integer | 출고상품 ID | |
| location_id | integer | 로케이션 ID | ||
| location_name | string(20) | 로케이션명 | ||
| expire_date | string(8) | 유통기한 YYYYMMDD 형식 |
||
| quantity | integer | 재고수량 | ||
Request Sample
/v2/inventory/stock_locations?shipping_product_id=1&loc_type=2&location_id=
Response Sample
{
"code": "9999",
"message": "ok",
"response": {
"total_count": 2,
"total_page": 1,
"current_page": 1,
"data_list": [
{
"shipping_product_id": "1",
"location_id": "2",
"location_name": "출고가능 기본존",
"expire_date": "",
"quantity": "39063"
},
{
"shipping_product_id": "1",
"location_id": "17",
"location_name": "D1-H-04-037-01a",
"expire_date": "20200825",
"quantity": "4"
}
]
}
}
로케이션 재고조회(다중상품)
| Request URI | /v2/inventory/stock/locations |
|---|---|
| Method | GET |
| 권한 | 물류사 |
Request Param
| 데이터필드 | 자료형 | 설명 |
|---|---|---|
| shipping_product_ids | array | 출고상품 IDS 필수 |
| loc_type | integer | 재고 구분 1.입고, 2.출고가능, 5.반품, 6.불량, 7.보관 |
| location_id | integer | 로케이션 ID |
Response Param
| 데이터필드 | 자료형 | 설명 | ||
|---|---|---|---|---|
| code | string(4) | 응답코드 | ||
| message | string(100) | 응답메시지 | ||
| response | total_count | integer | 전체 갯수 | |
| data_list (데이터 리스트) |
shipping_product_id | integer | 출고상품 ID | |
| location_id | integer | 로케이션 ID | ||
| location_name | string(20) | 로케이션명 | ||
| expire_date | string(8) | 유통기한 YYYYMMDD 형식 |
||
| quantity | integer | 재고수량 | ||
Request Sample
/v2/inventory/stock/locations?shipping_product_ids=1&shipping_product_ids=5&loc_type=2&location_id=
Response Sample
{
"code": "9999",
"message": "ok",
"response": {
"total_count": 2,
"data_list": [
{
"shipping_product_id": "1",
"location_id": "2",
"location_name": "출고가능 기본존",
"expire_date": "",
"quantity": "39063"
},
{
"shipping_product_id": "1",
"location_id": "17",
"location_name": "D1-H-04-037-01a",
"expire_date": "20200825",
"quantity": "4"
}
]
}
}