...
1) Request
Endpoint | product 환경 environment: https://prod.ax-cloud.com/v1/channel/inventory/tour/{product_code} test 환경environment: https://test.ax-cloud.com/v1/channel/inventory/tour/{product_code} |
---|---|
Method | GET |
Description | 특정 Product의 Inventory를 조회합니다. |
Content-Type | application/json |
Headers > Authorization | Token {api_key} |
Headers > Channel | Code {channel_code} |
...
Code Block |
---|
curl -X 'POST' \
'https://prod.ax-cloud.com/v1/channel/inventory/tour/5a8b34ec-1a32-4b70-a5ba-8f2c81ec4c09' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Token api_key_secret' \
-H 'Channel: Code code_secret'
-d '{
"status_code": 200,
"option_codes": {
"1e0bd91f-989a-45e7-8e1c-4fe2d4231ae5": [
{
"inventory_code": "d50a6594-3457-4e87-afe1-435ca13b8cdd",
"date": "2023-03-01",
"start_time": "14:00",
"day_of_the_week": "Sunday",
"is_order": true,
"max_quantity": 25,
"min_quantity": 5,
"remain_quantity": 15,
"ordered_quantity": 10
},
{
"inventory_code": "374bf54a-d7c1-4ad3-a95a-32aa3e7212ae",
"date": "2023-03-08",
"start_time": "14:00",
"day_of_the_week": "Sunday",
"is_order": true,
"max_quantity": 25,
"min_quantity": 5,
"remain_quantity": 5,
"ordered_quantity": 20
},
{
"inventory_code": "5e77bcf2-9026-4263-847b-a8a4a84b5613",
"date": "2023-03-15",
"start_time": "14:00",
"day_of_the_week": "Sunday",
"is_order": true,
"max_quantity": 25,
"min_quantity": 5,
"remain_quantity": 11,
"ordered_quantity": 14
}
]
}
}' |
...