Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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": {
      {
        "1e0bd91f-989a-45e7-8e1c-4fe2d4231ae5": [
        {
          "inventory_code": c2befdbe"d50a6594-57fa3457-4a474e87-9132afe1-f7f8153b5f2c,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": 1015, 
          "ordered_quantity": 10
15        },
        {
          "inventory_code": 0c529494"374bf54a-955fd7c1-44294ad3-8fe6a95a-6afc67d2a05832aa3e7212ae",
          "date": "2023-03-08",
          "start_time": "14:00", 
          "day_of_the_week": "Sunday", 
          "is_order": true, 
          "max_quantity": 25, 
          "min_quantity": 5,
          "remain_quantity": 205, 
          "ordered_quantity": 20
  5      },
        {
          "inventory_code": 2269ced3"5e77bcf2-3cf99026-4a754263-b1fd847b-c6aa36a189e9,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
        }
      ]
    }
  }
}'

...