로그인이 필요합니다.
클라우드 서비스 보급·확산 사업 공급기업 선정! 이용료 최대 80% 지원

개발가이드(ver2.0)

로케이션 재고조회 개요

로케이션 단위로 적치된 상품 재고를 조회합니다.

사방넷 풀필먼트 매뉴얼 : 로케이션 기준 재고조회 바로가기 ▶

지원 method

로케이션 재고조회(단일상품)

Request URI /v2/inventory/stock_locations
Method GET
권한 물류사

Request Param

데이터필드 자료형 설명
shipping_product_id integer 출고상품 ID

필수

loc_type integer 재고 구분

1.입고, 2.출고가능, 5.반품, 6.불량, 7.보관
코드정보 loc_type_code 참고

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.보관
코드정보 loc_type_code 참고

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"
      }
    ]
  }
}
Top