...
1. Inventory Quantity
1) Purpose
특정 Product의 Inventory를 Inventory 가용성을 확인하기 위하여 사용하는 API입니다.
1개의 Inventory 는 Depth Combination(Option) 와 연결되어 있습니다.
2) Detail
Path Parameter로 입력한
<product_id>
와 일치하는 Product의 Inventory List를 List 를 보여줍니다.유효한 API Key를 Request Header에 토큰으로 입력해야만 호출 가능합니다.
...
Name | Type | Description | |
---|---|---|---|
status_code | Integer | 정상 처리 시 200 | |
data | List[Object] | 인벤토리 리스트 | |
id | Integer | 인벤토리 아이디 | |
date | Date | 날짜 | |
start_time | Time | 투어 시작 시간 | |
day_of_the_week | String | 요일 | |
is_order | Boolean | 판매 유무 | |
max_quantity | Integer | 최초 생성 재고 | |
min_quantity | Integer | 최소 출발 인원으로 ordered_quantity가 이 값 보다 높아야 Tour가 진행된다. | |
remain_quantity | Integer | 남은 재고 | |
ordered_quantity | Integer | 주문 갯수 | |
depth_combination_id | String | 인벤토리 연관된 옵션 아이디 |
4) Response Example
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...