---
title: Air
slug: fourkites-api-reference/air
icon: {"apiMethod":"PATCH"}
createdAt: 2024-04-23T14:56:32.000Z
---

Allows authorized users to update an Air load. Please note that you will need to use the FourKites’ Internal Tracking ID, “loadId”, that was returned in the response from the Load Create API request. Read on to learn more.

:::hint{type="info"}
If you receive a server error **(5xx error code)**, please try again a few times. It's best to wait a little longer between each retry attempt. Try at least 3-5 times before giving up, as many server issues resolve themselves quickly.
:::

:::hint{type="info"}
### Rate Limit

**1 request per second**
:::

:::hint{type="info"}
### Format Supported

**JSON**
:::

:::hint{type="info"}
### Authenticated Resource

**API Key**
:::

For more information on Authentication, [click here](https://docs.fourkites.com/api-reference/authentication).&#x20;

:::hint{type="success"}
The FourKites internal loadId that is returned during load creation should be added to the endpoint to update the load. Click on the load that you would like to update to get the FourKites Internal LoadId as shown in the image below.&#x20;

![](https://api.archbee.com/api/optimize/2iLZ8zq0u-v-CPzk98WTR/jke23hF7rks2Qo7PfinnW_id.jpg)
:::

:::ApiMethodV2
```json
{
  "name": "Production",
  "method": "PATCH",
  "url": "https://api.fourkites.com/api/v1/tracking/420254202",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "n-DZmOHtEuWKXy0FjZ59S",
        "language": "curl",
        "code": "curl --location --request PATCH 'https://api.fourkites.com/api/v1/tracking/420254202' \\\n--header 'Content-Type: application/json' \\\n--header 'apikey: REPLACE_KEY_VALUE' \\\n--data-raw '{\n\"simpleUpdate\" : \"True\",\n   \"trackingInfo\": {\n       \"mawb\": \"70038067644\"\n   },\n   \"trackingNumber\": \"70038067644\",\n   \"load\": {\n       \"loadNumber\": \"TEST_LOAD_01_Update\",\n       \"carrier\": \"1234\",\n       \"priority\": \"high\",\n       \"carrierPermalink\": \"aaa-bbb-ccc\",\n       \"stops\": [\n           {\n               \"stopType\": \"originAirport\",\n               \"airTotalPieces\": \"100\",\n               \"externalAddressId\": \"MAA\",\n               \"sequence\": \"1\",\n               \"departingFlightNumber\": \"GTI8033\",\n               \"earliestAppointmentTime\": \"2024-03-11T04:25:45.000Z\",\n               \"latestAppointmentTime\": \"2024-03-11T06:25:45.000Z\",\n                      \"pallets\": [\n               {\n                   \"number\": \"PAL-001\",\n                   \"parts\": [\n                       {\n                           \"quantity\": \"25\",\n                           \"shipperPartNumber\": \"22EE\",\n                           \"weight\": \"7.998\"\n                       }\n                   ]\n               }\n           ],\n           \"productLineItems\": [\n               {\n                   \"productId\": \"0123456\",\n                   \"productName\": \"Air Freight Item\",\n                   \"productDescription\": \"Air freight shipment item\",\n                   \"productCategory\": \"General Freight\",\n                   \"quantity\": 25,\n                   \"measurementUnitCode\": \"PCE\",\n                   \"netWeight\": 44.8,\n                   \"weightUnit\": \"KGM\",\n                   \"unitCost\": 25.0,\n                   \"currencyCode\": \"USD\",\n                   \"extendedCost\": 625.00,\n                   \"freightCost\": 20.00,\n                   \"additionalCharges\": 5.00,\n                   \"tariffCost\": 2.50,\n                   \"fourKitesCalculatedTariffCost\": 2.50,\n                   \"totalLandedCost\": 655.00,\n                   \"countryOfOrigin\": \"IN\",\n                   \"harmonizedSystemCode\": \"8471499000\",\n                   \"commodityTypeCode\": \"AIR_FREIGHT\",\n                   \"htsusCode\": \"8471499000\",\n                   \"orderNumber\": \"TEST_LOAD_01_Update\",\n                   \"deliveryNumber\": \"DN-MAA\",\n                   \"handlingUnitId\": \"PAL-001\",\n                   \"barcode\": \"PAL001\",\n                   \"containerType\": \"pallet\",\n                   \"gtin\": \"00012345678905\",\n                   \"customerPartNumber\": \"22EE\",\n                   \"supplierPartNumber\": \"22EE\",\n                   \"manufacturerPartNumber\": \"MFG-22EE\",\n                   \"itemNumber\": \"ITM-22EE\",\n                   \"productUpc\": \"012345678905\",\n                   \"deliveryReferences\": [\"70038067644\"],\n                   \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                   \"brandName\": \"Generic Air Freight Co\",\n                   \"minimumTemperature\": 0,\n                   \"maximumTemperature\": 0,\n                   \"temperatureUnitCode\": \"cel\",\n                   \"labelIdentifier\": \"LBL-22EE\",\n                   \"productTrackingNumber\": \"AIR-STOP-001\",\n                   \"deviceType\": \"RFID_TAG\"\n               }\n           ]\n           },\n           {\n               \"stopType\": \"destinationAirport\",\n               \"externalAddressId\": \"ANC\",\n               \"sequence\": \"2\",\n               \"earliestAppointmentTime\": \"2024-04-15T04:25:45.000Z\",\n               \"latestAppointmentTime\": \"2024-04-16T06:25:45.000Z\",\n                      \"pallets\": [\n               {\n                   \"number\": \"PAL-002\",\n                   \"parts\": [\n                       {\n                           \"quantity\": \"25\",\n                           \"shipperPartNumber\": \"33CC\",\n                           \"weight\": \"7.998\"\n                       }\n                   ]\n               }\n           ],\n           \"productLineItems\": [\n               {\n                   \"productId\": \"0654321\",\n                   \"productName\": \"Air Freight Item\",\n                   \"productDescription\": \"Air freight shipment item\",\n                   \"productCategory\": \"General Freight\",\n                   \"quantity\": 25,\n                   \"measurementUnitCode\": \"PCE\",\n                   \"netWeight\": 44.8,\n                   \"weightUnit\": \"KGM\",\n                   \"unitCost\": 25.0,\n                   \"currencyCode\": \"USD\",\n                   \"extendedCost\": 625.00,\n                   \"freightCost\": 20.00,\n                   \"additionalCharges\": 5.00,\n                   \"tariffCost\": 2.50,\n                   \"fourKitesCalculatedTariffCost\": 2.50,\n                   \"totalLandedCost\": 655.00,\n                   \"countryOfOrigin\": \"US\",\n                   \"harmonizedSystemCode\": \"8471499000\",\n                   \"commodityTypeCode\": \"AIR_FREIGHT\",\n                   \"htsusCode\": \"8471499000\",\n                   \"orderNumber\": \"TEST_LOAD_01_Update\",\n                   \"deliveryNumber\": \"DN-ANC\",\n                   \"handlingUnitId\": \"PAL-002\",\n                   \"barcode\": \"PAL002\",\n                   \"containerType\": \"pallet\",\n                   \"gtin\": \"00012345678912\",\n                   \"customerPartNumber\": \"33CC\",\n                   \"supplierPartNumber\": \"33CC\",\n                   \"manufacturerPartNumber\": \"MFG-33CC\",\n                   \"itemNumber\": \"ITM-33CC\",\n                   \"productUpc\": \"012345678912\",\n                   \"deliveryReferences\": [\"70038067644\"],\n                   \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                   \"brandName\": \"Generic Air Freight Co\",\n                   \"minimumTemperature\": 0,\n                   \"maximumTemperature\": 0,\n                   \"temperatureUnitCode\": \"cel\",\n                   \"labelIdentifier\": \"LBL-33CC\",\n                   \"productTrackingNumber\": \"AIR-STOP-002\",\n                   \"deviceType\": \"QR_CODE\"\n               }\n           ]\n           }\n       ]\n   }\n}'",
        "customLabel": ""
      },
      {
        "id": "GbTGdRS4PwNqceJgtsfiu",
        "language": "java",
        "code": "OkHttpClient client = new OkHttpClient().newBuilder()\n  .build();\nMediaType mediaType = MediaType.parse(\"application/json\");\nRequestBody body = RequestBody.create(mediaType, \"{\\n\\\"simpleUpdate\\\" : \\\"True\\\",\\n   \\\"trackingInfo\\\": {\\n       \\\"mawb\\\": \\\"70038067644\\\"\\n   },\\n   \\\"trackingNumber\\\": \\\"70038067644\\\",\\n   \\\"load\\\": {\\n       \\\"loadNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n       \\\"carrier\\\": \\\"1234\\\",\\n       \\\"priority\\\": \\\"high\\\",\\n       \\\"carrierPermalink\\\": \\\"aaa-bbb-ccc\\\",\\n       \\\"stops\\\": [\\n           {\\n               \\\"stopType\\\": \\\"originAirport\\\",\\n               \\\"airTotalPieces\\\": \\\"100\\\",\\n               \\\"externalAddressId\\\": \\\"MAA\\\",\\n               \\\"sequence\\\": \\\"1\\\",\\n               \\\"departingFlightNumber\\\": \\\"GTI8033\\\",\\n               \\\"earliestAppointmentTime\\\": \\\"2024-03-11T04:25:45.000Z\\\",\\n               \\\"latestAppointmentTime\\\": \\\"2024-03-11T06:25:45.000Z\\\",\\n                      \\\"pallets\\\": [\\n               {\\n                   \\\"number\\\": \\\"PAL-001\\\",\\n                   \\\"parts\\\": [\\n                       {\\n                           \\\"quantity\\\": \\\"25\\\",\\n                           \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                           \\\"weight\\\": \\\"7.998\\\"\\n                       }\\n                   ]\\n               }\\n           ],\\n           \\\"productLineItems\\\": [\\n               {\\n                   \\\"productId\\\": \\\"0123456\\\",\\n                   \\\"productName\\\": \\\"Air Freight Item\\\",\\n                   \\\"productDescription\\\": \\\"Air freight shipment item\\\",\\n                   \\\"productCategory\\\": \\\"General Freight\\\",\\n                   \\\"quantity\\\": 25,\\n                   \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n                   \\\"netWeight\\\": 44.8,\\n                   \\\"weightUnit\\\": \\\"KGM\\\",\\n                   \\\"unitCost\\\": 25.0,\\n                   \\\"currencyCode\\\": \\\"USD\\\",\\n                   \\\"extendedCost\\\": 625.00,\\n                   \\\"freightCost\\\": 20.00,\\n                   \\\"additionalCharges\\\": 5.00,\\n                   \\\"tariffCost\\\": 2.50,\\n                   \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n                   \\\"totalLandedCost\\\": 655.00,\\n                   \\\"countryOfOrigin\\\": \\\"IN\\\",\\n                   \\\"harmonizedSystemCode\\\": \\\"8471499000\\\",\\n                   \\\"commodityTypeCode\\\": \\\"AIR_FREIGHT\\\",\\n                   \\\"htsusCode\\\": \\\"8471499000\\\",\\n                   \\\"orderNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n                   \\\"deliveryNumber\\\": \\\"DN-MAA\\\",\\n                   \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n                   \\\"barcode\\\": \\\"PAL001\\\",\\n                   \\\"containerType\\\": \\\"pallet\\\",\\n                   \\\"gtin\\\": \\\"00012345678905\\\",\\n                   \\\"customerPartNumber\\\": \\\"22EE\\\",\\n                   \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n                   \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n                   \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n                   \\\"productUpc\\\": \\\"012345678905\\\",\\n                   \\\"deliveryReferences\\\": [\\\"70038067644\\\"],\\n                   \\\"orderReferences\\\": [\\\"TEST_LOAD_01_Update\\\"],\\n                   \\\"brandName\\\": \\\"Generic Air Freight Co\\\",\\n                   \\\"minimumTemperature\\\": 0,\\n                   \\\"maximumTemperature\\\": 0,\\n                   \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                   \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                   \\\"productTrackingNumber\\\": \\\"AIR-STOP-001\\\",\\n                   \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n               }\\n           ]\\n           },\\n           {\\n               \\\"stopType\\\": \\\"destinationAirport\\\",\\n               \\\"externalAddressId\\\": \\\"ANC\\\",\\n               \\\"sequence\\\": \\\"2\\\",\\n               \\\"earliestAppointmentTime\\\": \\\"2024-04-15T04:25:45.000Z\\\",\\n               \\\"latestAppointmentTime\\\": \\\"2024-04-16T06:25:45.000Z\\\",\\n                      \\\"pallets\\\": [\\n               {\\n                   \\\"number\\\": \\\"PAL-002\\\",\\n                   \\\"parts\\\": [\\n                       {\\n                           \\\"quantity\\\": \\\"25\\\",\\n                           \\\"shipperPartNumber\\\": \\\"33CC\\\",\\n                           \\\"weight\\\": \\\"7.998\\\"\\n                       }\\n                   ]\\n               }\\n           ],\\n           \\\"productLineItems\\\": [\\n               {\\n                   \\\"productId\\\": \\\"0654321\\\",\\n                   \\\"productName\\\": \\\"Air Freight Item\\\",\\n                   \\\"productDescription\\\": \\\"Air freight shipment item\\\",\\n                   \\\"productCategory\\\": \\\"General Freight\\\",\\n                   \\\"quantity\\\": 25,\\n                   \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n                   \\\"netWeight\\\": 44.8,\\n                   \\\"weightUnit\\\": \\\"KGM\\\",\\n                   \\\"unitCost\\\": 25.0,\\n                   \\\"currencyCode\\\": \\\"USD\\\",\\n                   \\\"extendedCost\\\": 625.00,\\n                   \\\"freightCost\\\": 20.00,\\n                   \\\"additionalCharges\\\": 5.00,\\n                   \\\"tariffCost\\\": 2.50,\\n                   \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n                   \\\"totalLandedCost\\\": 655.00,\\n                   \\\"countryOfOrigin\\\": \\\"US\\\",\\n                   \\\"harmonizedSystemCode\\\": \\\"8471499000\\\",\\n                   \\\"commodityTypeCode\\\": \\\"AIR_FREIGHT\\\",\\n                   \\\"htsusCode\\\": \\\"8471499000\\\",\\n                   \\\"orderNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n                   \\\"deliveryNumber\\\": \\\"DN-ANC\\\",\\n                   \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n                   \\\"barcode\\\": \\\"PAL002\\\",\\n                   \\\"containerType\\\": \\\"pallet\\\",\\n                   \\\"gtin\\\": \\\"00012345678912\\\",\\n                   \\\"customerPartNumber\\\": \\\"33CC\\\",\\n                   \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n                   \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n                   \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n                   \\\"productUpc\\\": \\\"012345678912\\\",\\n                   \\\"deliveryReferences\\\": [\\\"70038067644\\\"],\\n                   \\\"orderReferences\\\": [\\\"TEST_LOAD_01_Update\\\"],\\n                   \\\"brandName\\\": \\\"Generic Air Freight Co\\\",\\n                   \\\"minimumTemperature\\\": 0,\\n                   \\\"maximumTemperature\\\": 0,\\n                   \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                   \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n                   \\\"productTrackingNumber\\\": \\\"AIR-STOP-002\\\",\\n                   \\\"deviceType\\\": \\\"QR_CODE\\\"\\n               }\\n           ]\\n           }\\n       ]\\n   }\\n}\");\nRequest request = new Request.Builder()\n  .url(\"https://api.fourkites.com/api/v1/tracking/420254202\")\n  .method(\"PATCH\", body)\n  .addHeader(\"Content-Type\", \"application/json\")\n  .addHeader(\"apikey\", \"REPLACE_KEY_VALUE\")\n  .build();\nResponse response = client.newCall(request).execute();",
        "customLabel": ""
      },
      {
        "id": "eNVWAy0OjYYCeDnN1Kwpa",
        "language": "javascript",
        "code": "var settings = {\n  \"url\": \"https://api.fourkites.com/api/v1/tracking/420254202\",\n  \"method\": \"PATCH\",\n  \"timeout\": 0,\n  \"headers\": {\n    \"Content-Type\": \"application/json\",\n    \"apikey\": \"REPLACE_KEY_VALUE\"\n  },\n  \"data\": JSON.stringify({\n    \"simpleUpdate\": \"True\",\n    \"trackingInfo\": {\n      \"mawb\": \"70038067644\"\n    },\n    \"trackingNumber\": \"70038067644\",\n    \"load\": {\n      \"loadNumber\": \"TEST_LOAD_01_Update\",\n      \"carrier\": \"1234\",\n      \"priority\": \"high\",\n      \"carrierPermalink\": \"aaa-bbb-ccc\",\n      \"stops\": [\n        {\n          \"stopType\": \"originAirport\",\n          \"airTotalPieces\": \"100\",\n          \"externalAddressId\": \"MAA\",\n          \"sequence\": \"1\",\n          \"departingFlightNumber\": \"GTI8033\",\n          \"earliestAppointmentTime\": \"2024-03-11T04:25:45.000Z\",\n          \"latestAppointmentTime\": \"2024-03-11T06:25:45.000Z\",\n                \"pallets\": [\n            {\n                \"number\": \"PAL-001\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0123456\",\n                \"productName\": \"Air Freight Item\",\n                \"productDescription\": \"Air freight shipment item\",\n                \"productCategory\": \"General Freight\",\n                \"quantity\": 25,\n                \"measurementUnitCode\": \"PCE\",\n                \"netWeight\": 44.8,\n                \"weightUnit\": \"KGM\",\n                \"unitCost\": 25.0,\n                \"currencyCode\": \"USD\",\n                \"extendedCost\": 625.00,\n                \"freightCost\": 20.00,\n                \"additionalCharges\": 5.00,\n                \"tariffCost\": 2.50,\n                \"fourKitesCalculatedTariffCost\": 2.50,\n                \"totalLandedCost\": 655.00,\n                \"countryOfOrigin\": \"IN\",\n                \"harmonizedSystemCode\": \"8471499000\",\n                \"commodityTypeCode\": \"AIR_FREIGHT\",\n                \"htsusCode\": \"8471499000\",\n                \"orderNumber\": \"TEST_LOAD_01_Update\",\n                \"deliveryNumber\": \"DN-MAA\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL001\",\n                \"containerType\": \"pallet\",\n                \"gtin\": \"00012345678905\",\n                \"customerPartNumber\": \"22EE\",\n                \"supplierPartNumber\": \"22EE\",\n                \"manufacturerPartNumber\": \"MFG-22EE\",\n                \"itemNumber\": \"ITM-22EE\",\n                \"productUpc\": \"012345678905\",\n                \"deliveryReferences\": [\"70038067644\"],\n                \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                \"brandName\": \"Generic Air Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"AIR-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n        },\n        {\n          \"stopType\": \"destinationAirport\",\n          \"externalAddressId\": \"ANC\",\n          \"sequence\": \"2\",\n          \"earliestAppointmentTime\": \"2024-04-15T04:25:45.000Z\",\n          \"latestAppointmentTime\": \"2024-04-16T06:25:45.000Z\",\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"33CC\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Air Freight Item\",\n                \"productDescription\": \"Air freight shipment item\",\n                \"productCategory\": \"General Freight\",\n                \"quantity\": 25,\n                \"measurementUnitCode\": \"PCE\",\n                \"netWeight\": 44.8,\n                \"weightUnit\": \"KGM\",\n                \"unitCost\": 25.0,\n                \"currencyCode\": \"USD\",\n                \"extendedCost\": 625.00,\n                \"freightCost\": 20.00,\n                \"additionalCharges\": 5.00,\n                \"tariffCost\": 2.50,\n                \"fourKitesCalculatedTariffCost\": 2.50,\n                \"totalLandedCost\": 655.00,\n                \"countryOfOrigin\": \"US\",\n                \"harmonizedSystemCode\": \"8471499000\",\n                \"commodityTypeCode\": \"AIR_FREIGHT\",\n                \"htsusCode\": \"8471499000\",\n                \"orderNumber\": \"TEST_LOAD_01_Update\",\n                \"deliveryNumber\": \"DN-ANC\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL002\",\n                \"containerType\": \"pallet\",\n                \"gtin\": \"00012345678912\",\n                \"customerPartNumber\": \"33CC\",\n                \"supplierPartNumber\": \"33CC\",\n                \"manufacturerPartNumber\": \"MFG-33CC\",\n                \"itemNumber\": \"ITM-33CC\",\n                \"productUpc\": \"012345678912\",\n                \"deliveryReferences\": [\"70038067644\"],\n                \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                \"brandName\": \"Generic Air Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-33CC\",\n                \"productTrackingNumber\": \"AIR-STOP-002\",\n                \"deviceType\": \"QR_CODE\"\n            }\n        ]\n        }\n      ]\n    }\n  }),\n};\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});",
        "customLabel": ""
      },
      {
        "id": "VT7nWTtyBQ2rton8YCGSg",
        "language": "swift",
        "code": "import Foundation\n#if canImport(FoundationNetworking)\nimport FoundationNetworking\n#endif\n\nvar semaphore = DispatchSemaphore (value: 0)\n\nlet parameters = \"{\\n\\\"simpleUpdate\\\" : \\\"True\\\",\\n   \\\"trackingInfo\\\": {\\n       \\\"mawb\\\": \\\"70038067644\\\"\\n   },\\n   \\\"trackingNumber\\\": \\\"70038067644\\\",\\n   \\\"load\\\": {\\n       \\\"loadNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n       \\\"carrier\\\": \\\"1234\\\",\\n       \\\"priority\\\": \\\"high\\\",\\n       \\\"carrierPermalink\\\": \\\"aaa-bbb-ccc\\\",\\n       \\\"stops\\\": [\\n           {\\n               \\\"stopType\\\": \\\"originAirport\\\",\\n               \\\"airTotalPieces\\\": \\\"100\\\",\\n               \\\"externalAddressId\\\": \\\"MAA\\\",\\n               \\\"sequence\\\": \\\"1\\\",\\n               \\\"departingFlightNumber\\\": \\\"GTI8033\\\",\\n               \\\"earliestAppointmentTime\\\": \\\"2024-03-11T04:25:45.000Z\\\",\\n               \\\"latestAppointmentTime\\\": \\\"2024-03-11T06:25:45.000Z\\\",\\n                      \\\"pallets\\\": [\\n               {\\n                   \\\"number\\\": \\\"PAL-001\\\",\\n                   \\\"parts\\\": [\\n                       {\\n                           \\\"quantity\\\": \\\"25\\\",\\n                           \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                           \\\"weight\\\": \\\"7.998\\\"\\n                       }\\n                   ]\\n               }\\n           ],\\n           \\\"productLineItems\\\": [\\n               {\\n                   \\\"productId\\\": \\\"0123456\\\",\\n                   \\\"productName\\\": \\\"Air Freight Item\\\",\\n                   \\\"productDescription\\\": \\\"Air freight shipment item\\\",\\n                   \\\"productCategory\\\": \\\"General Freight\\\",\\n                   \\\"quantity\\\": 25,\\n                   \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n                   \\\"netWeight\\\": 44.8,\\n                   \\\"weightUnit\\\": \\\"KGM\\\",\\n                   \\\"unitCost\\\": 25.0,\\n                   \\\"currencyCode\\\": \\\"USD\\\",\\n                   \\\"extendedCost\\\": 625.00,\\n                   \\\"freightCost\\\": 20.00,\\n                   \\\"additionalCharges\\\": 5.00,\\n                   \\\"tariffCost\\\": 2.50,\\n                   \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n                   \\\"totalLandedCost\\\": 655.00,\\n                   \\\"countryOfOrigin\\\": \\\"IN\\\",\\n                   \\\"harmonizedSystemCode\\\": \\\"8471499000\\\",\\n                   \\\"commodityTypeCode\\\": \\\"AIR_FREIGHT\\\",\\n                   \\\"htsusCode\\\": \\\"8471499000\\\",\\n                   \\\"orderNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n                   \\\"deliveryNumber\\\": \\\"DN-MAA\\\",\\n                   \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n                   \\\"barcode\\\": \\\"PAL001\\\",\\n                   \\\"containerType\\\": \\\"pallet\\\",\\n                   \\\"gtin\\\": \\\"00012345678905\\\",\\n                   \\\"customerPartNumber\\\": \\\"22EE\\\",\\n                   \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n                   \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n                   \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n                   \\\"productUpc\\\": \\\"012345678905\\\",\\n                   \\\"deliveryReferences\\\": [\\\"70038067644\\\"],\\n                   \\\"orderReferences\\\": [\\\"TEST_LOAD_01_Update\\\"],\\n                   \\\"brandName\\\": \\\"Generic Air Freight Co\\\",\\n                   \\\"minimumTemperature\\\": 0,\\n                   \\\"maximumTemperature\\\": 0,\\n                   \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                   \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                   \\\"productTrackingNumber\\\": \\\"AIR-STOP-001\\\",\\n                   \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n               }\\n           ]\\n           },\\n           {\\n               \\\"stopType\\\": \\\"destinationAirport\\\",\\n               \\\"externalAddressId\\\": \\\"ANC\\\",\\n               \\\"sequence\\\": \\\"2\\\",\\n               \\\"earliestAppointmentTime\\\": \\\"2024-04-15T04:25:45.000Z\\\",\\n               \\\"latestAppointmentTime\\\": \\\"2024-04-16T06:25:45.000Z\\\",\\n                      \\\"pallets\\\": [\\n               {\\n                   \\\"number\\\": \\\"PAL-002\\\",\\n                   \\\"parts\\\": [\\n                       {\\n                           \\\"quantity\\\": \\\"25\\\",\\n                           \\\"shipperPartNumber\\\": \\\"33CC\\\",\\n                           \\\"weight\\\": \\\"7.998\\\"\\n                       }\\n                   ]\\n               }\\n           ],\\n           \\\"productLineItems\\\": [\\n               {\\n                   \\\"productId\\\": \\\"0654321\\\",\\n                   \\\"productName\\\": \\\"Air Freight Item\\\",\\n                   \\\"productDescription\\\": \\\"Air freight shipment item\\\",\\n                   \\\"productCategory\\\": \\\"General Freight\\\",\\n                   \\\"quantity\\\": 25,\\n                   \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n                   \\\"netWeight\\\": 44.8,\\n                   \\\"weightUnit\\\": \\\"KGM\\\",\\n                   \\\"unitCost\\\": 25.0,\\n                   \\\"currencyCode\\\": \\\"USD\\\",\\n                   \\\"extendedCost\\\": 625.00,\\n                   \\\"freightCost\\\": 20.00,\\n                   \\\"additionalCharges\\\": 5.00,\\n                   \\\"tariffCost\\\": 2.50,\\n                   \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n                   \\\"totalLandedCost\\\": 655.00,\\n                   \\\"countryOfOrigin\\\": \\\"US\\\",\\n                   \\\"harmonizedSystemCode\\\": \\\"8471499000\\\",\\n                   \\\"commodityTypeCode\\\": \\\"AIR_FREIGHT\\\",\\n                   \\\"htsusCode\\\": \\\"8471499000\\\",\\n                   \\\"orderNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n                   \\\"deliveryNumber\\\": \\\"DN-ANC\\\",\\n                   \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n                   \\\"barcode\\\": \\\"PAL002\\\",\\n                   \\\"containerType\\\": \\\"pallet\\\",\\n                   \\\"gtin\\\": \\\"00012345678912\\\",\\n                   \\\"customerPartNumber\\\": \\\"33CC\\\",\\n                   \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n                   \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n                   \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n                   \\\"productUpc\\\": \\\"012345678912\\\",\\n                   \\\"deliveryReferences\\\": [\\\"70038067644\\\"],\\n                   \\\"orderReferences\\\": [\\\"TEST_LOAD_01_Update\\\"],\\n                   \\\"brandName\\\": \\\"Generic Air Freight Co\\\",\\n                   \\\"minimumTemperature\\\": 0,\\n                   \\\"maximumTemperature\\\": 0,\\n                   \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                   \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n                   \\\"productTrackingNumber\\\": \\\"AIR-STOP-002\\\",\\n                   \\\"deviceType\\\": \\\"QR_CODE\\\"\\n               }\\n           ]\\n           }\\n       ]\\n   }\\n}\"\nlet postData = parameters.data(using: .utf8)\n\nvar request = URLRequest(url: URL(string: \"https://api.fourkites.com/api/v1/tracking/420254202\")!,timeoutInterval: Double.infinity)\nrequest.addValue(\"application/json\", forHTTPHeaderField: \"Content-Type\")\nrequest.addValue(\"REPLACE_KEY_VALUE\", forHTTPHeaderField: \"apikey\")\n\nrequest.httpMethod = \"PATCH\"\nrequest.httpBody = postData\n\nlet task = URLSession.shared.dataTask(with: request) { data, response, error in \n  guard let data = data else {\n    print(String(describing: error))\n    semaphore.signal()\n    return\n  }\n  print(String(data: data, encoding: .utf8)!)\n  semaphore.signal()\n}\n\ntask.resume()\nsemaphore.wait()\n",
        "customLabel": ""
      },
      {
        "id": "gbJ97PQJeBVqywkyOmLUo",
        "language": "csharp",
        "code": "var client = new RestClient(\"https://api.fourkites.com/api/v1/tracking/420254202\");\nclient.Timeout = -1;\nvar request = new RestRequest(Method.PATCH);\nrequest.AddHeader(\"Content-Type\", \"application/json\");\nrequest.AddHeader(\"apikey\", \"REPLACE_KEY_VALUE\");\nvar body = @\"{\" + \"\\n\" +\n@\"\"\"simpleUpdate\"\" : \"\"True\"\",\" + \"\\n\" +\n@\"   \"\"trackingInfo\"\": {\" + \"\\n\" +\n@\"       \"\"mawb\"\": \"\"70038067644\"\"\" + \"\\n\" +\n@\"   },\" + \"\\n\" +\n@\"   \"\"trackingNumber\"\": \"\"70038067644\"\",\" + \"\\n\" +\n@\"   \"\"load\"\": {\" + \"\\n\" +\n@\"       \"\"loadNumber\"\": \"\"TEST_LOAD_01_Update\"\",\" + \"\\n\" +\n@\"       \"\"carrier\"\": \"\"1234\"\",\" + \"\\n\" +\n@\"       \"\"priority\"\": \"\"high\"\",\" + \"\\n\" +\n@\"       \"\"carrierPermalink\"\": \"\"aaa-bbb-ccc\"\",\" + \"\\n\" +\n@\"       \"\"stops\"\": [\" + \"\\n\" +\n@\"           {\" + \"\\n\" +\n@\"               \"\"stopType\"\": \"\"originAirport\"\",\" + \"\\n\" +\n@\"               \"\"airTotalPieces\"\": \"\"100\"\",\" + \"\\n\" +\n@\"               \"\"externalAddressId\"\": \"\"MAA\"\",\" + \"\\n\" +\n@\"               \"\"sequence\"\": \"\"1\"\",\" + \"\\n\" +\n@\"               \"\"departingFlightNumber\"\": \"\"GTI8033\"\",\" + \"\\n\" +\n@\"               \"\"earliestAppointmentTime\"\": \"\"2024-03-11T04:25:45.000Z\"\",\" + \"\\n\" +\n@\"               \"\"latestAppointmentTime\"\": \"\"2024-03-11T06:25:45.000Z\"\",\" + \"\\n\" +\n@\"        \"\"pallets\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"number\"\": \"\"PAL-001\"\",\" + \"\\n\" +\n@\"                \"\"parts\"\": [\" + \"\\n\" +\n@\"                    {\" + \"\\n\" +\n@\"                        \"\"quantity\"\": \"\"25\"\",\" + \"\\n\" +\n@\"                        \"\"shipperPartNumber\"\": \"\"22EE\"\",\" + \"\\n\" +\n@\"                        \"\"weight\"\": \"\"7.998\"\"\" + \"\\n\" +\n@\"                    }\" + \"\\n\" +\n@\"                ]\" + \"\\n\" +\n@\"            }\" + \"\\n\" +\n@\"        ],\" + \"\\n\" +\n@\"        \"\"productLineItems\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"productId\"\": \"\"0123456\"\",\" + \"\\n\" +\n@\"                \"\"productName\"\": \"\"Air Freight Item\"\",\" + \"\\n\" +\n@\"                \"\"productDescription\"\": \"\"Air freight shipment item\"\",\" + \"\\n\" +\n@\"                \"\"productCategory\"\": \"\"General Freight\"\",\" + \"\\n\" +\n@\"                \"\"quantity\"\": 25,\" + \"\\n\" +\n@\"                \"\"measurementUnitCode\"\": \"\"PCE\"\",\" + \"\\n\" +\n@\"                \"\"netWeight\"\": 44.8,\" + \"\\n\" +\n@\"                \"\"weightUnit\"\": \"\"KGM\"\",\" + \"\\n\" +\n@\"                \"\"unitCost\"\": 25.0,\" + \"\\n\" +\n@\"                \"\"currencyCode\"\": \"\"USD\"\",\" + \"\\n\" +\n@\"                \"\"extendedCost\"\": 625.00,\" + \"\\n\" +\n@\"                \"\"freightCost\"\": 20.00,\" + \"\\n\" +\n@\"                \"\"additionalCharges\"\": 5.00,\" + \"\\n\" +\n@\"                \"\"tariffCost\"\": 2.50,\" + \"\\n\" +\n@\"                \"\"fourKitesCalculatedTariffCost\"\": 2.50,\" + \"\\n\" +\n@\"                \"\"totalLandedCost\"\": 655.00,\" + \"\\n\" +\n@\"                \"\"countryOfOrigin\"\": \"\"IN\"\",\" + \"\\n\" +\n@\"                \"\"harmonizedSystemCode\"\": \"\"8471499000\"\",\" + \"\\n\" +\n@\"                \"\"commodityTypeCode\"\": \"\"AIR_FREIGHT\"\",\" + \"\\n\" +\n@\"                \"\"htsusCode\"\": \"\"8471499000\"\",\" + \"\\n\" +\n@\"                \"\"orderNumber\"\": \"\"TEST_LOAD_01_Update\"\",\" + \"\\n\" +\n@\"                \"\"deliveryNumber\"\": \"\"DN-MAA\"\",\" + \"\\n\" +\n@\"                \"\"handlingUnitId\"\": \"\"PAL-001\"\",\" + \"\\n\" +\n@\"                \"\"barcode\"\": \"\"PAL001\"\",\" + \"\\n\" +\n@\"                \"\"containerType\"\": \"\"pallet\"\",\" + \"\\n\" +\n@\"                \"\"gtin\"\": \"\"00012345678905\"\",\" + \"\\n\" +\n@\"                \"\"customerPartNumber\"\": \"\"22EE\"\",\" + \"\\n\" +\n@\"                \"\"supplierPartNumber\"\": \"\"22EE\"\",\" + \"\\n\" +\n@\"                \"\"manufacturerPartNumber\"\": \"\"MFG-22EE\"\",\" + \"\\n\" +\n@\"                \"\"itemNumber\"\": \"\"ITM-22EE\"\",\" + \"\\n\" +\n@\"                \"\"productUpc\"\": \"\"012345678905\"\",\" + \"\\n\" +\n@\"                \"\"deliveryReferences\"\": [\"\"70038067644\"\"],\" + \"\\n\" +\n@\"                \"\"orderReferences\"\": [\"\"TEST_LOAD_01_Update\"\"],\" + \"\\n\" +\n@\"                \"\"brandName\"\": \"\"Generic Air Freight Co\"\",\" + \"\\n\" +\n@\"                \"\"minimumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"maximumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"temperatureUnitCode\"\": \"\"cel\"\",\" + \"\\n\" +\n@\"                \"\"labelIdentifier\"\": \"\"LBL-22EE\"\",\" + \"\\n\" +\n@\"                \"\"productTrackingNumber\"\": \"\"AIR-STOP-001\"\",\" + \"\\n\" +\n@\"                \"\"deviceType\"\": \"\"RFID_TAG\"\"\" + \"\\n\" +\n@\"            }\" + \"\\n\" +\n@\"        ]\" + \"\\n\" +\n@\"           },\" + \"\\n\" +\n@\"           {\" + \"\\n\" +\n@\"               \"\"stopType\"\": \"\"destinationAirport\"\",\" + \"\\n\" +\n@\"               \"\"externalAddressId\"\": \"\"ANC\"\",\" + \"\\n\" +\n@\"               \"\"sequence\"\": \"\"2\"\",\" + \"\\n\" +\n@\"               \"\"earliestAppointmentTime\"\": \"\"2024-04-15T04:25:45.000Z\"\",\" + \"\\n\" +\n@\"               \"\"latestAppointmentTime\"\": \"\"2024-04-16T06:25:45.000Z\"\",\" + \"\\n\" +\n@\"        \"\"pallets\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"number\"\": \"\"PAL-002\"\",\" + \"\\n\" +\n@\"                \"\"parts\"\": [\" + \"\\n\" +\n@\"                    {\" + \"\\n\" +\n@\"                        \"\"quantity\"\": \"\"25\"\",\" + \"\\n\" +\n@\"                        \"\"shipperPartNumber\"\": \"\"33CC\"\",\" + \"\\n\" +\n@\"                        \"\"weight\"\": \"\"7.998\"\"\" + \"\\n\" +\n@\"                    }\" + \"\\n\" +\n@\"                ]\" + \"\\n\" +\n@\"            }\" + \"\\n\" +\n@\"        ],\" + \"\\n\" +\n@\"        \"\"productLineItems\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"productId\"\": \"\"0654321\"\",\" + \"\\n\" +\n@\"                \"\"productName\"\": \"\"Air Freight Item\"\",\" + \"\\n\" +\n@\"                \"\"productDescription\"\": \"\"Air freight shipment item\"\",\" + \"\\n\" +\n@\"                \"\"productCategory\"\": \"\"General Freight\"\",\" + \"\\n\" +\n@\"                \"\"quantity\"\": 25,\" + \"\\n\" +\n@\"                \"\"measurementUnitCode\"\": \"\"PCE\"\",\" + \"\\n\" +\n@\"                \"\"netWeight\"\": 44.8,\" + \"\\n\" +\n@\"                \"\"weightUnit\"\": \"\"KGM\"\",\" + \"\\n\" +\n@\"                \"\"unitCost\"\": 25.0,\" + \"\\n\" +\n@\"                \"\"currencyCode\"\": \"\"USD\"\",\" + \"\\n\" +\n@\"                \"\"extendedCost\"\": 625.00,\" + \"\\n\" +\n@\"                \"\"freightCost\"\": 20.00,\" + \"\\n\" +\n@\"                \"\"additionalCharges\"\": 5.00,\" + \"\\n\" +\n@\"                \"\"tariffCost\"\": 2.50,\" + \"\\n\" +\n@\"                \"\"fourKitesCalculatedTariffCost\"\": 2.50,\" + \"\\n\" +\n@\"                \"\"totalLandedCost\"\": 655.00,\" + \"\\n\" +\n@\"                \"\"countryOfOrigin\"\": \"\"US\"\",\" + \"\\n\" +\n@\"                \"\"harmonizedSystemCode\"\": \"\"8471499000\"\",\" + \"\\n\" +\n@\"                \"\"commodityTypeCode\"\": \"\"AIR_FREIGHT\"\",\" + \"\\n\" +\n@\"                \"\"htsusCode\"\": \"\"8471499000\"\",\" + \"\\n\" +\n@\"                \"\"orderNumber\"\": \"\"TEST_LOAD_01_Update\"\",\" + \"\\n\" +\n@\"                \"\"deliveryNumber\"\": \"\"DN-ANC\"\",\" + \"\\n\" +\n@\"                \"\"handlingUnitId\"\": \"\"PAL-002\"\",\" + \"\\n\" +\n@\"                \"\"barcode\"\": \"\"PAL002\"\",\" + \"\\n\" +\n@\"                \"\"containerType\"\": \"\"pallet\"\",\" + \"\\n\" +\n@\"                \"\"gtin\"\": \"\"00012345678912\"\",\" + \"\\n\" +\n@\"                \"\"customerPartNumber\"\": \"\"33CC\"\",\" + \"\\n\" +\n@\"                \"\"supplierPartNumber\"\": \"\"33CC\"\",\" + \"\\n\" +\n@\"                \"\"manufacturerPartNumber\"\": \"\"MFG-33CC\"\",\" + \"\\n\" +\n@\"                \"\"itemNumber\"\": \"\"ITM-33CC\"\",\" + \"\\n\" +\n@\"                \"\"productUpc\"\": \"\"012345678912\"\",\" + \"\\n\" +\n@\"                \"\"deliveryReferences\"\": [\"\"70038067644\"\"],\" + \"\\n\" +\n@\"                \"\"orderReferences\"\": [\"\"TEST_LOAD_01_Update\"\"],\" + \"\\n\" +\n@\"                \"\"brandName\"\": \"\"Generic Air Freight Co\"\",\" + \"\\n\" +\n@\"                \"\"minimumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"maximumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"temperatureUnitCode\"\": \"\"cel\"\",\" + \"\\n\" +\n@\"                \"\"labelIdentifier\"\": \"\"LBL-33CC\"\",\" + \"\\n\" +\n@\"                \"\"productTrackingNumber\"\": \"\"AIR-STOP-002\"\",\" + \"\\n\" +\n@\"                \"\"deviceType\"\": \"\"QR_CODE\"\"\" + \"\\n\" +\n@\"            }\" + \"\\n\" +\n@\"        ]\" + \"\\n\" +\n@\"           }\" + \"\\n\" +\n@\"       ]\" + \"\\n\" +\n@\"   }\" + \"\\n\" +\n@\"}\";\nrequest.AddParameter(\"application/json\", body,  ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);\nConsole.WriteLine(response.Content);",
        "customLabel": ""
      },
      {
        "id": "33RbXtxBRsvGgb-Z8cidu",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"strings\"\n  \"net/http\"\n  \"io/ioutil\"\n)\n\nfunc main() {\n\n  url := \"https://api.fourkites.com/api/v1/tracking/420254202\"\n  method := \"PATCH\"\n\n  payload := strings.NewReader(`{\n\"simpleUpdate\" : \"True\",\n   \"trackingInfo\": {\n       \"mawb\": \"70038067644\"\n   },\n   \"trackingNumber\": \"70038067644\",\n   \"load\": {\n       \"loadNumber\": \"TEST_LOAD_01_Update\",\n       \"carrier\": \"1234\",\n       \"priority\": \"high\",\n       \"carrierPermalink\": \"aaa-bbb-ccc\",\n       \"stops\": [\n           {\n               \"stopType\": \"originAirport\",\n               \"airTotalPieces\": \"100\",\n               \"externalAddressId\": \"MAA\",\n               \"sequence\": \"1\",\n               \"departingFlightNumber\": \"GTI8033\",\n               \"earliestAppointmentTime\": \"2024-03-11T04:25:45.000Z\",\n               \"latestAppointmentTime\": \"2024-03-11T06:25:45.000Z\",\n                      \"pallets\": [\n               {\n                   \"number\": \"PAL-001\",\n                   \"parts\": [\n                       {\n                           \"quantity\": \"25\",\n                           \"shipperPartNumber\": \"22EE\",\n                           \"weight\": \"7.998\"\n                       }\n                   ]\n               }\n           ],\n           \"productLineItems\": [\n               {\n                   \"productId\": \"0123456\",\n                   \"productName\": \"Air Freight Item\",\n                   \"productDescription\": \"Air freight shipment item\",\n                   \"productCategory\": \"General Freight\",\n                   \"quantity\": 25,\n                   \"measurementUnitCode\": \"PCE\",\n                   \"netWeight\": 44.8,\n                   \"weightUnit\": \"KGM\",\n                   \"unitCost\": 25.0,\n                   \"currencyCode\": \"USD\",\n                   \"extendedCost\": 625.00,\n                   \"freightCost\": 20.00,\n                   \"additionalCharges\": 5.00,\n                   \"tariffCost\": 2.50,\n                   \"fourKitesCalculatedTariffCost\": 2.50,\n                   \"totalLandedCost\": 655.00,\n                   \"countryOfOrigin\": \"IN\",\n                   \"harmonizedSystemCode\": \"8471499000\",\n                   \"commodityTypeCode\": \"AIR_FREIGHT\",\n                   \"htsusCode\": \"8471499000\",\n                   \"orderNumber\": \"TEST_LOAD_01_Update\",\n                   \"deliveryNumber\": \"DN-MAA\",\n                   \"handlingUnitId\": \"PAL-001\",\n                   \"barcode\": \"PAL001\",\n                   \"containerType\": \"pallet\",\n                   \"gtin\": \"00012345678905\",\n                   \"customerPartNumber\": \"22EE\",\n                   \"supplierPartNumber\": \"22EE\",\n                   \"manufacturerPartNumber\": \"MFG-22EE\",\n                   \"itemNumber\": \"ITM-22EE\",\n                   \"productUpc\": \"012345678905\",\n                   \"deliveryReferences\": [\"70038067644\"],\n                   \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                   \"brandName\": \"Generic Air Freight Co\",\n                   \"minimumTemperature\": 0,\n                   \"maximumTemperature\": 0,\n                   \"temperatureUnitCode\": \"cel\",\n                   \"labelIdentifier\": \"LBL-22EE\",\n                   \"productTrackingNumber\": \"AIR-STOP-001\",\n                   \"deviceType\": \"RFID_TAG\"\n               }\n           ]\n           },\n           {\n               \"stopType\": \"destinationAirport\",\n               \"externalAddressId\": \"ANC\",\n               \"sequence\": \"2\",\n               \"earliestAppointmentTime\": \"2024-04-15T04:25:45.000Z\",\n               \"latestAppointmentTime\": \"2024-04-16T06:25:45.000Z\",\n                      \"pallets\": [\n               {\n                   \"number\": \"PAL-002\",\n                   \"parts\": [\n                       {\n                           \"quantity\": \"25\",\n                           \"shipperPartNumber\": \"33CC\",\n                           \"weight\": \"7.998\"\n                       }\n                   ]\n               }\n           ],\n           \"productLineItems\": [\n               {\n                   \"productId\": \"0654321\",\n                   \"productName\": \"Air Freight Item\",\n                   \"productDescription\": \"Air freight shipment item\",\n                   \"productCategory\": \"General Freight\",\n                   \"quantity\": 25,\n                   \"measurementUnitCode\": \"PCE\",\n                   \"netWeight\": 44.8,\n                   \"weightUnit\": \"KGM\",\n                   \"unitCost\": 25.0,\n                   \"currencyCode\": \"USD\",\n                   \"extendedCost\": 625.00,\n                   \"freightCost\": 20.00,\n                   \"additionalCharges\": 5.00,\n                   \"tariffCost\": 2.50,\n                   \"fourKitesCalculatedTariffCost\": 2.50,\n                   \"totalLandedCost\": 655.00,\n                   \"countryOfOrigin\": \"US\",\n                   \"harmonizedSystemCode\": \"8471499000\",\n                   \"commodityTypeCode\": \"AIR_FREIGHT\",\n                   \"htsusCode\": \"8471499000\",\n                   \"orderNumber\": \"TEST_LOAD_01_Update\",\n                   \"deliveryNumber\": \"DN-ANC\",\n                   \"handlingUnitId\": \"PAL-002\",\n                   \"barcode\": \"PAL002\",\n                   \"containerType\": \"pallet\",\n                   \"gtin\": \"00012345678912\",\n                   \"customerPartNumber\": \"33CC\",\n                   \"supplierPartNumber\": \"33CC\",\n                   \"manufacturerPartNumber\": \"MFG-33CC\",\n                   \"itemNumber\": \"ITM-33CC\",\n                   \"productUpc\": \"012345678912\",\n                   \"deliveryReferences\": [\"70038067644\"],\n                   \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                   \"brandName\": \"Generic Air Freight Co\",\n                   \"minimumTemperature\": 0,\n                   \"maximumTemperature\": 0,\n                   \"temperatureUnitCode\": \"cel\",\n                   \"labelIdentifier\": \"LBL-33CC\",\n                   \"productTrackingNumber\": \"AIR-STOP-002\",\n                   \"deviceType\": \"QR_CODE\"\n               }\n           ]\n           }\n       ]\n   }\n}`)\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, payload)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n  req.Header.Add(\"apikey\", \"REPLACE_KEY_VALUE\")\n\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := ioutil.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}",
        "customLabel": ""
      },
      {
        "id": "c7fZtgJLFrypW0vz2ZvBS",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fourkites.com/api/v1/tracking/420254202\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Patch.new(url)\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"apikey\"] = \"REPLACE_KEY_VALUE\"\nrequest.body = JSON.dump({\n  \"simpleUpdate\": \"True\",\n  \"trackingInfo\": {\n    \"mawb\": \"70038067644\"\n  },\n  \"trackingNumber\": \"70038067644\",\n  \"load\": {\n    \"loadNumber\": \"TEST_LOAD_01_Update\",\n    \"carrier\": \"1234\",\n    \"priority\": \"high\",\n    \"carrierPermalink\": \"aaa-bbb-ccc\",\n    \"stops\": [\n      {\n        \"stopType\": \"originAirport\",\n        \"airTotalPieces\": \"100\",\n        \"externalAddressId\": \"MAA\",\n        \"sequence\": \"1\",\n        \"departingFlightNumber\": \"GTI8033\",\n        \"earliestAppointmentTime\": \"2024-03-11T04:25:45.000Z\",\n        \"latestAppointmentTime\": \"2024-03-11T06:25:45.000Z\",\n            \"pallets\": [\n          {\n              \"number\": \"PAL-001\",\n              \"parts\": [\n                  {\n                      \"quantity\": \"25\",\n                      \"shipperPartNumber\": \"22EE\",\n                      \"weight\": \"7.998\"\n                  }\n              ]\n          }\n      ],\n      \"productLineItems\": [\n          {\n              \"productId\": \"0123456\",\n              \"productName\": \"Air Freight Item\",\n              \"productDescription\": \"Air freight shipment item\",\n              \"productCategory\": \"General Freight\",\n              \"quantity\": 25,\n              \"measurementUnitCode\": \"PCE\",\n              \"netWeight\": 44.8,\n              \"weightUnit\": \"KGM\",\n              \"unitCost\": 25.0,\n              \"currencyCode\": \"USD\",\n              \"extendedCost\": 625.00,\n              \"freightCost\": 20.00,\n              \"additionalCharges\": 5.00,\n              \"tariffCost\": 2.50,\n              \"fourKitesCalculatedTariffCost\": 2.50,\n              \"totalLandedCost\": 655.00,\n              \"countryOfOrigin\": \"IN\",\n              \"harmonizedSystemCode\": \"8471499000\",\n              \"commodityTypeCode\": \"AIR_FREIGHT\",\n              \"htsusCode\": \"8471499000\",\n              \"orderNumber\": \"TEST_LOAD_01_Update\",\n              \"deliveryNumber\": \"DN-MAA\",\n              \"handlingUnitId\": \"PAL-001\",\n              \"barcode\": \"PAL001\",\n              \"containerType\": \"pallet\",\n              \"gtin\": \"00012345678905\",\n              \"customerPartNumber\": \"22EE\",\n              \"supplierPartNumber\": \"22EE\",\n              \"manufacturerPartNumber\": \"MFG-22EE\",\n              \"itemNumber\": \"ITM-22EE\",\n              \"productUpc\": \"012345678905\",\n              \"deliveryReferences\": [\"70038067644\"],\n              \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n              \"brandName\": \"Generic Air Freight Co\",\n              \"minimumTemperature\": 0,\n              \"maximumTemperature\": 0,\n              \"temperatureUnitCode\": \"cel\",\n              \"labelIdentifier\": \"LBL-22EE\",\n              \"productTrackingNumber\": \"AIR-STOP-001\",\n              \"deviceType\": \"RFID_TAG\"\n          }\n      ]\n      },\n      {\n        \"stopType\": \"destinationAirport\",\n        \"externalAddressId\": \"ANC\",\n        \"sequence\": \"2\",\n        \"earliestAppointmentTime\": \"2024-04-15T04:25:45.000Z\",\n        \"latestAppointmentTime\": \"2024-04-16T06:25:45.000Z\",\n            \"pallets\": [\n          {\n              \"number\": \"PAL-002\",\n              \"parts\": [\n                  {\n                      \"quantity\": \"25\",\n                      \"shipperPartNumber\": \"33CC\",\n                      \"weight\": \"7.998\"\n                  }\n              ]\n          }\n      ],\n      \"productLineItems\": [\n          {\n              \"productId\": \"0654321\",\n              \"productName\": \"Air Freight Item\",\n              \"productDescription\": \"Air freight shipment item\",\n              \"productCategory\": \"General Freight\",\n              \"quantity\": 25,\n              \"measurementUnitCode\": \"PCE\",\n              \"netWeight\": 44.8,\n              \"weightUnit\": \"KGM\",\n              \"unitCost\": 25.0,\n              \"currencyCode\": \"USD\",\n              \"extendedCost\": 625.00,\n              \"freightCost\": 20.00,\n              \"additionalCharges\": 5.00,\n              \"tariffCost\": 2.50,\n              \"fourKitesCalculatedTariffCost\": 2.50,\n              \"totalLandedCost\": 655.00,\n              \"countryOfOrigin\": \"US\",\n              \"harmonizedSystemCode\": \"8471499000\",\n              \"commodityTypeCode\": \"AIR_FREIGHT\",\n              \"htsusCode\": \"8471499000\",\n              \"orderNumber\": \"TEST_LOAD_01_Update\",\n              \"deliveryNumber\": \"DN-ANC\",\n              \"handlingUnitId\": \"PAL-002\",\n              \"barcode\": \"PAL002\",\n              \"containerType\": \"pallet\",\n              \"gtin\": \"00012345678912\",\n              \"customerPartNumber\": \"33CC\",\n              \"supplierPartNumber\": \"33CC\",\n              \"manufacturerPartNumber\": \"MFG-33CC\",\n              \"itemNumber\": \"ITM-33CC\",\n              \"productUpc\": \"012345678912\",\n              \"deliveryReferences\": [\"70038067644\"],\n              \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n              \"brandName\": \"Generic Air Freight Co\",\n              \"minimumTemperature\": 0,\n              \"maximumTemperature\": 0,\n              \"temperatureUnitCode\": \"cel\",\n              \"labelIdentifier\": \"LBL-33CC\",\n              \"productTrackingNumber\": \"AIR-STOP-002\",\n              \"deviceType\": \"QR_CODE\"\n          }\n      ]\n      }\n    ]\n  }\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "9sSgAJBCgduoMml95BKke",
        "language": "python",
        "code": "import http.client\nimport json\n\nconn = http.client.HTTPSConnection(\"api.fourkites.com\")\npayload = json.dumps({\n  \"simpleUpdate\": \"True\",\n  \"trackingInfo\": {\n    \"mawb\": \"70038067644\"\n  },\n  \"trackingNumber\": \"70038067644\",\n  \"load\": {\n    \"loadNumber\": \"TEST_LOAD_01_Update\",\n    \"carrier\": \"1234\",\n    \"priority\": \"high\",\n    \"carrierPermalink\": \"aaa-bbb-ccc\",\n    \"stops\": [\n      {\n        \"stopType\": \"originAirport\",\n        \"airTotalPieces\": \"100\",\n        \"externalAddressId\": \"MAA\",\n        \"sequence\": \"1\",\n        \"departingFlightNumber\": \"GTI8033\",\n        \"earliestAppointmentTime\": \"2024-03-11T04:25:45.000Z\",\n        \"latestAppointmentTime\": \"2024-03-11T06:25:45.000Z\",\n            \"pallets\": [\n          {\n              \"number\": \"PAL-001\",\n              \"parts\": [\n                  {\n                      \"quantity\": \"25\",\n                      \"shipperPartNumber\": \"22EE\",\n                      \"weight\": \"7.998\"\n                  }\n              ]\n          }\n      ],\n      \"productLineItems\": [\n          {\n              \"productId\": \"0123456\",\n              \"productName\": \"Air Freight Item\",\n              \"productDescription\": \"Air freight shipment item\",\n              \"productCategory\": \"General Freight\",\n              \"quantity\": 25,\n              \"measurementUnitCode\": \"PCE\",\n              \"netWeight\": 44.8,\n              \"weightUnit\": \"KGM\",\n              \"unitCost\": 25.0,\n              \"currencyCode\": \"USD\",\n              \"extendedCost\": 625.00,\n              \"freightCost\": 20.00,\n              \"additionalCharges\": 5.00,\n              \"tariffCost\": 2.50,\n              \"fourKitesCalculatedTariffCost\": 2.50,\n              \"totalLandedCost\": 655.00,\n              \"countryOfOrigin\": \"IN\",\n              \"harmonizedSystemCode\": \"8471499000\",\n              \"commodityTypeCode\": \"AIR_FREIGHT\",\n              \"htsusCode\": \"8471499000\",\n              \"orderNumber\": \"TEST_LOAD_01_Update\",\n              \"deliveryNumber\": \"DN-MAA\",\n              \"handlingUnitId\": \"PAL-001\",\n              \"barcode\": \"PAL001\",\n              \"containerType\": \"pallet\",\n              \"gtin\": \"00012345678905\",\n              \"customerPartNumber\": \"22EE\",\n              \"supplierPartNumber\": \"22EE\",\n              \"manufacturerPartNumber\": \"MFG-22EE\",\n              \"itemNumber\": \"ITM-22EE\",\n              \"productUpc\": \"012345678905\",\n              \"deliveryReferences\": [\"70038067644\"],\n              \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n              \"brandName\": \"Generic Air Freight Co\",\n              \"minimumTemperature\": 0,\n              \"maximumTemperature\": 0,\n              \"temperatureUnitCode\": \"cel\",\n              \"labelIdentifier\": \"LBL-22EE\",\n              \"productTrackingNumber\": \"AIR-STOP-001\",\n              \"deviceType\": \"RFID_TAG\"\n          }\n      ]\n      },\n      {\n        \"stopType\": \"destinationAirport\",\n        \"externalAddressId\": \"ANC\",\n        \"sequence\": \"2\",\n        \"earliestAppointmentTime\": \"2024-04-15T04:25:45.000Z\",\n        \"latestAppointmentTime\": \"2024-04-16T06:25:45.000Z\",\n            \"pallets\": [\n          {\n              \"number\": \"PAL-002\",\n              \"parts\": [\n                  {\n                      \"quantity\": \"25\",\n                      \"shipperPartNumber\": \"33CC\",\n                      \"weight\": \"7.998\"\n                  }\n              ]\n          }\n      ],\n      \"productLineItems\": [\n          {\n              \"productId\": \"0654321\",\n              \"productName\": \"Air Freight Item\",\n              \"productDescription\": \"Air freight shipment item\",\n              \"productCategory\": \"General Freight\",\n              \"quantity\": 25,\n              \"measurementUnitCode\": \"PCE\",\n              \"netWeight\": 44.8,\n              \"weightUnit\": \"KGM\",\n              \"unitCost\": 25.0,\n              \"currencyCode\": \"USD\",\n              \"extendedCost\": 625.00,\n              \"freightCost\": 20.00,\n              \"additionalCharges\": 5.00,\n              \"tariffCost\": 2.50,\n              \"fourKitesCalculatedTariffCost\": 2.50,\n              \"totalLandedCost\": 655.00,\n              \"countryOfOrigin\": \"US\",\n              \"harmonizedSystemCode\": \"8471499000\",\n              \"commodityTypeCode\": \"AIR_FREIGHT\",\n              \"htsusCode\": \"8471499000\",\n              \"orderNumber\": \"TEST_LOAD_01_Update\",\n              \"deliveryNumber\": \"DN-ANC\",\n              \"handlingUnitId\": \"PAL-002\",\n              \"barcode\": \"PAL002\",\n              \"containerType\": \"pallet\",\n              \"gtin\": \"00012345678912\",\n              \"customerPartNumber\": \"33CC\",\n              \"supplierPartNumber\": \"33CC\",\n              \"manufacturerPartNumber\": \"MFG-33CC\",\n              \"itemNumber\": \"ITM-33CC\",\n              \"productUpc\": \"012345678912\",\n              \"deliveryReferences\": [\"70038067644\"],\n              \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n              \"brandName\": \"Generic Air Freight Co\",\n              \"minimumTemperature\": 0,\n              \"maximumTemperature\": 0,\n              \"temperatureUnitCode\": \"cel\",\n              \"labelIdentifier\": \"LBL-33CC\",\n              \"productTrackingNumber\": \"AIR-STOP-002\",\n              \"deviceType\": \"QR_CODE\"\n          }\n      ]\n      }\n    ]\n  }\n})\nheaders = {\n  'Content-Type': 'application/json',\n  'apikey': 'REPLACE_KEY_VALUE'\n}\nconn.request(\"PATCH\", \"/api/v1/tracking/420254202\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "n-DZmOHtEuWKXy0FjZ59S"
  },
  "results": {
    "languages": [
      {
        "id": "QKAYpPpY8aJMfbm0uWtgN",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"message\": \"Load updated successfully\",\n    \"requestId\": \"cp1gu8oikb5on1jldsa0\",\n    \"statusCode\": 200\n}"
      }
    ],
    "selectedLanguageId": "QKAYpPpY8aJMfbm0uWtgN"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "simpleUpdate",
        "kind": "optional",
        "type": "boolean",
        "description": "Indicates whether the load object in the request payload is the complete snapshot of the load to be updated. Default to false. Valid values: true or false.",
        "": "boolean"
      },
      {
        "name": "trackingInfo",
        "kind": "optional",
        "type": "object",
        "description": "It indicates the information required for tracking the load.",
        "children": [
          {
            "name": "mawb",
            "kind": "optional",
            "type": "string",
            "description": "The carrier’s air waybill issued to cover a consolidated shipment tendered by a forwarder or consolidator."
          }
        ]
      },
      {
        "name": "trackingNumber",
        "kind": "optional",
        "type": "string",
        "description": "Any tracking number provided by the carrier or other entities.",
        "children": []
      },
      {
        "name": "load",
        "kind": "required",
        "type": "object",
        "description": "It is the parent object for the load. Place the load attributes inside this object.",
        "children": [
          {
            "name": "loadNumber",
            "kind": "required",
            "type": "string",
            "description": "It is the unique load identifier from shipper's system. The load Number or BOL is an important piece of information used to link the load with truck information received from the Carrier's TMS."
          },
          {
            "name": "carrier",
            "kind": "required",
            "type": "string",
            "description": "It is the SCAC or Service Provider ID of the carrier assigned to the load. The carrier should have approved sharing of their telematics data on FourKites® for the customer."
          },
          {
            "name": "priority",
            "kind": "optional",
            "type": "string",
            "description": "It indicates whether a load is of normal or high priority. If priority is set as ‘hot’, the load will be marked as ‘Hot’. Valid values: ‘normal’, ‘high’ and ‘hot’. Defaults to normal. Setting the 'Priority' as 'hot' will mark the load as 'Hot' load."
          },
          {
            "name": "carrierPermalink",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FK platform."
          },
          {
            "name": "stops",
            "kind": "required",
            "type": "object",
            "description": "It is the list of stops for the load.",
            "children": [
              {
                "name": "stopType",
                "kind": "required",
                "type": "string",
                "description": "It defines the function of the stop. Valid values: \"originAirport\", \"destinationAirport\", etc. There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "airTotalPieces",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "externalAddressId",
                "kind": "optional",
                "type": "string",
                "description": "It is the unique identifier of the address in FourKites. This ID is sent in place of address information. UNLOCODE is preferred for port stop creation in the FK platform."
              },
              {
                "name": "sequence",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the stop's sequence on a load. The lower value indicates earliest scheduled stop completion. If the stop sequence is present for one stop on a load, it must be present on all stops. It is recommended to start at 1 and increment by 1 for each additional stop. (CM)"
              },
              {
                "name": "departingFlightNumber",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the flight number of the departing flight from the airport stop."
              },
              {
                "name": "earliestAppointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the earliest scheduled arrival time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. If the earliestAppointmentTime is sent, then the latestAppointmentTime must also be sent."
              },
              {
                "name": "latestAppointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the latest scheduled arrival time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. If the latestAppointmentTime is sent, then the earliestAppointmentTime must also be sent. latestAppointmentTime should be greater than or equal to earliestAppointmentTime."
              },
              {
                "name": "pallets",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the list of pallets to be delivered at the stop. Each pallet has a pallet number and list of parts.",
                "children": [
                  {
                    "name": "number",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the pallet number."
                  },
                  {
                    "name": "parts",
                    "kind": "optional",
                    "type": "object",
                    "description": "It indicates the list of parts in the pallet.",
                    "children": [
                      {
                        "name": "quantity",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the quantity of the part."
                      },
                      {
                        "name": "shipperPartNumber",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the shipper/manufacturer’s part number."
                      },
                      {
                        "name": "weight",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the weight of the part."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "productLineItems",
                "kind": "optional",
                "type": "object",
                "description": "It is the list of product level details associated with a stop. Replaces the legacy pallets/parts structure going forward.",
                "children": [
                  {
                    "name": "productId",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique identifier for the product. Mandatory if productLineItems object is present"
                  },
                  {
                    "name": "productName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the product"
                  },
                  {
                    "name": "productDescription",
                    "kind": "optional",
                    "type": "string",
                    "description": "Detailed description of the product"
                  },
                  {
                    "name": "productCategory",
                    "kind": "optional",
                    "type": "string",
                    "description": "Category classification of the product"
                  },
                  {
                    "name": "quantity",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Number of units in the shipment"
                  },
                  {
                    "name": "measurementUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for quantity (e.g., PCE, KG, LB)"
                  },
                  {
                    "name": "netWeight",
                    "kind": "optional",
                    "type": "string",
                    "description": "Weight of the product excluding packaging"
                  },
                  {
                    "name": "weightUnit",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for weight (e.g., KGM, LBM)"
                  },
                  {
                    "name": "unitCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Cost per unit of the product"
                  },
                  {
                    "name": "currencyCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Currency code for cost fields"
                  },
                  {
                    "name": "extendedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total cost for all units (unitCost x quantity)"
                  },
                  {
                    "name": "freightCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Freight cost allocated to this line item"
                  },
                  {
                    "name": "bestBeforeDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Expiration or best before date for the product"
                  },
                  {
                    "name": "additionalCharges",
                    "kind": "optional",
                    "type": "number",
                    "description": "Any additional charges specific to this line item"
                  },
                  {
                    "name": "tariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Tariff cost for this specific line item"
                  },
                  {
                    "name": "fourKitesCalculatedTariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "System-calculated tariff cost"
                  },
                  {
                    "name": "totalLandedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total landed cost for this line item"
                  },
                  {
                    "name": "countryOfOrigin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country of origin for this product"
                  },
                  {
                    "name": "harmonizedSystemCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "International trade classification code"
                  },
                  {
                    "name": "commodityTypeCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Commodity classification code"
                  },
                  {
                    "name": "htsusCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Harmonized Tariff Schedule code for US imports"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Purchase order number"
                  },
                  {
                    "name": "deliveryNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Delivery reference number"
                  },
                  {
                    "name": "handlingUnitId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Identifier for the handling unit (pallet, box, etc.)"
                  },
                  {
                    "name": "barcode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Product barcode"
                  },
                  {
                    "name": "containerType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of container (pallet, box, carton, etc.)"
                  },
                  {
                    "name": "gtin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Global Trade Item Number"
                  },
                  {
                    "name": "customerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Customer's part number for the product"
                  },
                  {
                    "name": "supplierPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Supplier's part number for the product"
                  },
                  {
                    "name": "manufacturerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Manufacturer's part number"
                  },
                  {
                    "name": "itemNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Internal item number"
                  },
                  {
                    "name": "productUpc",
                    "kind": "optional",
                    "type": "string",
                    "description": "Universal Product Code"
                  },
                  {
                    "name": "deliveryReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of delivery reference numbers"
                  },
                  {
                    "name": "orderReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of order reference numbers"
                  },
                  {
                    "name": "brandName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Brand name of the product"
                  },
                  {
                    "name": "minimumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Minimum storage/transport temperature"
                  },
                  {
                    "name": "maximumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Maximum storage/transport temperature"
                  },
                  {
                    "name": "temperatureUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Temperature unit (cel, fah)"
                  },
                  {
                    "name": "labelIdentifier",
                    "kind": "optional",
                    "type": "string",
                    "description": "Label identifier for tracking"
                  },
                  {
                    "name": "productTrackingNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique tracking number for the product"
                  },
                  {
                    "name": "deviceType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of tracking device (RFID_TAG, QR_CODE, etc.)"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "production",
  "legacyHash": "edwJ4CtpaL5OwTlSnbLIN"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Staging",
  "method": "PATCH",
  "url": "https://api-staging.fourkites.com/api/v1/tracking/420254202",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "n-DZmOHtEuWKXy0FjZ59S",
        "language": "curl",
        "code": "curl --location --request PATCH 'https://api-staging.fourkites.com/api/v1/tracking/420254202' \\\n--header 'Content-Type: application/json' \\\n--header 'apikey: REPLACE_KEY_VALUE' \\\n--data-raw '{\n\"simpleUpdate\" : \"True\",\n   \"trackingInfo\": {\n       \"mawb\": \"70038067644\"\n   },\n   \"trackingNumber\": \"70038067644\",\n   \"load\": {\n       \"loadNumber\": \"TEST_LOAD_01_Update\",\n       \"carrier\": \"1234\",\n       \"priority\": \"high\",\n       \"carrierPermalink\": \"dsv-air-zb-test\",\n       \"stops\": [\n           {\n               \"stopType\": \"originAirport\",\n               \"airTotalPieces\": \"100\",\n               \"externalAddressId\": \"MAA\",\n               \"sequence\": \"1\",\n               \"departingFlightNumber\": \"GTI8033\",\n               \"earliestAppointmentTime\": \"2024-03-11T04:25:45.000Z\",\n               \"latestAppointmentTime\": \"2024-03-11T06:25:45.000Z\",\n                      \"pallets\": [\n               {\n                   \"number\": \"PAL-001\",\n                   \"parts\": [\n                       {\n                           \"quantity\": \"25\",\n                           \"shipperPartNumber\": \"22EE\",\n                           \"weight\": \"7.998\"\n                       }\n                   ]\n               }\n           ],\n           \"productLineItems\": [\n               {\n                   \"productId\": \"0123456\",\n                   \"productName\": \"Air Freight Item\",\n                   \"productDescription\": \"Air freight shipment item\",\n                   \"productCategory\": \"General Freight\",\n                   \"quantity\": 25,\n                   \"measurementUnitCode\": \"PCE\",\n                   \"netWeight\": 44.8,\n                   \"weightUnit\": \"KGM\",\n                   \"unitCost\": 25.0,\n                   \"currencyCode\": \"USD\",\n                   \"extendedCost\": 625.00,\n                   \"freightCost\": 20.00,\n                   \"additionalCharges\": 5.00,\n                   \"tariffCost\": 2.50,\n                   \"fourKitesCalculatedTariffCost\": 2.50,\n                   \"totalLandedCost\": 655.00,\n                   \"countryOfOrigin\": \"IN\",\n                   \"harmonizedSystemCode\": \"8471499000\",\n                   \"commodityTypeCode\": \"AIR_FREIGHT\",\n                   \"htsusCode\": \"8471499000\",\n                   \"orderNumber\": \"TEST_LOAD_01_Update\",\n                   \"deliveryNumber\": \"DN-MAA\",\n                   \"handlingUnitId\": \"PAL-001\",\n                   \"barcode\": \"PAL001\",\n                   \"containerType\": \"pallet\",\n                   \"gtin\": \"00012345678905\",\n                   \"customerPartNumber\": \"22EE\",\n                   \"supplierPartNumber\": \"22EE\",\n                   \"manufacturerPartNumber\": \"MFG-22EE\",\n                   \"itemNumber\": \"ITM-22EE\",\n                   \"productUpc\": \"012345678905\",\n                   \"deliveryReferences\": [\"70038067644\"],\n                   \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                   \"brandName\": \"Generic Air Freight Co\",\n                   \"minimumTemperature\": 0,\n                   \"maximumTemperature\": 0,\n                   \"temperatureUnitCode\": \"cel\",\n                   \"labelIdentifier\": \"LBL-22EE\",\n                   \"productTrackingNumber\": \"AIR-STOP-001\",\n                   \"deviceType\": \"RFID_TAG\"\n               }\n           ]\n           },\n           {\n               \"stopType\": \"destinationAirport\",\n               \"externalAddressId\": \"ANC\",\n               \"sequence\": \"2\",\n               \"earliestAppointmentTime\": \"2024-04-15T04:25:45.000Z\",\n               \"latestAppointmentTime\": \"2024-04-16T06:25:45.000Z\",\n                      \"pallets\": [\n               {\n                   \"number\": \"PAL-002\",\n                   \"parts\": [\n                       {\n                           \"quantity\": \"25\",\n                           \"shipperPartNumber\": \"33CC\",\n                           \"weight\": \"7.998\"\n                       }\n                   ]\n               }\n           ],\n           \"productLineItems\": [\n               {\n                   \"productId\": \"0654321\",\n                   \"productName\": \"Air Freight Item\",\n                   \"productDescription\": \"Air freight shipment item\",\n                   \"productCategory\": \"General Freight\",\n                   \"quantity\": 25,\n                   \"measurementUnitCode\": \"PCE\",\n                   \"netWeight\": 44.8,\n                   \"weightUnit\": \"KGM\",\n                   \"unitCost\": 25.0,\n                   \"currencyCode\": \"USD\",\n                   \"extendedCost\": 625.00,\n                   \"freightCost\": 20.00,\n                   \"additionalCharges\": 5.00,\n                   \"tariffCost\": 2.50,\n                   \"fourKitesCalculatedTariffCost\": 2.50,\n                   \"totalLandedCost\": 655.00,\n                   \"countryOfOrigin\": \"US\",\n                   \"harmonizedSystemCode\": \"8471499000\",\n                   \"commodityTypeCode\": \"AIR_FREIGHT\",\n                   \"htsusCode\": \"8471499000\",\n                   \"orderNumber\": \"TEST_LOAD_01_Update\",\n                   \"deliveryNumber\": \"DN-ANC\",\n                   \"handlingUnitId\": \"PAL-002\",\n                   \"barcode\": \"PAL002\",\n                   \"containerType\": \"pallet\",\n                   \"gtin\": \"00012345678912\",\n                   \"customerPartNumber\": \"33CC\",\n                   \"supplierPartNumber\": \"33CC\",\n                   \"manufacturerPartNumber\": \"MFG-33CC\",\n                   \"itemNumber\": \"ITM-33CC\",\n                   \"productUpc\": \"012345678912\",\n                   \"deliveryReferences\": [\"70038067644\"],\n                   \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                   \"brandName\": \"Generic Air Freight Co\",\n                   \"minimumTemperature\": 0,\n                   \"maximumTemperature\": 0,\n                   \"temperatureUnitCode\": \"cel\",\n                   \"labelIdentifier\": \"LBL-33CC\",\n                   \"productTrackingNumber\": \"AIR-STOP-002\",\n                   \"deviceType\": \"QR_CODE\"\n               }\n           ]\n           }\n       ]\n   }\n}'",
        "customLabel": ""
      },
      {
        "id": "GbTGdRS4PwNqceJgtsfiu",
        "language": "java",
        "code": "OkHttpClient client = new OkHttpClient().newBuilder()\n  .build();\nMediaType mediaType = MediaType.parse(\"application/json\");\nRequestBody body = RequestBody.create(mediaType, \"{\\n\\\"simpleUpdate\\\" : \\\"True\\\",\\n   \\\"trackingInfo\\\": {\\n       \\\"mawb\\\": \\\"70038067644\\\"\\n   },\\n   \\\"trackingNumber\\\": \\\"70038067644\\\",\\n   \\\"load\\\": {\\n       \\\"loadNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n       \\\"carrier\\\": \\\"1234\\\",\\n       \\\"priority\\\": \\\"high\\\",\\n       \\\"carrierPermalink\\\": \\\"dsv-air-zb-test\\\",\\n       \\\"stops\\\": [\\n           {\\n               \\\"stopType\\\": \\\"originAirport\\\",\\n               \\\"airTotalPieces\\\": \\\"100\\\",\\n               \\\"externalAddressId\\\": \\\"MAA\\\",\\n               \\\"sequence\\\": \\\"1\\\",\\n               \\\"departingFlightNumber\\\": \\\"GTI8033\\\",\\n               \\\"earliestAppointmentTime\\\": \\\"2024-03-11T04:25:45.000Z\\\",\\n               \\\"latestAppointmentTime\\\": \\\"2024-03-11T06:25:45.000Z\\\",\\n                      \\\"pallets\\\": [\\n               {\\n                   \\\"number\\\": \\\"PAL-001\\\",\\n                   \\\"parts\\\": [\\n                       {\\n                           \\\"quantity\\\": \\\"25\\\",\\n                           \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                           \\\"weight\\\": \\\"7.998\\\"\\n                       }\\n                   ]\\n               }\\n           ],\\n           \\\"productLineItems\\\": [\\n               {\\n                   \\\"productId\\\": \\\"0123456\\\",\\n                   \\\"productName\\\": \\\"Air Freight Item\\\",\\n                   \\\"productDescription\\\": \\\"Air freight shipment item\\\",\\n                   \\\"productCategory\\\": \\\"General Freight\\\",\\n                   \\\"quantity\\\": 25,\\n                   \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n                   \\\"netWeight\\\": 44.8,\\n                   \\\"weightUnit\\\": \\\"KGM\\\",\\n                   \\\"unitCost\\\": 25.0,\\n                   \\\"currencyCode\\\": \\\"USD\\\",\\n                   \\\"extendedCost\\\": 625.00,\\n                   \\\"freightCost\\\": 20.00,\\n                   \\\"additionalCharges\\\": 5.00,\\n                   \\\"tariffCost\\\": 2.50,\\n                   \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n                   \\\"totalLandedCost\\\": 655.00,\\n                   \\\"countryOfOrigin\\\": \\\"IN\\\",\\n                   \\\"harmonizedSystemCode\\\": \\\"8471499000\\\",\\n                   \\\"commodityTypeCode\\\": \\\"AIR_FREIGHT\\\",\\n                   \\\"htsusCode\\\": \\\"8471499000\\\",\\n                   \\\"orderNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n                   \\\"deliveryNumber\\\": \\\"DN-MAA\\\",\\n                   \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n                   \\\"barcode\\\": \\\"PAL001\\\",\\n                   \\\"containerType\\\": \\\"pallet\\\",\\n                   \\\"gtin\\\": \\\"00012345678905\\\",\\n                   \\\"customerPartNumber\\\": \\\"22EE\\\",\\n                   \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n                   \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n                   \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n                   \\\"productUpc\\\": \\\"012345678905\\\",\\n                   \\\"deliveryReferences\\\": [\\\"70038067644\\\"],\\n                   \\\"orderReferences\\\": [\\\"TEST_LOAD_01_Update\\\"],\\n                   \\\"brandName\\\": \\\"Generic Air Freight Co\\\",\\n                   \\\"minimumTemperature\\\": 0,\\n                   \\\"maximumTemperature\\\": 0,\\n                   \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                   \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                   \\\"productTrackingNumber\\\": \\\"AIR-STOP-001\\\",\\n                   \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n               }\\n           ]\\n           },\\n           {\\n               \\\"stopType\\\": \\\"destinationAirport\\\",\\n               \\\"externalAddressId\\\": \\\"ANC\\\",\\n               \\\"sequence\\\": \\\"2\\\",\\n               \\\"earliestAppointmentTime\\\": \\\"2024-04-15T04:25:45.000Z\\\",\\n               \\\"latestAppointmentTime\\\": \\\"2024-04-16T06:25:45.000Z\\\",\\n                      \\\"pallets\\\": [\\n               {\\n                   \\\"number\\\": \\\"PAL-002\\\",\\n                   \\\"parts\\\": [\\n                       {\\n                           \\\"quantity\\\": \\\"25\\\",\\n                           \\\"shipperPartNumber\\\": \\\"33CC\\\",\\n                           \\\"weight\\\": \\\"7.998\\\"\\n                       }\\n                   ]\\n               }\\n           ],\\n           \\\"productLineItems\\\": [\\n               {\\n                   \\\"productId\\\": \\\"0654321\\\",\\n                   \\\"productName\\\": \\\"Air Freight Item\\\",\\n                   \\\"productDescription\\\": \\\"Air freight shipment item\\\",\\n                   \\\"productCategory\\\": \\\"General Freight\\\",\\n                   \\\"quantity\\\": 25,\\n                   \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n                   \\\"netWeight\\\": 44.8,\\n                   \\\"weightUnit\\\": \\\"KGM\\\",\\n                   \\\"unitCost\\\": 25.0,\\n                   \\\"currencyCode\\\": \\\"USD\\\",\\n                   \\\"extendedCost\\\": 625.00,\\n                   \\\"freightCost\\\": 20.00,\\n                   \\\"additionalCharges\\\": 5.00,\\n                   \\\"tariffCost\\\": 2.50,\\n                   \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n                   \\\"totalLandedCost\\\": 655.00,\\n                   \\\"countryOfOrigin\\\": \\\"US\\\",\\n                   \\\"harmonizedSystemCode\\\": \\\"8471499000\\\",\\n                   \\\"commodityTypeCode\\\": \\\"AIR_FREIGHT\\\",\\n                   \\\"htsusCode\\\": \\\"8471499000\\\",\\n                   \\\"orderNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n                   \\\"deliveryNumber\\\": \\\"DN-ANC\\\",\\n                   \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n                   \\\"barcode\\\": \\\"PAL002\\\",\\n                   \\\"containerType\\\": \\\"pallet\\\",\\n                   \\\"gtin\\\": \\\"00012345678912\\\",\\n                   \\\"customerPartNumber\\\": \\\"33CC\\\",\\n                   \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n                   \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n                   \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n                   \\\"productUpc\\\": \\\"012345678912\\\",\\n                   \\\"deliveryReferences\\\": [\\\"70038067644\\\"],\\n                   \\\"orderReferences\\\": [\\\"TEST_LOAD_01_Update\\\"],\\n                   \\\"brandName\\\": \\\"Generic Air Freight Co\\\",\\n                   \\\"minimumTemperature\\\": 0,\\n                   \\\"maximumTemperature\\\": 0,\\n                   \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                   \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n                   \\\"productTrackingNumber\\\": \\\"AIR-STOP-002\\\",\\n                   \\\"deviceType\\\": \\\"QR_CODE\\\"\\n               }\\n           ]\\n           }\\n       ]\\n   }\\n}\");\nRequest request = new Request.Builder()\n  .url(\"https://api-staging.fourkites.com/api/v1/tracking/420254202\")\n  .method(\"PATCH\", body)\n  .addHeader(\"Content-Type\", \"application/json\")\n  .addHeader(\"apikey\", \"REPLACE_KEY_VALUE\")\n  .build();\nResponse response = client.newCall(request).execute();",
        "customLabel": ""
      },
      {
        "id": "eNVWAy0OjYYCeDnN1Kwpa",
        "language": "javascript",
        "code": "var settings = {\n  \"url\": \"https://api-staging.fourkites.com/api/v1/tracking/420254202\",\n  \"method\": \"PATCH\",\n  \"timeout\": 0,\n  \"headers\": {\n    \"Content-Type\": \"application/json\",\n    \"apikey\": \"REPLACE_KEY_VALUE\"\n  },\n  \"data\": JSON.stringify({\n    \"simpleUpdate\": \"True\",\n    \"trackingInfo\": {\n      \"mawb\": \"70038067644\"\n    },\n    \"trackingNumber\": \"70038067644\",\n    \"load\": {\n      \"loadNumber\": \"TEST_LOAD_01_Update\",\n      \"carrier\": \"1234\",\n      \"priority\": \"high\",\n      \"carrierPermalink\": \"dsv-air-zb-test\",\n      \"stops\": [\n        {\n          \"stopType\": \"originAirport\",\n          \"airTotalPieces\": \"100\",\n          \"externalAddressId\": \"MAA\",\n          \"sequence\": \"1\",\n          \"departingFlightNumber\": \"GTI8033\",\n          \"earliestAppointmentTime\": \"2024-03-11T04:25:45.000Z\",\n          \"latestAppointmentTime\": \"2024-03-11T06:25:45.000Z\",\n                \"pallets\": [\n            {\n                \"number\": \"PAL-001\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0123456\",\n                \"productName\": \"Air Freight Item\",\n                \"productDescription\": \"Air freight shipment item\",\n                \"productCategory\": \"General Freight\",\n                \"quantity\": 25,\n                \"measurementUnitCode\": \"PCE\",\n                \"netWeight\": 44.8,\n                \"weightUnit\": \"KGM\",\n                \"unitCost\": 25.0,\n                \"currencyCode\": \"USD\",\n                \"extendedCost\": 625.00,\n                \"freightCost\": 20.00,\n                \"additionalCharges\": 5.00,\n                \"tariffCost\": 2.50,\n                \"fourKitesCalculatedTariffCost\": 2.50,\n                \"totalLandedCost\": 655.00,\n                \"countryOfOrigin\": \"IN\",\n                \"harmonizedSystemCode\": \"8471499000\",\n                \"commodityTypeCode\": \"AIR_FREIGHT\",\n                \"htsusCode\": \"8471499000\",\n                \"orderNumber\": \"TEST_LOAD_01_Update\",\n                \"deliveryNumber\": \"DN-MAA\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL001\",\n                \"containerType\": \"pallet\",\n                \"gtin\": \"00012345678905\",\n                \"customerPartNumber\": \"22EE\",\n                \"supplierPartNumber\": \"22EE\",\n                \"manufacturerPartNumber\": \"MFG-22EE\",\n                \"itemNumber\": \"ITM-22EE\",\n                \"productUpc\": \"012345678905\",\n                \"deliveryReferences\": [\"70038067644\"],\n                \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                \"brandName\": \"Generic Air Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"AIR-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n        },\n        {\n          \"stopType\": \"destinationAirport\",\n          \"externalAddressId\": \"ANC\",\n          \"sequence\": \"2\",\n          \"earliestAppointmentTime\": \"2024-04-15T04:25:45.000Z\",\n          \"latestAppointmentTime\": \"2024-04-16T06:25:45.000Z\",\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"33CC\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Air Freight Item\",\n                \"productDescription\": \"Air freight shipment item\",\n                \"productCategory\": \"General Freight\",\n                \"quantity\": 25,\n                \"measurementUnitCode\": \"PCE\",\n                \"netWeight\": 44.8,\n                \"weightUnit\": \"KGM\",\n                \"unitCost\": 25.0,\n                \"currencyCode\": \"USD\",\n                \"extendedCost\": 625.00,\n                \"freightCost\": 20.00,\n                \"additionalCharges\": 5.00,\n                \"tariffCost\": 2.50,\n                \"fourKitesCalculatedTariffCost\": 2.50,\n                \"totalLandedCost\": 655.00,\n                \"countryOfOrigin\": \"US\",\n                \"harmonizedSystemCode\": \"8471499000\",\n                \"commodityTypeCode\": \"AIR_FREIGHT\",\n                \"htsusCode\": \"8471499000\",\n                \"orderNumber\": \"TEST_LOAD_01_Update\",\n                \"deliveryNumber\": \"DN-ANC\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL002\",\n                \"containerType\": \"pallet\",\n                \"gtin\": \"00012345678912\",\n                \"customerPartNumber\": \"33CC\",\n                \"supplierPartNumber\": \"33CC\",\n                \"manufacturerPartNumber\": \"MFG-33CC\",\n                \"itemNumber\": \"ITM-33CC\",\n                \"productUpc\": \"012345678912\",\n                \"deliveryReferences\": [\"70038067644\"],\n                \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                \"brandName\": \"Generic Air Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-33CC\",\n                \"productTrackingNumber\": \"AIR-STOP-002\",\n                \"deviceType\": \"QR_CODE\"\n            }\n        ]\n        }\n      ]\n    }\n  }),\n};\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});",
        "customLabel": ""
      },
      {
        "id": "VT7nWTtyBQ2rton8YCGSg",
        "language": "swift",
        "code": "import Foundation\n#if canImport(FoundationNetworking)\nimport FoundationNetworking\n#endif\n\nvar semaphore = DispatchSemaphore (value: 0)\n\nlet parameters = \"{\\n\\\"simpleUpdate\\\" : \\\"True\\\",\\n   \\\"trackingInfo\\\": {\\n       \\\"mawb\\\": \\\"70038067644\\\"\\n   },\\n   \\\"trackingNumber\\\": \\\"70038067644\\\",\\n   \\\"load\\\": {\\n       \\\"loadNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n       \\\"carrier\\\": \\\"1234\\\",\\n       \\\"priority\\\": \\\"high\\\",\\n       \\\"carrierPermalink\\\": \\\"dsv-air-zb-test\\\",\\n       \\\"stops\\\": [\\n           {\\n               \\\"stopType\\\": \\\"originAirport\\\",\\n               \\\"airTotalPieces\\\": \\\"100\\\",\\n               \\\"externalAddressId\\\": \\\"MAA\\\",\\n               \\\"sequence\\\": \\\"1\\\",\\n               \\\"departingFlightNumber\\\": \\\"GTI8033\\\",\\n               \\\"earliestAppointmentTime\\\": \\\"2024-03-11T04:25:45.000Z\\\",\\n               \\\"latestAppointmentTime\\\": \\\"2024-03-11T06:25:45.000Z\\\",\\n                      \\\"pallets\\\": [\\n               {\\n                   \\\"number\\\": \\\"PAL-001\\\",\\n                   \\\"parts\\\": [\\n                       {\\n                           \\\"quantity\\\": \\\"25\\\",\\n                           \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                           \\\"weight\\\": \\\"7.998\\\"\\n                       }\\n                   ]\\n               }\\n           ],\\n           \\\"productLineItems\\\": [\\n               {\\n                   \\\"productId\\\": \\\"0123456\\\",\\n                   \\\"productName\\\": \\\"Air Freight Item\\\",\\n                   \\\"productDescription\\\": \\\"Air freight shipment item\\\",\\n                   \\\"productCategory\\\": \\\"General Freight\\\",\\n                   \\\"quantity\\\": 25,\\n                   \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n                   \\\"netWeight\\\": 44.8,\\n                   \\\"weightUnit\\\": \\\"KGM\\\",\\n                   \\\"unitCost\\\": 25.0,\\n                   \\\"currencyCode\\\": \\\"USD\\\",\\n                   \\\"extendedCost\\\": 625.00,\\n                   \\\"freightCost\\\": 20.00,\\n                   \\\"additionalCharges\\\": 5.00,\\n                   \\\"tariffCost\\\": 2.50,\\n                   \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n                   \\\"totalLandedCost\\\": 655.00,\\n                   \\\"countryOfOrigin\\\": \\\"IN\\\",\\n                   \\\"harmonizedSystemCode\\\": \\\"8471499000\\\",\\n                   \\\"commodityTypeCode\\\": \\\"AIR_FREIGHT\\\",\\n                   \\\"htsusCode\\\": \\\"8471499000\\\",\\n                   \\\"orderNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n                   \\\"deliveryNumber\\\": \\\"DN-MAA\\\",\\n                   \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n                   \\\"barcode\\\": \\\"PAL001\\\",\\n                   \\\"containerType\\\": \\\"pallet\\\",\\n                   \\\"gtin\\\": \\\"00012345678905\\\",\\n                   \\\"customerPartNumber\\\": \\\"22EE\\\",\\n                   \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n                   \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n                   \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n                   \\\"productUpc\\\": \\\"012345678905\\\",\\n                   \\\"deliveryReferences\\\": [\\\"70038067644\\\"],\\n                   \\\"orderReferences\\\": [\\\"TEST_LOAD_01_Update\\\"],\\n                   \\\"brandName\\\": \\\"Generic Air Freight Co\\\",\\n                   \\\"minimumTemperature\\\": 0,\\n                   \\\"maximumTemperature\\\": 0,\\n                   \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                   \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                   \\\"productTrackingNumber\\\": \\\"AIR-STOP-001\\\",\\n                   \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n               }\\n           ]\\n           },\\n           {\\n               \\\"stopType\\\": \\\"destinationAirport\\\",\\n               \\\"externalAddressId\\\": \\\"ANC\\\",\\n               \\\"sequence\\\": \\\"2\\\",\\n               \\\"earliestAppointmentTime\\\": \\\"2024-04-15T04:25:45.000Z\\\",\\n               \\\"latestAppointmentTime\\\": \\\"2024-04-16T06:25:45.000Z\\\",\\n                      \\\"pallets\\\": [\\n               {\\n                   \\\"number\\\": \\\"PAL-002\\\",\\n                   \\\"parts\\\": [\\n                       {\\n                           \\\"quantity\\\": \\\"25\\\",\\n                           \\\"shipperPartNumber\\\": \\\"33CC\\\",\\n                           \\\"weight\\\": \\\"7.998\\\"\\n                       }\\n                   ]\\n               }\\n           ],\\n           \\\"productLineItems\\\": [\\n               {\\n                   \\\"productId\\\": \\\"0654321\\\",\\n                   \\\"productName\\\": \\\"Air Freight Item\\\",\\n                   \\\"productDescription\\\": \\\"Air freight shipment item\\\",\\n                   \\\"productCategory\\\": \\\"General Freight\\\",\\n                   \\\"quantity\\\": 25,\\n                   \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n                   \\\"netWeight\\\": 44.8,\\n                   \\\"weightUnit\\\": \\\"KGM\\\",\\n                   \\\"unitCost\\\": 25.0,\\n                   \\\"currencyCode\\\": \\\"USD\\\",\\n                   \\\"extendedCost\\\": 625.00,\\n                   \\\"freightCost\\\": 20.00,\\n                   \\\"additionalCharges\\\": 5.00,\\n                   \\\"tariffCost\\\": 2.50,\\n                   \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n                   \\\"totalLandedCost\\\": 655.00,\\n                   \\\"countryOfOrigin\\\": \\\"US\\\",\\n                   \\\"harmonizedSystemCode\\\": \\\"8471499000\\\",\\n                   \\\"commodityTypeCode\\\": \\\"AIR_FREIGHT\\\",\\n                   \\\"htsusCode\\\": \\\"8471499000\\\",\\n                   \\\"orderNumber\\\": \\\"TEST_LOAD_01_Update\\\",\\n                   \\\"deliveryNumber\\\": \\\"DN-ANC\\\",\\n                   \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n                   \\\"barcode\\\": \\\"PAL002\\\",\\n                   \\\"containerType\\\": \\\"pallet\\\",\\n                   \\\"gtin\\\": \\\"00012345678912\\\",\\n                   \\\"customerPartNumber\\\": \\\"33CC\\\",\\n                   \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n                   \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n                   \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n                   \\\"productUpc\\\": \\\"012345678912\\\",\\n                   \\\"deliveryReferences\\\": [\\\"70038067644\\\"],\\n                   \\\"orderReferences\\\": [\\\"TEST_LOAD_01_Update\\\"],\\n                   \\\"brandName\\\": \\\"Generic Air Freight Co\\\",\\n                   \\\"minimumTemperature\\\": 0,\\n                   \\\"maximumTemperature\\\": 0,\\n                   \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                   \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n                   \\\"productTrackingNumber\\\": \\\"AIR-STOP-002\\\",\\n                   \\\"deviceType\\\": \\\"QR_CODE\\\"\\n               }\\n           ]\\n           }\\n       ]\\n   }\\n}\"\nlet postData = parameters.data(using: .utf8)\n\nvar request = URLRequest(url: URL(string: \"https://api-staging.fourkites.com/api/v1/tracking/420254202\")!,timeoutInterval: Double.infinity)\nrequest.addValue(\"application/json\", forHTTPHeaderField: \"Content-Type\")\nrequest.addValue(\"REPLACE_KEY_VALUE\", forHTTPHeaderField: \"apikey\")\n\nrequest.httpMethod = \"PATCH\"\nrequest.httpBody = postData\n\nlet task = URLSession.shared.dataTask(with: request) { data, response, error in \n  guard let data = data else {\n    print(String(describing: error))\n    semaphore.signal()\n    return\n  }\n  print(String(data: data, encoding: .utf8)!)\n  semaphore.signal()\n}\n\ntask.resume()\nsemaphore.wait()\n",
        "customLabel": ""
      },
      {
        "id": "gbJ97PQJeBVqywkyOmLUo",
        "language": "csharp",
        "code": "var client = new RestClient(\"https://api-staging.fourkites.com/api/v1/tracking/420254202\");\nclient.Timeout = -1;\nvar request = new RestRequest(Method.PATCH);\nrequest.AddHeader(\"Content-Type\", \"application/json\");\nrequest.AddHeader(\"apikey\", \"REPLACE_KEY_VALUE\");\nvar body = @\"{\" + \"\\n\" +\n@\"\"\"simpleUpdate\"\" : \"\"True\"\",\" + \"\\n\" +\n@\"   \"\"trackingInfo\"\": {\" + \"\\n\" +\n@\"       \"\"mawb\"\": \"\"70038067644\"\"\" + \"\\n\" +\n@\"   },\" + \"\\n\" +\n@\"   \"\"trackingNumber\"\": \"\"70038067644\"\",\" + \"\\n\" +\n@\"   \"\"load\"\": {\" + \"\\n\" +\n@\"       \"\"loadNumber\"\": \"\"TEST_LOAD_01_Update\"\",\" + \"\\n\" +\n@\"       \"\"carrier\"\": \"\"1234\"\",\" + \"\\n\" +\n@\"       \"\"priority\"\": \"\"high\"\",\" + \"\\n\" +\n@\"       \"\"carrierPermalink\"\": \"\"dsv-air-zb-test\"\",\" + \"\\n\" +\n@\"       \"\"stops\"\": [\" + \"\\n\" +\n@\"           {\" + \"\\n\" +\n@\"               \"\"stopType\"\": \"\"originAirport\"\",\" + \"\\n\" +\n@\"               \"\"airTotalPieces\"\": \"\"100\"\",\" + \"\\n\" +\n@\"               \"\"externalAddressId\"\": \"\"MAA\"\",\" + \"\\n\" +\n@\"               \"\"sequence\"\": \"\"1\"\",\" + \"\\n\" +\n@\"               \"\"departingFlightNumber\"\": \"\"GTI8033\"\",\" + \"\\n\" +\n@\"               \"\"earliestAppointmentTime\"\": \"\"2024-03-11T04:25:45.000Z\"\",\" + \"\\n\" +\n@\"               \"\"latestAppointmentTime\"\": \"\"2024-03-11T06:25:45.000Z\"\",\" + \"\\n\" +\n@\"        \"\"pallets\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"number\"\": \"\"PAL-001\"\",\" + \"\\n\" +\n@\"                \"\"parts\"\": [\" + \"\\n\" +\n@\"                    {\" + \"\\n\" +\n@\"                        \"\"quantity\"\": \"\"25\"\",\" + \"\\n\" +\n@\"                        \"\"shipperPartNumber\"\": \"\"22EE\"\",\" + \"\\n\" +\n@\"                        \"\"weight\"\": \"\"7.998\"\"\" + \"\\n\" +\n@\"                    }\" + \"\\n\" +\n@\"                ]\" + \"\\n\" +\n@\"            }\" + \"\\n\" +\n@\"        ],\" + \"\\n\" +\n@\"        \"\"productLineItems\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"productId\"\": \"\"0123456\"\",\" + \"\\n\" +\n@\"                \"\"productName\"\": \"\"Air Freight Item\"\",\" + \"\\n\" +\n@\"                \"\"productDescription\"\": \"\"Air freight shipment item\"\",\" + \"\\n\" +\n@\"                \"\"productCategory\"\": \"\"General Freight\"\",\" + \"\\n\" +\n@\"                \"\"quantity\"\": 25,\" + \"\\n\" +\n@\"                \"\"measurementUnitCode\"\": \"\"PCE\"\",\" + \"\\n\" +\n@\"                \"\"netWeight\"\": 44.8,\" + \"\\n\" +\n@\"                \"\"weightUnit\"\": \"\"KGM\"\",\" + \"\\n\" +\n@\"                \"\"unitCost\"\": 25.0,\" + \"\\n\" +\n@\"                \"\"currencyCode\"\": \"\"USD\"\",\" + \"\\n\" +\n@\"                \"\"extendedCost\"\": 625.00,\" + \"\\n\" +\n@\"                \"\"freightCost\"\": 20.00,\" + \"\\n\" +\n@\"                \"\"additionalCharges\"\": 5.00,\" + \"\\n\" +\n@\"                \"\"tariffCost\"\": 2.50,\" + \"\\n\" +\n@\"                \"\"fourKitesCalculatedTariffCost\"\": 2.50,\" + \"\\n\" +\n@\"                \"\"totalLandedCost\"\": 655.00,\" + \"\\n\" +\n@\"                \"\"countryOfOrigin\"\": \"\"IN\"\",\" + \"\\n\" +\n@\"                \"\"harmonizedSystemCode\"\": \"\"8471499000\"\",\" + \"\\n\" +\n@\"                \"\"commodityTypeCode\"\": \"\"AIR_FREIGHT\"\",\" + \"\\n\" +\n@\"                \"\"htsusCode\"\": \"\"8471499000\"\",\" + \"\\n\" +\n@\"                \"\"orderNumber\"\": \"\"TEST_LOAD_01_Update\"\",\" + \"\\n\" +\n@\"                \"\"deliveryNumber\"\": \"\"DN-MAA\"\",\" + \"\\n\" +\n@\"                \"\"handlingUnitId\"\": \"\"PAL-001\"\",\" + \"\\n\" +\n@\"                \"\"barcode\"\": \"\"PAL001\"\",\" + \"\\n\" +\n@\"                \"\"containerType\"\": \"\"pallet\"\",\" + \"\\n\" +\n@\"                \"\"gtin\"\": \"\"00012345678905\"\",\" + \"\\n\" +\n@\"                \"\"customerPartNumber\"\": \"\"22EE\"\",\" + \"\\n\" +\n@\"                \"\"supplierPartNumber\"\": \"\"22EE\"\",\" + \"\\n\" +\n@\"                \"\"manufacturerPartNumber\"\": \"\"MFG-22EE\"\",\" + \"\\n\" +\n@\"                \"\"itemNumber\"\": \"\"ITM-22EE\"\",\" + \"\\n\" +\n@\"                \"\"productUpc\"\": \"\"012345678905\"\",\" + \"\\n\" +\n@\"                \"\"deliveryReferences\"\": [\"\"70038067644\"\"],\" + \"\\n\" +\n@\"                \"\"orderReferences\"\": [\"\"TEST_LOAD_01_Update\"\"],\" + \"\\n\" +\n@\"                \"\"brandName\"\": \"\"Generic Air Freight Co\"\",\" + \"\\n\" +\n@\"                \"\"minimumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"maximumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"temperatureUnitCode\"\": \"\"cel\"\",\" + \"\\n\" +\n@\"                \"\"labelIdentifier\"\": \"\"LBL-22EE\"\",\" + \"\\n\" +\n@\"                \"\"productTrackingNumber\"\": \"\"AIR-STOP-001\"\",\" + \"\\n\" +\n@\"                \"\"deviceType\"\": \"\"RFID_TAG\"\"\" + \"\\n\" +\n@\"            }\" + \"\\n\" +\n@\"        ]\" + \"\\n\" +\n@\"           },\" + \"\\n\" +\n@\"           {\" + \"\\n\" +\n@\"               \"\"stopType\"\": \"\"destinationAirport\"\",\" + \"\\n\" +\n@\"               \"\"externalAddressId\"\": \"\"ANC\"\",\" + \"\\n\" +\n@\"               \"\"sequence\"\": \"\"2\"\",\" + \"\\n\" +\n@\"               \"\"earliestAppointmentTime\"\": \"\"2024-04-15T04:25:45.000Z\"\",\" + \"\\n\" +\n@\"               \"\"latestAppointmentTime\"\": \"\"2024-04-16T06:25:45.000Z\"\",\" + \"\\n\" +\n@\"        \"\"pallets\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"number\"\": \"\"PAL-002\"\",\" + \"\\n\" +\n@\"                \"\"parts\"\": [\" + \"\\n\" +\n@\"                    {\" + \"\\n\" +\n@\"                        \"\"quantity\"\": \"\"25\"\",\" + \"\\n\" +\n@\"                        \"\"shipperPartNumber\"\": \"\"33CC\"\",\" + \"\\n\" +\n@\"                        \"\"weight\"\": \"\"7.998\"\"\" + \"\\n\" +\n@\"                    }\" + \"\\n\" +\n@\"                ]\" + \"\\n\" +\n@\"            }\" + \"\\n\" +\n@\"        ],\" + \"\\n\" +\n@\"        \"\"productLineItems\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"productId\"\": \"\"0654321\"\",\" + \"\\n\" +\n@\"                \"\"productName\"\": \"\"Air Freight Item\"\",\" + \"\\n\" +\n@\"                \"\"productDescription\"\": \"\"Air freight shipment item\"\",\" + \"\\n\" +\n@\"                \"\"productCategory\"\": \"\"General Freight\"\",\" + \"\\n\" +\n@\"                \"\"quantity\"\": 25,\" + \"\\n\" +\n@\"                \"\"measurementUnitCode\"\": \"\"PCE\"\",\" + \"\\n\" +\n@\"                \"\"netWeight\"\": 44.8,\" + \"\\n\" +\n@\"                \"\"weightUnit\"\": \"\"KGM\"\",\" + \"\\n\" +\n@\"                \"\"unitCost\"\": 25.0,\" + \"\\n\" +\n@\"                \"\"currencyCode\"\": \"\"USD\"\",\" + \"\\n\" +\n@\"                \"\"extendedCost\"\": 625.00,\" + \"\\n\" +\n@\"                \"\"freightCost\"\": 20.00,\" + \"\\n\" +\n@\"                \"\"additionalCharges\"\": 5.00,\" + \"\\n\" +\n@\"                \"\"tariffCost\"\": 2.50,\" + \"\\n\" +\n@\"                \"\"fourKitesCalculatedTariffCost\"\": 2.50,\" + \"\\n\" +\n@\"                \"\"totalLandedCost\"\": 655.00,\" + \"\\n\" +\n@\"                \"\"countryOfOrigin\"\": \"\"US\"\",\" + \"\\n\" +\n@\"                \"\"harmonizedSystemCode\"\": \"\"8471499000\"\",\" + \"\\n\" +\n@\"                \"\"commodityTypeCode\"\": \"\"AIR_FREIGHT\"\",\" + \"\\n\" +\n@\"                \"\"htsusCode\"\": \"\"8471499000\"\",\" + \"\\n\" +\n@\"                \"\"orderNumber\"\": \"\"TEST_LOAD_01_Update\"\",\" + \"\\n\" +\n@\"                \"\"deliveryNumber\"\": \"\"DN-ANC\"\",\" + \"\\n\" +\n@\"                \"\"handlingUnitId\"\": \"\"PAL-002\"\",\" + \"\\n\" +\n@\"                \"\"barcode\"\": \"\"PAL002\"\",\" + \"\\n\" +\n@\"                \"\"containerType\"\": \"\"pallet\"\",\" + \"\\n\" +\n@\"                \"\"gtin\"\": \"\"00012345678912\"\",\" + \"\\n\" +\n@\"                \"\"customerPartNumber\"\": \"\"33CC\"\",\" + \"\\n\" +\n@\"                \"\"supplierPartNumber\"\": \"\"33CC\"\",\" + \"\\n\" +\n@\"                \"\"manufacturerPartNumber\"\": \"\"MFG-33CC\"\",\" + \"\\n\" +\n@\"                \"\"itemNumber\"\": \"\"ITM-33CC\"\",\" + \"\\n\" +\n@\"                \"\"productUpc\"\": \"\"012345678912\"\",\" + \"\\n\" +\n@\"                \"\"deliveryReferences\"\": [\"\"70038067644\"\"],\" + \"\\n\" +\n@\"                \"\"orderReferences\"\": [\"\"TEST_LOAD_01_Update\"\"],\" + \"\\n\" +\n@\"                \"\"brandName\"\": \"\"Generic Air Freight Co\"\",\" + \"\\n\" +\n@\"                \"\"minimumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"maximumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"temperatureUnitCode\"\": \"\"cel\"\",\" + \"\\n\" +\n@\"                \"\"labelIdentifier\"\": \"\"LBL-33CC\"\",\" + \"\\n\" +\n@\"                \"\"productTrackingNumber\"\": \"\"AIR-STOP-002\"\",\" + \"\\n\" +\n@\"                \"\"deviceType\"\": \"\"QR_CODE\"\"\" + \"\\n\" +\n@\"            }\" + \"\\n\" +\n@\"        ]\" + \"\\n\" +\n@\"           }\" + \"\\n\" +\n@\"       ]\" + \"\\n\" +\n@\"   }\" + \"\\n\" +\n@\"}\";\nrequest.AddParameter(\"application/json\", body,  ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);\nConsole.WriteLine(response.Content);",
        "customLabel": ""
      },
      {
        "id": "33RbXtxBRsvGgb-Z8cidu",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"strings\"\n  \"net/http\"\n  \"io/ioutil\"\n)\n\nfunc main() {\n\n  url := \"https://api-staging.fourkites.com/api/v1/tracking/420254202\"\n  method := \"PATCH\"\n\n  payload := strings.NewReader(`{\n\"simpleUpdate\" : \"True\",\n   \"trackingInfo\": {\n       \"mawb\": \"70038067644\"\n   },\n   \"trackingNumber\": \"70038067644\",\n   \"load\": {\n       \"loadNumber\": \"TEST_LOAD_01_Update\",\n       \"carrier\": \"1234\",\n       \"priority\": \"high\",\n       \"carrierPermalink\": \"dsv-air-zb-test\",\n       \"stops\": [\n           {\n               \"stopType\": \"originAirport\",\n               \"airTotalPieces\": \"100\",\n               \"externalAddressId\": \"MAA\",\n               \"sequence\": \"1\",\n               \"departingFlightNumber\": \"GTI8033\",\n               \"earliestAppointmentTime\": \"2024-03-11T04:25:45.000Z\",\n               \"latestAppointmentTime\": \"2024-03-11T06:25:45.000Z\",\n                      \"pallets\": [\n               {\n                   \"number\": \"PAL-001\",\n                   \"parts\": [\n                       {\n                           \"quantity\": \"25\",\n                           \"shipperPartNumber\": \"22EE\",\n                           \"weight\": \"7.998\"\n                       }\n                   ]\n               }\n           ],\n           \"productLineItems\": [\n               {\n                   \"productId\": \"0123456\",\n                   \"productName\": \"Air Freight Item\",\n                   \"productDescription\": \"Air freight shipment item\",\n                   \"productCategory\": \"General Freight\",\n                   \"quantity\": 25,\n                   \"measurementUnitCode\": \"PCE\",\n                   \"netWeight\": 44.8,\n                   \"weightUnit\": \"KGM\",\n                   \"unitCost\": 25.0,\n                   \"currencyCode\": \"USD\",\n                   \"extendedCost\": 625.00,\n                   \"freightCost\": 20.00,\n                   \"additionalCharges\": 5.00,\n                   \"tariffCost\": 2.50,\n                   \"fourKitesCalculatedTariffCost\": 2.50,\n                   \"totalLandedCost\": 655.00,\n                   \"countryOfOrigin\": \"IN\",\n                   \"harmonizedSystemCode\": \"8471499000\",\n                   \"commodityTypeCode\": \"AIR_FREIGHT\",\n                   \"htsusCode\": \"8471499000\",\n                   \"orderNumber\": \"TEST_LOAD_01_Update\",\n                   \"deliveryNumber\": \"DN-MAA\",\n                   \"handlingUnitId\": \"PAL-001\",\n                   \"barcode\": \"PAL001\",\n                   \"containerType\": \"pallet\",\n                   \"gtin\": \"00012345678905\",\n                   \"customerPartNumber\": \"22EE\",\n                   \"supplierPartNumber\": \"22EE\",\n                   \"manufacturerPartNumber\": \"MFG-22EE\",\n                   \"itemNumber\": \"ITM-22EE\",\n                   \"productUpc\": \"012345678905\",\n                   \"deliveryReferences\": [\"70038067644\"],\n                   \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                   \"brandName\": \"Generic Air Freight Co\",\n                   \"minimumTemperature\": 0,\n                   \"maximumTemperature\": 0,\n                   \"temperatureUnitCode\": \"cel\",\n                   \"labelIdentifier\": \"LBL-22EE\",\n                   \"productTrackingNumber\": \"AIR-STOP-001\",\n                   \"deviceType\": \"RFID_TAG\"\n               }\n           ]\n           },\n           {\n               \"stopType\": \"destinationAirport\",\n               \"externalAddressId\": \"ANC\",\n               \"sequence\": \"2\",\n               \"earliestAppointmentTime\": \"2024-04-15T04:25:45.000Z\",\n               \"latestAppointmentTime\": \"2024-04-16T06:25:45.000Z\",\n                      \"pallets\": [\n               {\n                   \"number\": \"PAL-002\",\n                   \"parts\": [\n                       {\n                           \"quantity\": \"25\",\n                           \"shipperPartNumber\": \"33CC\",\n                           \"weight\": \"7.998\"\n                       }\n                   ]\n               }\n           ],\n           \"productLineItems\": [\n               {\n                   \"productId\": \"0654321\",\n                   \"productName\": \"Air Freight Item\",\n                   \"productDescription\": \"Air freight shipment item\",\n                   \"productCategory\": \"General Freight\",\n                   \"quantity\": 25,\n                   \"measurementUnitCode\": \"PCE\",\n                   \"netWeight\": 44.8,\n                   \"weightUnit\": \"KGM\",\n                   \"unitCost\": 25.0,\n                   \"currencyCode\": \"USD\",\n                   \"extendedCost\": 625.00,\n                   \"freightCost\": 20.00,\n                   \"additionalCharges\": 5.00,\n                   \"tariffCost\": 2.50,\n                   \"fourKitesCalculatedTariffCost\": 2.50,\n                   \"totalLandedCost\": 655.00,\n                   \"countryOfOrigin\": \"US\",\n                   \"harmonizedSystemCode\": \"8471499000\",\n                   \"commodityTypeCode\": \"AIR_FREIGHT\",\n                   \"htsusCode\": \"8471499000\",\n                   \"orderNumber\": \"TEST_LOAD_01_Update\",\n                   \"deliveryNumber\": \"DN-ANC\",\n                   \"handlingUnitId\": \"PAL-002\",\n                   \"barcode\": \"PAL002\",\n                   \"containerType\": \"pallet\",\n                   \"gtin\": \"00012345678912\",\n                   \"customerPartNumber\": \"33CC\",\n                   \"supplierPartNumber\": \"33CC\",\n                   \"manufacturerPartNumber\": \"MFG-33CC\",\n                   \"itemNumber\": \"ITM-33CC\",\n                   \"productUpc\": \"012345678912\",\n                   \"deliveryReferences\": [\"70038067644\"],\n                   \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n                   \"brandName\": \"Generic Air Freight Co\",\n                   \"minimumTemperature\": 0,\n                   \"maximumTemperature\": 0,\n                   \"temperatureUnitCode\": \"cel\",\n                   \"labelIdentifier\": \"LBL-33CC\",\n                   \"productTrackingNumber\": \"AIR-STOP-002\",\n                   \"deviceType\": \"QR_CODE\"\n               }\n           ]\n           }\n       ]\n   }\n}`)\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, payload)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n  req.Header.Add(\"apikey\", \"REPLACE_KEY_VALUE\")\n\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := ioutil.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}",
        "customLabel": ""
      },
      {
        "id": "c7fZtgJLFrypW0vz2ZvBS",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api-staging.fourkites.com/api/v1/tracking/420254202\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Patch.new(url)\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"apikey\"] = \"REPLACE_KEY_VALUE\"\nrequest.body = JSON.dump({\n  \"simpleUpdate\": \"True\",\n  \"trackingInfo\": {\n    \"mawb\": \"70038067644\"\n  },\n  \"trackingNumber\": \"70038067644\",\n  \"load\": {\n    \"loadNumber\": \"TEST_LOAD_01_Update\",\n    \"carrier\": \"1234\",\n    \"priority\": \"high\",\n    \"carrierPermalink\": \"dsv-air-zb-test\",\n    \"stops\": [\n      {\n        \"stopType\": \"originAirport\",\n        \"airTotalPieces\": \"100\",\n        \"externalAddressId\": \"MAA\",\n        \"sequence\": \"1\",\n        \"departingFlightNumber\": \"GTI8033\",\n        \"earliestAppointmentTime\": \"2024-03-11T04:25:45.000Z\",\n        \"latestAppointmentTime\": \"2024-03-11T06:25:45.000Z\",\n            \"pallets\": [\n          {\n              \"number\": \"PAL-001\",\n              \"parts\": [\n                  {\n                      \"quantity\": \"25\",\n                      \"shipperPartNumber\": \"22EE\",\n                      \"weight\": \"7.998\"\n                  }\n              ]\n          }\n      ],\n      \"productLineItems\": [\n          {\n              \"productId\": \"0123456\",\n              \"productName\": \"Air Freight Item\",\n              \"productDescription\": \"Air freight shipment item\",\n              \"productCategory\": \"General Freight\",\n              \"quantity\": 25,\n              \"measurementUnitCode\": \"PCE\",\n              \"netWeight\": 44.8,\n              \"weightUnit\": \"KGM\",\n              \"unitCost\": 25.0,\n              \"currencyCode\": \"USD\",\n              \"extendedCost\": 625.00,\n              \"freightCost\": 20.00,\n              \"additionalCharges\": 5.00,\n              \"tariffCost\": 2.50,\n              \"fourKitesCalculatedTariffCost\": 2.50,\n              \"totalLandedCost\": 655.00,\n              \"countryOfOrigin\": \"IN\",\n              \"harmonizedSystemCode\": \"8471499000\",\n              \"commodityTypeCode\": \"AIR_FREIGHT\",\n              \"htsusCode\": \"8471499000\",\n              \"orderNumber\": \"TEST_LOAD_01_Update\",\n              \"deliveryNumber\": \"DN-MAA\",\n              \"handlingUnitId\": \"PAL-001\",\n              \"barcode\": \"PAL001\",\n              \"containerType\": \"pallet\",\n              \"gtin\": \"00012345678905\",\n              \"customerPartNumber\": \"22EE\",\n              \"supplierPartNumber\": \"22EE\",\n              \"manufacturerPartNumber\": \"MFG-22EE\",\n              \"itemNumber\": \"ITM-22EE\",\n              \"productUpc\": \"012345678905\",\n              \"deliveryReferences\": [\"70038067644\"],\n              \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n              \"brandName\": \"Generic Air Freight Co\",\n              \"minimumTemperature\": 0,\n              \"maximumTemperature\": 0,\n              \"temperatureUnitCode\": \"cel\",\n              \"labelIdentifier\": \"LBL-22EE\",\n              \"productTrackingNumber\": \"AIR-STOP-001\",\n              \"deviceType\": \"RFID_TAG\"\n          }\n      ]\n      },\n      {\n        \"stopType\": \"destinationAirport\",\n        \"externalAddressId\": \"ANC\",\n        \"sequence\": \"2\",\n        \"earliestAppointmentTime\": \"2024-04-15T04:25:45.000Z\",\n        \"latestAppointmentTime\": \"2024-04-16T06:25:45.000Z\",\n            \"pallets\": [\n          {\n              \"number\": \"PAL-002\",\n              \"parts\": [\n                  {\n                      \"quantity\": \"25\",\n                      \"shipperPartNumber\": \"33CC\",\n                      \"weight\": \"7.998\"\n                  }\n              ]\n          }\n      ],\n      \"productLineItems\": [\n          {\n              \"productId\": \"0654321\",\n              \"productName\": \"Air Freight Item\",\n              \"productDescription\": \"Air freight shipment item\",\n              \"productCategory\": \"General Freight\",\n              \"quantity\": 25,\n              \"measurementUnitCode\": \"PCE\",\n              \"netWeight\": 44.8,\n              \"weightUnit\": \"KGM\",\n              \"unitCost\": 25.0,\n              \"currencyCode\": \"USD\",\n              \"extendedCost\": 625.00,\n              \"freightCost\": 20.00,\n              \"additionalCharges\": 5.00,\n              \"tariffCost\": 2.50,\n              \"fourKitesCalculatedTariffCost\": 2.50,\n              \"totalLandedCost\": 655.00,\n              \"countryOfOrigin\": \"US\",\n              \"harmonizedSystemCode\": \"8471499000\",\n              \"commodityTypeCode\": \"AIR_FREIGHT\",\n              \"htsusCode\": \"8471499000\",\n              \"orderNumber\": \"TEST_LOAD_01_Update\",\n              \"deliveryNumber\": \"DN-ANC\",\n              \"handlingUnitId\": \"PAL-002\",\n              \"barcode\": \"PAL002\",\n              \"containerType\": \"pallet\",\n              \"gtin\": \"00012345678912\",\n              \"customerPartNumber\": \"33CC\",\n              \"supplierPartNumber\": \"33CC\",\n              \"manufacturerPartNumber\": \"MFG-33CC\",\n              \"itemNumber\": \"ITM-33CC\",\n              \"productUpc\": \"012345678912\",\n              \"deliveryReferences\": [\"70038067644\"],\n              \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n              \"brandName\": \"Generic Air Freight Co\",\n              \"minimumTemperature\": 0,\n              \"maximumTemperature\": 0,\n              \"temperatureUnitCode\": \"cel\",\n              \"labelIdentifier\": \"LBL-33CC\",\n              \"productTrackingNumber\": \"AIR-STOP-002\",\n              \"deviceType\": \"QR_CODE\"\n          }\n      ]\n      }\n    ]\n  }\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "9sSgAJBCgduoMml95BKke",
        "language": "python",
        "code": "import http.client\nimport json\n\nconn = http.client.HTTPSConnection(\"api-staging.fourkites.com\")\npayload = json.dumps({\n  \"simpleUpdate\": \"True\",\n  \"trackingInfo\": {\n    \"mawb\": \"70038067644\"\n  },\n  \"trackingNumber\": \"70038067644\",\n  \"load\": {\n    \"loadNumber\": \"TEST_LOAD_01_Update\",\n    \"carrier\": \"1234\",\n    \"priority\": \"high\",\n    \"carrierPermalink\": \"dsv-air-zb-test\",\n    \"stops\": [\n      {\n        \"stopType\": \"originAirport\",\n        \"airTotalPieces\": \"100\",\n        \"externalAddressId\": \"MAA\",\n        \"sequence\": \"1\",\n        \"departingFlightNumber\": \"GTI8033\",\n        \"earliestAppointmentTime\": \"2024-03-11T04:25:45.000Z\",\n        \"latestAppointmentTime\": \"2024-03-11T06:25:45.000Z\",\n            \"pallets\": [\n          {\n              \"number\": \"PAL-001\",\n              \"parts\": [\n                  {\n                      \"quantity\": \"25\",\n                      \"shipperPartNumber\": \"22EE\",\n                      \"weight\": \"7.998\"\n                  }\n              ]\n          }\n      ],\n      \"productLineItems\": [\n          {\n              \"productId\": \"0123456\",\n              \"productName\": \"Air Freight Item\",\n              \"productDescription\": \"Air freight shipment item\",\n              \"productCategory\": \"General Freight\",\n              \"quantity\": 25,\n              \"measurementUnitCode\": \"PCE\",\n              \"netWeight\": 44.8,\n              \"weightUnit\": \"KGM\",\n              \"unitCost\": 25.0,\n              \"currencyCode\": \"USD\",\n              \"extendedCost\": 625.00,\n              \"freightCost\": 20.00,\n              \"additionalCharges\": 5.00,\n              \"tariffCost\": 2.50,\n              \"fourKitesCalculatedTariffCost\": 2.50,\n              \"totalLandedCost\": 655.00,\n              \"countryOfOrigin\": \"IN\",\n              \"harmonizedSystemCode\": \"8471499000\",\n              \"commodityTypeCode\": \"AIR_FREIGHT\",\n              \"htsusCode\": \"8471499000\",\n              \"orderNumber\": \"TEST_LOAD_01_Update\",\n              \"deliveryNumber\": \"DN-MAA\",\n              \"handlingUnitId\": \"PAL-001\",\n              \"barcode\": \"PAL001\",\n              \"containerType\": \"pallet\",\n              \"gtin\": \"00012345678905\",\n              \"customerPartNumber\": \"22EE\",\n              \"supplierPartNumber\": \"22EE\",\n              \"manufacturerPartNumber\": \"MFG-22EE\",\n              \"itemNumber\": \"ITM-22EE\",\n              \"productUpc\": \"012345678905\",\n              \"deliveryReferences\": [\"70038067644\"],\n              \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n              \"brandName\": \"Generic Air Freight Co\",\n              \"minimumTemperature\": 0,\n              \"maximumTemperature\": 0,\n              \"temperatureUnitCode\": \"cel\",\n              \"labelIdentifier\": \"LBL-22EE\",\n              \"productTrackingNumber\": \"AIR-STOP-001\",\n              \"deviceType\": \"RFID_TAG\"\n          }\n      ]\n      },\n      {\n        \"stopType\": \"destinationAirport\",\n        \"externalAddressId\": \"ANC\",\n        \"sequence\": \"2\",\n        \"earliestAppointmentTime\": \"2024-04-15T04:25:45.000Z\",\n        \"latestAppointmentTime\": \"2024-04-16T06:25:45.000Z\",\n            \"pallets\": [\n          {\n              \"number\": \"PAL-002\",\n              \"parts\": [\n                  {\n                      \"quantity\": \"25\",\n                      \"shipperPartNumber\": \"33CC\",\n                      \"weight\": \"7.998\"\n                  }\n              ]\n          }\n      ],\n      \"productLineItems\": [\n          {\n              \"productId\": \"0654321\",\n              \"productName\": \"Air Freight Item\",\n              \"productDescription\": \"Air freight shipment item\",\n              \"productCategory\": \"General Freight\",\n              \"quantity\": 25,\n              \"measurementUnitCode\": \"PCE\",\n              \"netWeight\": 44.8,\n              \"weightUnit\": \"KGM\",\n              \"unitCost\": 25.0,\n              \"currencyCode\": \"USD\",\n              \"extendedCost\": 625.00,\n              \"freightCost\": 20.00,\n              \"additionalCharges\": 5.00,\n              \"tariffCost\": 2.50,\n              \"fourKitesCalculatedTariffCost\": 2.50,\n              \"totalLandedCost\": 655.00,\n              \"countryOfOrigin\": \"US\",\n              \"harmonizedSystemCode\": \"8471499000\",\n              \"commodityTypeCode\": \"AIR_FREIGHT\",\n              \"htsusCode\": \"8471499000\",\n              \"orderNumber\": \"TEST_LOAD_01_Update\",\n              \"deliveryNumber\": \"DN-ANC\",\n              \"handlingUnitId\": \"PAL-002\",\n              \"barcode\": \"PAL002\",\n              \"containerType\": \"pallet\",\n              \"gtin\": \"00012345678912\",\n              \"customerPartNumber\": \"33CC\",\n              \"supplierPartNumber\": \"33CC\",\n              \"manufacturerPartNumber\": \"MFG-33CC\",\n              \"itemNumber\": \"ITM-33CC\",\n              \"productUpc\": \"012345678912\",\n              \"deliveryReferences\": [\"70038067644\"],\n              \"orderReferences\": [\"TEST_LOAD_01_Update\"],\n              \"brandName\": \"Generic Air Freight Co\",\n              \"minimumTemperature\": 0,\n              \"maximumTemperature\": 0,\n              \"temperatureUnitCode\": \"cel\",\n              \"labelIdentifier\": \"LBL-33CC\",\n              \"productTrackingNumber\": \"AIR-STOP-002\",\n              \"deviceType\": \"QR_CODE\"\n          }\n      ]\n      }\n    ]\n  }\n})\nheaders = {\n  'Content-Type': 'application/json',\n  'apikey': 'REPLACE_KEY_VALUE'\n}\nconn.request(\"PATCH\", \"/api/v1/tracking/420254202\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "n-DZmOHtEuWKXy0FjZ59S"
  },
  "results": {
    "languages": [
      {
        "id": "QKAYpPpY8aJMfbm0uWtgN",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"statusCode\": 200,\n  \"message\": \"Load creation request has been submitted successfully\",\n  \"loadId\": 176366846\n}"
      }
    ],
    "selectedLanguageId": "QKAYpPpY8aJMfbm0uWtgN"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "simpleUpdate",
        "kind": "optional",
        "type": "boolean",
        "description": "Indicates whether the load object in the request payload is the complete snapshot of the load to be updated. Default to false. Valid values: true or false.",
        "": "boolean"
      },
      {
        "name": "trackingInfo",
        "kind": "optional",
        "type": "object",
        "description": "It indicates the information required for tracking the load.",
        "children": [
          {
            "name": "mawb",
            "kind": "optional",
            "type": "string",
            "description": "The carrier’s air waybill issued to cover a consolidated shipment tendered by a forwarder or consolidator."
          }
        ]
      },
      {
        "name": "trackingNumber",
        "kind": "optional",
        "type": "string",
        "description": "Any tracking number provided by the carrier or other entities.",
        "children": []
      },
      {
        "name": "load",
        "kind": "required",
        "type": "object",
        "description": "It is the parent object for the load. Place the load attributes inside this object.",
        "children": [
          {
            "name": "loadNumber",
            "kind": "required",
            "type": "string",
            "description": "It is the unique load identifier from shipper's system. The load Number or BOL is an important piece of information used to link the load with truck information received from the Carrier's TMS."
          },
          {
            "name": "carrier",
            "kind": "required",
            "type": "string",
            "description": "It is the SCAC or Service Provider ID of the carrier assigned to the load. The carrier should have approved sharing of their telematics data on FourKites® for the customer."
          },
          {
            "name": "priority",
            "kind": "optional",
            "type": "string",
            "description": "It indicates whether a load is of normal or high priority. If priority is set as ‘hot’, the load will be marked as ‘Hot’. Valid values: ‘normal’, ‘high’ and ‘hot’. Defaults to normal. Setting the 'Priority' as 'hot' will mark the load as 'Hot' load."
          },
          {
            "name": "carrierPermalink",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FK platform."
          },
          {
            "name": "stops",
            "kind": "required",
            "type": "object",
            "description": "It is the list of stops for the load.",
            "children": [
              {
                "name": "stopType",
                "kind": "required",
                "type": "string",
                "description": "It defines the function of the stop. Valid values: \"originAirport\", \"destinationAirport\", etc. There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "airTotalPieces",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "externalAddressId",
                "kind": "optional",
                "type": "string",
                "description": "It is the unique identifier of the address in FourKites. This ID is sent in place of address information. UNLOCODE is preferred for port stop creation in the FK platform."
              },
              {
                "name": "sequence",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the stop's sequence on a load. The lower value indicates earliest scheduled stop completion. If the stop sequence is present for one stop on a load, it must be present on all stops. It is recommended to start at 1 and increment by 1 for each additional stop. (CM)"
              },
              {
                "name": "departingFlightNumber",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the flight number of the departing flight from the airport stop."
              },
              {
                "name": "earliestAppointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the earliest scheduled arrival time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. If the earliestAppointmentTime is sent, then the latestAppointmentTime must also be sent."
              },
              {
                "name": "latestAppointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the latest scheduled arrival time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. If the latestAppointmentTime is sent, then the earliestAppointmentTime must also be sent. latestAppointmentTime should be greater than or equal to earliestAppointmentTime."
              },
              {
                "name": "pallets",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the list of pallets to be delivered at the stop. Each pallet has a pallet number and list of parts.",
                "children": [
                  {
                    "name": "number",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the pallet number."
                  },
                  {
                    "name": "parts",
                    "kind": "optional",
                    "type": "object",
                    "description": "It indicates the list of parts in the pallet.",
                    "children": [
                      {
                        "name": "quantity",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the quantity of the part."
                      },
                      {
                        "name": "shipperPartNumber",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the shipper/manufacturer’s part number."
                      },
                      {
                        "name": "weight",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the weight of the part."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "productLineItems",
                "kind": "optional",
                "type": "object",
                "description": "It is the list of product level details associated with a stop. Replaces the legacy pallets/parts structure going forward.",
                "children": [
                  {
                    "name": "productId",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique identifier for the product. Mandatory if productLineItems object is present"
                  },
                  {
                    "name": "productName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the product"
                  },
                  {
                    "name": "productDescription",
                    "kind": "optional",
                    "type": "string",
                    "description": "Detailed description of the product"
                  },
                  {
                    "name": "productCategory",
                    "kind": "optional",
                    "type": "string",
                    "description": "Category classification of the product"
                  },
                  {
                    "name": "quantity",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Number of units in the shipment"
                  },
                  {
                    "name": "measurementUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for quantity (e.g., PCE, KG, LB)"
                  },
                  {
                    "name": "netWeight",
                    "kind": "optional",
                    "type": "string",
                    "description": "Weight of the product excluding packaging"
                  },
                  {
                    "name": "weightUnit",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for weight (e.g., KGM, LBM)"
                  },
                  {
                    "name": "unitCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Cost per unit of the product"
                  },
                  {
                    "name": "currencyCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Currency code for cost fields"
                  },
                  {
                    "name": "extendedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total cost for all units (unitCost x quantity)"
                  },
                  {
                    "name": "freightCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Freight cost allocated to this line item"
                  },
                  {
                    "name": "bestBeforeDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Expiration or best before date for the product"
                  },
                  {
                    "name": "additionalCharges",
                    "kind": "optional",
                    "type": "number",
                    "description": "Any additional charges specific to this line item"
                  },
                  {
                    "name": "tariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Tariff cost for this specific line item"
                  },
                  {
                    "name": "fourKitesCalculatedTariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "System-calculated tariff cost"
                  },
                  {
                    "name": "totalLandedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total landed cost for this line item"
                  },
                  {
                    "name": "countryOfOrigin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country of origin for this product"
                  },
                  {
                    "name": "harmonizedSystemCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "International trade classification code"
                  },
                  {
                    "name": "commodityTypeCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Commodity classification code"
                  },
                  {
                    "name": "htsusCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Harmonized Tariff Schedule code for US imports"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Purchase order number"
                  },
                  {
                    "name": "deliveryNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Delivery reference number"
                  },
                  {
                    "name": "handlingUnitId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Identifier for the handling unit (pallet, box, etc.)"
                  },
                  {
                    "name": "barcode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Product barcode"
                  },
                  {
                    "name": "containerType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of container (pallet, box, carton, etc.)"
                  },
                  {
                    "name": "gtin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Global Trade Item Number"
                  },
                  {
                    "name": "customerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Customer's part number for the product"
                  },
                  {
                    "name": "supplierPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Supplier's part number for the product"
                  },
                  {
                    "name": "manufacturerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Manufacturer's part number"
                  },
                  {
                    "name": "itemNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Internal item number"
                  },
                  {
                    "name": "productUpc",
                    "kind": "optional",
                    "type": "string",
                    "description": "Universal Product Code"
                  },
                  {
                    "name": "deliveryReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of delivery reference numbers"
                  },
                  {
                    "name": "orderReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of order reference numbers"
                  },
                  {
                    "name": "brandName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Brand name of the product"
                  },
                  {
                    "name": "minimumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Minimum storage/transport temperature"
                  },
                  {
                    "name": "maximumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Maximum storage/transport temperature"
                  },
                  {
                    "name": "temperatureUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Temperature unit (cel, fah)"
                  },
                  {
                    "name": "labelIdentifier",
                    "kind": "optional",
                    "type": "string",
                    "description": "Label identifier for tracking"
                  },
                  {
                    "name": "productTrackingNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique tracking number for the product"
                  },
                  {
                    "name": "deviceType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of tracking device (RFID_TAG, QR_CODE, etc.)"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "staging",
  "legacyHash": "kSwmsKgLIWTRi5JS8alZx"
}
```
:::
