...
Code Block |
---|
curl -X 'POST' \
'https://prod.ax-cloud.com/v1/channel/inventory/day-ticket/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",
"max_quantity": 25,
"remain_quantity": 15,
"ordered_quantity": 10,
"depth_combination_id": 15
},
{
"id": 2,
"date": "2023-03-08",
"max_quantity": 25,
"remain_quantity": 5,
"ordered_quantity": 20,
"depth_combination_id": 15
},
{
"id": 3,
"date": "2023-03-15",
"max_quantity": 25,
"remain_quantity": 11,
"ordered_quantity": 14,
"depth_combination_id": 15
}
]
}' |
...