...
Code Block |
---|
curl -X 'POST' \
'https://prod.ax-cloud.com/v1/channel/inventory/tour/1' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Token api_key_secret' \
-H 'Channel: Code code_secret'
-d '{
"status_code": 200,
"data": [
{
"id": 1,
"date": "2023-03-01",
"start_time": "14:00",
"day_of_the_week": "Sunday",
"is_order": true,
"max_quantity": 25,
"min_quantity": 5,
"remain_quantity": 10,
"ordered_quantity": 15
},
{
"id": 2,
"date": "2023-03-08",
"start_time": "14:00",
"day_of_the_week": "Sunday",
"is_order": true,
"max_quantity": 25,
"min_quantity": 5,
"remain_quantity": 20,
"ordered_quantity": 5
},
{
"id": 3,
"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
}
]
}' |
...