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/day-ticket/6ecf4685-ca60-4a7d-843c-479329ca8789' \
  -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": "d50a6594-3457-4e87-afe1-435ca13b8cdd",
 
        "date": "2023-03-01",
          "max_quantity": 25, 
          "remain_quantity": 15, 
          "ordered_quantity": 10,

         "depth_combination_id": 15"
        },
 
      {
 
        "inventory_code": "374bf54a-d7c1-4ad3-a95a-32aa3e7212ae",
 
        "date": "2023-03-08",

         "max_quantity": 25, 
          "remain_quantity": 5, 
          "ordered_quantity": 20,
 
        "depth_combination_id": 15
        },
 
      {
 
        "inventory_code": "5e77bcf2-9026-4263-847b-a8a4a84b5613",
 
        "date": "2023-03-15",
 
        "max_quantity": 25, 
          "remain_quantity": 11, 
          "ordered_quantity": 14,
          "depth_combination_id": 15

       }
      ]
    }
  }
}'

...