---
title: Rail / Intermodal
slug: fourkites-api-reference/bxsE-rail-intermodal
icon: {"apiMethod":"PATCH"}
createdAt: 2024-04-23T10:52:08.000Z
---

To update your Rail/Intermodal load without any hassle, follow the instructions given within this document.

:::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/419367908",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "2T8GKvGE_ih-5-oVj3SK-",
        "language": "curl",
        "code": "curl --location --request PATCH 'https://api.fourkites.com/api/v1/tracking/419367908' \\\n--header 'Content-Type: application/json' \\\n--header 'apikey: REPLACE_KEY_VALUE' \\\n--data-raw '{\n    \"trackingInfo\": {\n        \"driverPhone\": \"\",\n        \"truckNumber\": \"\",\n        \"railEquipmentInitials\": \"RAIL\",\n        \"railEquipmentNumber\": \"654405\",\n        \"wagonNumber\": \"qwerty123\"\n    },\n    \"load\": {\n        \"loadNumber\": \"TestRail05\",\n        \"skipAppointmentTimeValidation\": true,\n        \"priority\": \"normal\",\n        \"carrier\": \"cc79\",\n        \"carrierPermalink\": \"support-carrier-production\",\n        \"carrierName\": \"Support Carrier (Production)\",\n        \"shipper\": null,\n        \"products\": [],\n        \"stops\": [\n            {\n                \"stopType\": \"pickup\",\n                \"completeAddress\": \"Chennai, TN - 600003, IN\",\n                \"city\": \"Chennai\",\n                \"state\": \"TN\",\n                \"country\": \"IN\",\n                \"postalCode\": null,\n                \"latitude\": 13.0816437,\n                \"longitude\": 80.2752316,\n                \"geofencePoints\": [],\n                \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n                \"wantTime\": null,\n                \"earliestWantTime\": null,\n                \"latestWantTime\": null,\n                \"transportationMode\": null,\n                \"useLocalLatLng\": true,\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\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-1\",\n                \"deliveryNumber\": \"DN-PAL-001\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL-001\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-1\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n            },\n            {\n                \"stopType\": \"delivery\",\n                \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n                \"city\": \"Bengaluru\",\n                \"state\": \"KA\",\n                \"country\": \"IN\",\n                \"postalCode\": \"78738\",\n                \"latitude\": 12.96643,\n                \"longitude\": 77.58718,\n                \"geofencePoints\": [],\n                \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n                \"wantTime\": null,\n                \"earliestWantTime\": null,\n                \"latestWantTime\": null,\n                \"transportationMode\": null,\n                \"addressType\": \"\",\n                \"useLocalLatLng\": true,\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-2\",\n                \"deliveryNumber\": \"DN-PAL-002\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL-002\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-2\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-002\",\n                \"deviceType\": \"QR_CODE\"\n            }\n        ]\n            }\n        ]\n    }\n}'",
        "customLabel": ""
      },
      {
        "id": "KOI7VmY27HfY4YluGKvL9",
        "language": "java",
        "code": "OkHttpClient client = new OkHttpClient().newBuilder()\n  .build();\nMediaType mediaType = MediaType.parse(\"application/json\");\nRequestBody body = RequestBody.create(mediaType, \"{\\n    \\\"trackingInfo\\\": {\\n        \\\"driverPhone\\\": \\\"\\\",\\n        \\\"truckNumber\\\": \\\"\\\",\\n        \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n        \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n        \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n    },\\n    \\\"load\\\": {\\n        \\\"loadNumber\\\": \\\"TestRail05\\\",\\n        \\\"skipAppointmentTimeValidation\\\": true,\\n        \\\"priority\\\": \\\"normal\\\",\\n        \\\"carrier\\\": \\\"cc79\\\",\\n        \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n        \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n        \\\"shipper\\\": null,\\n        \\\"products\\\": [],\\n        \\\"stops\\\": [\\n            {\\n                \\\"stopType\\\": \\\"pickup\\\",\\n                \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n                \\\"city\\\": \\\"Chennai\\\",\\n                \\\"state\\\": \\\"TN\\\",\\n                \\\"country\\\": \\\"IN\\\",\\n                \\\"postalCode\\\": null,\\n                \\\"latitude\\\": 13.0816437,\\n                \\\"longitude\\\": 80.2752316,\\n                \\\"geofencePoints\\\": [],\\n                \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n                \\\"wantTime\\\": null,\\n                \\\"earliestWantTime\\\": null,\\n                \\\"latestWantTime\\\": null,\\n                \\\"transportationMode\\\": null,\\n                \\\"useLocalLatLng\\\": true,\\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\\\": \\\"Rail Freight Item\\\",\\n                \\\"productDescription\\\": \\\"Rail/intermodal 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\\\": \\\"8607911000\\\",\\n                \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n                \\\"htsusCode\\\": \\\"8607911000\\\",\\n                \\\"orderNumber\\\": \\\"TestRail05-1\\\",\\n                \\\"deliveryNumber\\\": \\\"DN-PAL-001\\\",\\n                \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n                \\\"barcode\\\": \\\"PAL-001\\\",\\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\\\": [\\\"DEL-REF-001\\\"],\\n                \\\"orderReferences\\\": [\\\"TestRail05-1\\\"],\\n                \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n                \\\"minimumTemperature\\\": 0,\\n                \\\"maximumTemperature\\\": 0,\\n                \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                \\\"productTrackingNumber\\\": \\\"RAIL-STOP-001\\\",\\n                \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n            }\\n        ]\\n            },\\n            {\\n                \\\"stopType\\\": \\\"delivery\\\",\\n                \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n                \\\"city\\\": \\\"Bengaluru\\\",\\n                \\\"state\\\": \\\"KA\\\",\\n                \\\"country\\\": \\\"IN\\\",\\n                \\\"postalCode\\\": \\\"78738\\\",\\n                \\\"latitude\\\": 12.96643,\\n                \\\"longitude\\\": 77.58718,\\n                \\\"geofencePoints\\\": [],\\n                \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n                \\\"wantTime\\\": null,\\n                \\\"earliestWantTime\\\": null,\\n                \\\"latestWantTime\\\": null,\\n                \\\"transportationMode\\\": null,\\n                \\\"addressType\\\": \\\"\\\",\\n                \\\"useLocalLatLng\\\": true,\\n                \\\"pallets\\\": [\\n            {\\n                \\\"number\\\": \\\"PAL-002\\\",\\n                \\\"parts\\\": [\\n                    {\\n                        \\\"quantity\\\": \\\"25\\\",\\n                        \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                        \\\"weight\\\": \\\"7.998\\\"\\n                    }\\n                ]\\n            }\\n        ],\\n        \\\"productLineItems\\\": [\\n            {\\n                \\\"productId\\\": \\\"0654321\\\",\\n                \\\"productName\\\": \\\"Rail Freight Item\\\",\\n                \\\"productDescription\\\": \\\"Rail/intermodal 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\\\": \\\"8607911000\\\",\\n                \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n                \\\"htsusCode\\\": \\\"8607911000\\\",\\n                \\\"orderNumber\\\": \\\"TestRail05-2\\\",\\n                \\\"deliveryNumber\\\": \\\"DN-PAL-002\\\",\\n                \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n                \\\"barcode\\\": \\\"PAL-002\\\",\\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\\\": [\\\"DEL-REF-001\\\"],\\n                \\\"orderReferences\\\": [\\\"TestRail05-2\\\"],\\n                \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n                \\\"minimumTemperature\\\": 0,\\n                \\\"maximumTemperature\\\": 0,\\n                \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                \\\"productTrackingNumber\\\": \\\"RAIL-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/419367908\")\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": "--ZKCb1pUtyeQzmYUqupr",
        "language": "javascript",
        "code": "var settings = {\n  \"url\": \"https://api.fourkites.com/api/v1/tracking/419367908\",\n  \"method\": \"PATCH\",\n  \"timeout\": 0,\n  \"headers\": {\n    \"Content-Type\": \"application/json\",\n    \"apikey\": \"REPLACE_KEY_VALUE\"\n  },\n  \"data\": JSON.stringify({\n    \"trackingInfo\": {\n      \"driverPhone\": \"\",\n      \"truckNumber\": \"\",\n      \"railEquipmentInitials\": \"RAIL\",\n      \"railEquipmentNumber\": \"654405\",\n      \"wagonNumber\": \"qwerty123\"\n    },\n    \"load\": {\n      \"loadNumber\": \"TestRail05\",\n      \"skipAppointmentTimeValidation\": true,\n      \"priority\": \"normal\",\n      \"carrier\": \"cc79\",\n      \"carrierPermalink\": \"support-carrier-production\",\n      \"carrierName\": \"Support Carrier (Production)\",\n      \"shipper\": null,\n      \"products\": [],\n      \"stops\": [\n        {\n          \"stopType\": \"pickup\",\n          \"completeAddress\": \"Chennai, TN - 600003, IN\",\n          \"city\": \"Chennai\",\n          \"state\": \"TN\",\n          \"country\": \"IN\",\n          \"postalCode\": null,\n          \"latitude\": 13.0816437,\n          \"longitude\": 80.2752316,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"useLocalLatLng\": true,\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\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-1\",\n                \"deliveryNumber\": \"DN-PAL-001\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL-001\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-1\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n        },\n        {\n          \"stopType\": \"delivery\",\n          \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n          \"city\": \"Bengaluru\",\n          \"state\": \"KA\",\n          \"country\": \"IN\",\n          \"postalCode\": \"78738\",\n          \"latitude\": 12.96643,\n          \"longitude\": 77.58718,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"addressType\": \"\",\n          \"useLocalLatLng\": true,\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-2\",\n                \"deliveryNumber\": \"DN-PAL-002\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL-002\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-2\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-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": "B0V6MBnozDHqgTJIFH-_R",
        "language": "swift",
        "code": "import Foundation\n#if canImport(FoundationNetworking)\nimport FoundationNetworking\n#endif\n\nvar semaphore = DispatchSemaphore (value: 0)\n\nlet parameters = \"{\\n    \\\"trackingInfo\\\": {\\n        \\\"driverPhone\\\": \\\"\\\",\\n        \\\"truckNumber\\\": \\\"\\\",\\n        \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n        \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n        \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n    },\\n    \\\"load\\\": {\\n        \\\"loadNumber\\\": \\\"TestRail05\\\",\\n        \\\"skipAppointmentTimeValidation\\\": true,\\n        \\\"priority\\\": \\\"normal\\\",\\n        \\\"carrier\\\": \\\"cc79\\\",\\n        \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n        \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n        \\\"shipper\\\": null,\\n        \\\"products\\\": [],\\n        \\\"stops\\\": [\\n            {\\n                \\\"stopType\\\": \\\"pickup\\\",\\n                \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n                \\\"city\\\": \\\"Chennai\\\",\\n                \\\"state\\\": \\\"TN\\\",\\n                \\\"country\\\": \\\"IN\\\",\\n                \\\"postalCode\\\": null,\\n                \\\"latitude\\\": 13.0816437,\\n                \\\"longitude\\\": 80.2752316,\\n                \\\"geofencePoints\\\": [],\\n                \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n                \\\"wantTime\\\": null,\\n                \\\"earliestWantTime\\\": null,\\n                \\\"latestWantTime\\\": null,\\n                \\\"transportationMode\\\": null,\\n                \\\"useLocalLatLng\\\": true,\\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\\\": \\\"Rail Freight Item\\\",\\n                \\\"productDescription\\\": \\\"Rail/intermodal 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\\\": \\\"8607911000\\\",\\n                \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n                \\\"htsusCode\\\": \\\"8607911000\\\",\\n                \\\"orderNumber\\\": \\\"TestRail05-1\\\",\\n                \\\"deliveryNumber\\\": \\\"DN-PAL-001\\\",\\n                \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n                \\\"barcode\\\": \\\"PAL-001\\\",\\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\\\": [\\\"DEL-REF-001\\\"],\\n                \\\"orderReferences\\\": [\\\"TestRail05-1\\\"],\\n                \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n                \\\"minimumTemperature\\\": 0,\\n                \\\"maximumTemperature\\\": 0,\\n                \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                \\\"productTrackingNumber\\\": \\\"RAIL-STOP-001\\\",\\n                \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n            }\\n        ]\\n            },\\n            {\\n                \\\"stopType\\\": \\\"delivery\\\",\\n                \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n                \\\"city\\\": \\\"Bengaluru\\\",\\n                \\\"state\\\": \\\"KA\\\",\\n                \\\"country\\\": \\\"IN\\\",\\n                \\\"postalCode\\\": \\\"78738\\\",\\n                \\\"latitude\\\": 12.96643,\\n                \\\"longitude\\\": 77.58718,\\n                \\\"geofencePoints\\\": [],\\n                \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n                \\\"wantTime\\\": null,\\n                \\\"earliestWantTime\\\": null,\\n                \\\"latestWantTime\\\": null,\\n                \\\"transportationMode\\\": null,\\n                \\\"addressType\\\": \\\"\\\",\\n                \\\"useLocalLatLng\\\": true,\\n                \\\"pallets\\\": [\\n            {\\n                \\\"number\\\": \\\"PAL-002\\\",\\n                \\\"parts\\\": [\\n                    {\\n                        \\\"quantity\\\": \\\"25\\\",\\n                        \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                        \\\"weight\\\": \\\"7.998\\\"\\n                    }\\n                ]\\n            }\\n        ],\\n        \\\"productLineItems\\\": [\\n            {\\n                \\\"productId\\\": \\\"0654321\\\",\\n                \\\"productName\\\": \\\"Rail Freight Item\\\",\\n                \\\"productDescription\\\": \\\"Rail/intermodal 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\\\": \\\"8607911000\\\",\\n                \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n                \\\"htsusCode\\\": \\\"8607911000\\\",\\n                \\\"orderNumber\\\": \\\"TestRail05-2\\\",\\n                \\\"deliveryNumber\\\": \\\"DN-PAL-002\\\",\\n                \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n                \\\"barcode\\\": \\\"PAL-002\\\",\\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\\\": [\\\"DEL-REF-001\\\"],\\n                \\\"orderReferences\\\": [\\\"TestRail05-2\\\"],\\n                \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n                \\\"minimumTemperature\\\": 0,\\n                \\\"maximumTemperature\\\": 0,\\n                \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                \\\"productTrackingNumber\\\": \\\"RAIL-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/419367908\")!,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": "9XQRKyu_6RweNH4F0C0r0",
        "language": "csharp",
        "code": "var client = new RestClient(\"https://api.fourkites.com/api/v1/tracking/419367908\");\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@\"    \"\"trackingInfo\"\": {\" + \"\\n\" +\n@\"        \"\"driverPhone\"\": \"\"\"\",\" + \"\\n\" +\n@\"        \"\"truckNumber\"\": \"\"\"\",\" + \"\\n\" +\n@\"        \"\"railEquipmentInitials\"\": \"\"RAIL\"\",\" + \"\\n\" +\n@\"        \"\"railEquipmentNumber\"\": \"\"654405\"\",\" + \"\\n\" +\n@\"        \"\"wagonNumber\"\": \"\"qwerty123\"\"\" + \"\\n\" +\n@\"    },\" + \"\\n\" +\n@\"    \"\"load\"\": {\" + \"\\n\" +\n@\"        \"\"loadNumber\"\": \"\"TestRail05\"\",\" + \"\\n\" +\n@\"        \"\"skipAppointmentTimeValidation\"\": true,\" + \"\\n\" +\n@\"        \"\"priority\"\": \"\"normal\"\",\" + \"\\n\" +\n@\"        \"\"carrier\"\": \"\"cc79\"\",\" + \"\\n\" +\n@\"        \"\"carrierPermalink\"\": \"\"support-carrier-production\"\",\" + \"\\n\" +\n@\"        \"\"carrierName\"\": \"\"Support Carrier (Production)\"\",\" + \"\\n\" +\n@\"        \"\"shipper\"\": null,\" + \"\\n\" +\n@\"        \"\"products\"\": [],\" + \"\\n\" +\n@\"        \"\"stops\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"stopType\"\": \"\"pickup\"\",\" + \"\\n\" +\n@\"                \"\"completeAddress\"\": \"\"Chennai, TN - 600003, IN\"\",\" + \"\\n\" +\n@\"                \"\"city\"\": \"\"Chennai\"\",\" + \"\\n\" +\n@\"                \"\"state\"\": \"\"TN\"\",\" + \"\\n\" +\n@\"                \"\"country\"\": \"\"IN\"\",\" + \"\\n\" +\n@\"                \"\"postalCode\"\": null,\" + \"\\n\" +\n@\"                \"\"latitude\"\": 13.0816437,\" + \"\\n\" +\n@\"                \"\"longitude\"\": 80.2752316,\" + \"\\n\" +\n@\"                \"\"geofencePoints\"\": [],\" + \"\\n\" +\n@\"                \"\"appointmentTime\"\": \"\"2024-08-20T07:35:00.000Z\"\",\" + \"\\n\" +\n@\"                \"\"wantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"earliestWantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"latestWantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"transportationMode\"\": null,\" + \"\\n\" +\n@\"                \"\"useLocalLatLng\"\": true,\" + \"\\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\"\": \"\"Rail Freight Item\"\",\" + \"\\n\" +\n@\"                \"\"productDescription\"\": \"\"Rail/intermodal 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\"\": \"\"8607911000\"\",\" + \"\\n\" +\n@\"                \"\"commodityTypeCode\"\": \"\"RAIL_FREIGHT\"\",\" + \"\\n\" +\n@\"                \"\"htsusCode\"\": \"\"8607911000\"\",\" + \"\\n\" +\n@\"                \"\"orderNumber\"\": \"\"TestRail05-1\"\",\" + \"\\n\" +\n@\"                \"\"deliveryNumber\"\": \"\"DN-PAL-001\"\",\" + \"\\n\" +\n@\"                \"\"handlingUnitId\"\": \"\"PAL-001\"\",\" + \"\\n\" +\n@\"                \"\"barcode\"\": \"\"PAL-001\"\",\" + \"\\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\"\": [\"\"DEL-REF-001\"\"],\" + \"\\n\" +\n@\"                \"\"orderReferences\"\": [\"\"TestRail05-1\"\"],\" + \"\\n\" +\n@\"                \"\"brandName\"\": \"\"Generic Rail Freight Co\"\",\" + \"\\n\" +\n@\"                \"\"minimumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"maximumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"temperatureUnitCode\"\": \"\"cel\"\",\" + \"\\n\" +\n@\"                \"\"labelIdentifier\"\": \"\"LBL-22EE\"\",\" + \"\\n\" +\n@\"                \"\"productTrackingNumber\"\": \"\"RAIL-STOP-001\"\",\" + \"\\n\" +\n@\"                \"\"deviceType\"\": \"\"RFID_TAG\"\"\" + \"\\n\" +\n@\"            }\" + \"\\n\" +\n@\"        ]\" + \"\\n\" +\n@\"            },\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"stopType\"\": \"\"delivery\"\",\" + \"\\n\" +\n@\"                \"\"completeAddress\"\": \"\"Bengaluru, KA - 560002, IN\"\",\" + \"\\n\" +\n@\"                \"\"city\"\": \"\"Bengaluru\"\",\" + \"\\n\" +\n@\"                \"\"state\"\": \"\"KA\"\",\" + \"\\n\" +\n@\"                \"\"country\"\": \"\"IN\"\",\" + \"\\n\" +\n@\"                \"\"postalCode\"\": \"\"78738\"\",\" + \"\\n\" +\n@\"                \"\"latitude\"\": 12.96643,\" + \"\\n\" +\n@\"                \"\"longitude\"\": 77.58718,\" + \"\\n\" +\n@\"                \"\"geofencePoints\"\": [],\" + \"\\n\" +\n@\"                \"\"appointmentTime\"\": \"\"2024-08-29T07:35:00.000Z\"\",\" + \"\\n\" +\n@\"                \"\"wantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"earliestWantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"latestWantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"transportationMode\"\": null,\" + \"\\n\" +\n@\"                \"\"addressType\"\": \"\"\"\",\" + \"\\n\" +\n@\"                \"\"useLocalLatLng\"\": true,\" + \"\\n\" +\n@\"        \"\"pallets\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"number\"\": \"\"PAL-002\"\",\" + \"\\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\"\": \"\"0654321\"\",\" + \"\\n\" +\n@\"                \"\"productName\"\": \"\"Rail Freight Item\"\",\" + \"\\n\" +\n@\"                \"\"productDescription\"\": \"\"Rail/intermodal 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\"\": \"\"8607911000\"\",\" + \"\\n\" +\n@\"                \"\"commodityTypeCode\"\": \"\"RAIL_FREIGHT\"\",\" + \"\\n\" +\n@\"                \"\"htsusCode\"\": \"\"8607911000\"\",\" + \"\\n\" +\n@\"                \"\"orderNumber\"\": \"\"TestRail05-2\"\",\" + \"\\n\" +\n@\"                \"\"deliveryNumber\"\": \"\"DN-PAL-002\"\",\" + \"\\n\" +\n@\"                \"\"handlingUnitId\"\": \"\"PAL-002\"\",\" + \"\\n\" +\n@\"                \"\"barcode\"\": \"\"PAL-002\"\",\" + \"\\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\"\": [\"\"DEL-REF-001\"\"],\" + \"\\n\" +\n@\"                \"\"orderReferences\"\": [\"\"TestRail05-2\"\"],\" + \"\\n\" +\n@\"                \"\"brandName\"\": \"\"Generic Rail Freight Co\"\",\" + \"\\n\" +\n@\"                \"\"minimumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"maximumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"temperatureUnitCode\"\": \"\"cel\"\",\" + \"\\n\" +\n@\"                \"\"labelIdentifier\"\": \"\"LBL-22EE\"\",\" + \"\\n\" +\n@\"                \"\"productTrackingNumber\"\": \"\"RAIL-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": "uE9F9-c8cHdN_ipHFM1Ct",
        "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/419367908\"\n  method := \"PATCH\"\n\n  payload := strings.NewReader(`{\n    \"trackingInfo\": {\n        \"driverPhone\": \"\",\n        \"truckNumber\": \"\",\n        \"railEquipmentInitials\": \"RAIL\",\n        \"railEquipmentNumber\": \"654405\",\n        \"wagonNumber\": \"qwerty123\"\n    },\n    \"load\": {\n        \"loadNumber\": \"TestRail05\",\n        \"skipAppointmentTimeValidation\": true,\n        \"priority\": \"normal\",\n        \"carrier\": \"cc79\",\n        \"carrierPermalink\": \"support-carrier-production\",\n        \"carrierName\": \"Support Carrier (Production)\",\n        \"shipper\": null,\n        \"products\": [],\n        \"stops\": [\n            {\n                \"stopType\": \"pickup\",\n                \"completeAddress\": \"Chennai, TN - 600003, IN\",\n                \"city\": \"Chennai\",\n                \"state\": \"TN\",\n                \"country\": \"IN\",\n                \"postalCode\": null,\n                \"latitude\": 13.0816437,\n                \"longitude\": 80.2752316,\n                \"geofencePoints\": [],\n                \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n                \"wantTime\": null,\n                \"earliestWantTime\": null,\n                \"latestWantTime\": null,\n                \"transportationMode\": null,\n                \"useLocalLatLng\": true,\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\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-1\",\n                \"deliveryNumber\": \"DN-PAL-001\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL-001\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-1\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n            },\n            {\n                \"stopType\": \"delivery\",\n                \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n                \"city\": \"Bengaluru\",\n                \"state\": \"KA\",\n                \"country\": \"IN\",\n                \"postalCode\": \"78738\",\n                \"latitude\": 12.96643,\n                \"longitude\": 77.58718,\n                \"geofencePoints\": [],\n                \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n                \"wantTime\": null,\n                \"earliestWantTime\": null,\n                \"latestWantTime\": null,\n                \"transportationMode\": null,\n                \"addressType\": \"\",\n                \"useLocalLatLng\": true,\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-2\",\n                \"deliveryNumber\": \"DN-PAL-002\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL-002\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-2\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-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": "zhD745nvPBjaPI1-_QyXt",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fourkites.com/api/v1/tracking/419367908\")\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  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"shipper\": nil,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"postalCode\": nil,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"useLocalLatLng\": true,\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\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-1\",\n                \"deliveryNumber\": \"DN-PAL-001\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL-001\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-1\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"addressType\": \"\",\n        \"useLocalLatLng\": true,\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-2\",\n                \"deliveryNumber\": \"DN-PAL-002\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL-002\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-2\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-002\",\n                \"deviceType\": \"QR_CODE\"\n            }\n        ]\n      }\n    ]\n  }\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "qOOrBwTS_AMxYN-pnOISi",
        "language": "python",
        "code": "import http.client\nimport json\n\nconn = http.client.HTTPSConnection(\"api.fourkites.com\")\npayload = json.dumps({\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05\",\n    \"skipAppointmentTimeValidation\": True,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"shipper\": None,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"postalCode\": None,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"useLocalLatLng\": True,\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\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-1\",\n                \"deliveryNumber\": \"DN-PAL-001\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL-001\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-1\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"addressType\": \"\",\n        \"useLocalLatLng\": True,\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-2\",\n                \"deliveryNumber\": \"DN-PAL-002\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL-002\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-2\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-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/419367908\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "--ZKCb1pUtyeQzmYUqupr"
  },
  "results": {
    "languages": [
      {
        "id": "CbGf44KFAGjnfOX84bCRM",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"message\": \"Load updated successfully\",\n    \"requestId\": \"cp1gtkc6o9momjjuo3m0\",\n    \"statusCode\": 200\n}"
      }
    ],
    "selectedLanguageId": "CbGf44KFAGjnfOX84bCRM"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "trackingInfo",
        "kind": "required",
        "type": "object",
        "description": "It indicates the information required for tracking the load.",
        "children": [
          {
            "name": "driverPhone",
            "kind": "optional",
            "type": "string",
            "description": "Enter the phone number of the driver currently assigned to the load. The phone number must start with a \"+\" sign followed by the country code, area code, and then the mobile number.\n\nFor example, in Brazil, the country code is +55, followed by the area code 19, and then the driver's phone number.\n\n+5519999999999\n\nSimilarly, in the USA, the country code is +1, followed by the 10-digit driver phone number.\n\n+19087654321\n\nThe only exception is when a US user is updating a US phone number, in which case they can enter the number as a 10-digit string (e.g., \"9087654321\")."
          },
          {
            "name": "truckNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the tractor or asset number dispatched by the carrier for the load."
          },
          {
            "name": "railEquipmentInitials",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the 2 to 4 character rail equipment prefix."
          },
          {
            "name": "railEquipmentNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the load's six character rail container number."
          },
          {
            "name": "wagonNumber",
            "kind": "optional",
            "type": "string",
            "description": "Enter the Wagon Number if applicable."
          }
        ]
      },
      {
        "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": "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": "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": "carrierPermalink",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FK platform."
          },
          {
            "name": "carrierName",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the carrier in the FK platform."
          },
          {
            "name": "shipper",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the shipper."
          },
          {
            "name": "products",
            "kind": "optional",
            "type": "array",
            "description": "It indicates the list of temperature tracked products on a load and their temperature tracking information."
          },
          {
            "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. \tValid values: \"pickup\", \"delivery\", \"transfer\", \"portOfLoading\", \"transshipmentPort\", \"portOfDischarge\". There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "completeAddress",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the first, second line of the stop's address -- along with city, state, postalCode and country information."
              },
              {
                "name": "city",
                "kind": "required",
                "type": "string",
                "description": "It indicates the name of the city."
              },
              {
                "name": "state",
                "kind": "required",
                "type": "string",
                "description": "it indicates the 2 character state code for US & Canada and 3 Character state code for Mexico."
              },
              {
                "name": "country",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid country code."
              },
              {
                "name": "postalCode",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid postal code for the stop."
              },
              {
                "name": "latitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "longitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the longitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites® is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "geofencePoints",
                "kind": "optional",
                "type": "array",
                "description": "It indicates the list of lat/long coordinates of the corners of the polygon geofence around the stop to be used for detecting arrival."
              },
              {
                "name": "appointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the scheduled appointment time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. Appointment times cannot be more than 4 days in the past from the current time."
              },
              {
                "name": "wantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the time by which the load must be delivered to the consignee in stop's local timezone in ISO 8601 format.  (CM)"
              },
              {
                "name": "earliestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the earliest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the earliestWantTime is sent, then the latestWantTime must also be sent."
              },
              {
                "name": "latestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the latestWantTime is sent, then the earliestWantTime must also be sent."
              },
              {
                "name": "transportationMode",
                "kind": "optional",
                "type": "string",
                "description": "It defines the mode of the load. Valid values: \"TL\", \"LTL\", \"RAIL\", \"OCEAN\", \"PARCEL\""
              },
              {
                "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": "hzJfPdQT0yFHT1xdolG8-"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Staging",
  "method": "PATCH",
  "url": "https://api-staging.fourkites.com/api/v1/tracking/419367908",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "2T8GKvGE_ih-5-oVj3SK-",
        "language": "curl",
        "code": "curl --location --request PATCH 'https://api-staging.fourkites.com/api/v1/tracking/419367908' \\\n--header 'Content-Type: application/json' \\\n--header 'apikey: REPLACE_KEY_VALUE' \\\n--data-raw '{\n    \"trackingInfo\": {\n        \"driverPhone\": \"\",\n        \"truckNumber\": \"\",\n        \"railEquipmentInitials\": \"RAIL\",\n        \"railEquipmentNumber\": \"654405\",\n        \"wagonNumber\": \"qwerty123\"\n    },\n    \"load\": {\n        \"loadNumber\": \"TestRail05\",\n        \"skipAppointmentTimeValidation\": true,\n        \"priority\": \"normal\",\n        \"carrier\": \"cc79\",\n        \"carrierPermalink\": \"support-carrier-production\",\n        \"carrierName\": \"Support Carrier (Production)\",\n        \"shipper\": null,\n        \"products\": [],\n        \"stops\": [\n            {\n                \"stopType\": \"pickup\",\n                \"completeAddress\": \"Chennai, TN - 600003, IN\",\n                \"city\": \"Chennai\",\n                \"state\": \"TN\",\n                \"country\": \"IN\",\n                \"postalCode\": null,\n                \"latitude\": 13.0816437,\n                \"longitude\": 80.2752316,\n                \"geofencePoints\": [],\n                \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n                \"wantTime\": null,\n                \"earliestWantTime\": null,\n                \"latestWantTime\": null,\n                \"transportationMode\": null,\n                \"useLocalLatLng\": true,\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\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-1\",\n                \"deliveryNumber\": \"DN-PAL-001\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL-001\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-1\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n            },\n            {\n                \"stopType\": \"delivery\",\n                \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n                \"city\": \"Bengaluru\",\n                \"state\": \"KA\",\n                \"country\": \"IN\",\n                \"postalCode\": \"78738\",\n                \"latitude\": 12.96643,\n                \"longitude\": 77.58718,\n                \"geofencePoints\": [],\n                \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n                \"wantTime\": null,\n                \"earliestWantTime\": null,\n                \"latestWantTime\": null,\n                \"transportationMode\": null,\n                \"addressType\": \"\",\n                \"useLocalLatLng\": true,\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-2\",\n                \"deliveryNumber\": \"DN-PAL-002\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL-002\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-2\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-002\",\n                \"deviceType\": \"QR_CODE\"\n            }\n        ]\n            }\n        ]\n    }\n}'",
        "customLabel": ""
      },
      {
        "id": "KOI7VmY27HfY4YluGKvL9",
        "language": "java",
        "code": "OkHttpClient client = new OkHttpClient().newBuilder()\n  .build();\nMediaType mediaType = MediaType.parse(\"application/json\");\nRequestBody body = RequestBody.create(mediaType, \"{\\n    \\\"trackingInfo\\\": {\\n        \\\"driverPhone\\\": \\\"\\\",\\n        \\\"truckNumber\\\": \\\"\\\",\\n        \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n        \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n        \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n    },\\n    \\\"load\\\": {\\n        \\\"loadNumber\\\": \\\"TestRail05\\\",\\n        \\\"skipAppointmentTimeValidation\\\": true,\\n        \\\"priority\\\": \\\"normal\\\",\\n        \\\"carrier\\\": \\\"cc79\\\",\\n        \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n        \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n        \\\"shipper\\\": null,\\n        \\\"products\\\": [],\\n        \\\"stops\\\": [\\n            {\\n                \\\"stopType\\\": \\\"pickup\\\",\\n                \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n                \\\"city\\\": \\\"Chennai\\\",\\n                \\\"state\\\": \\\"TN\\\",\\n                \\\"country\\\": \\\"IN\\\",\\n                \\\"postalCode\\\": null,\\n                \\\"latitude\\\": 13.0816437,\\n                \\\"longitude\\\": 80.2752316,\\n                \\\"geofencePoints\\\": [],\\n                \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n                \\\"wantTime\\\": null,\\n                \\\"earliestWantTime\\\": null,\\n                \\\"latestWantTime\\\": null,\\n                \\\"transportationMode\\\": null,\\n                \\\"useLocalLatLng\\\": true,\\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\\\": \\\"Rail Freight Item\\\",\\n                \\\"productDescription\\\": \\\"Rail/intermodal 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\\\": \\\"8607911000\\\",\\n                \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n                \\\"htsusCode\\\": \\\"8607911000\\\",\\n                \\\"orderNumber\\\": \\\"TestRail05-1\\\",\\n                \\\"deliveryNumber\\\": \\\"DN-PAL-001\\\",\\n                \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n                \\\"barcode\\\": \\\"PAL-001\\\",\\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\\\": [\\\"DEL-REF-001\\\"],\\n                \\\"orderReferences\\\": [\\\"TestRail05-1\\\"],\\n                \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n                \\\"minimumTemperature\\\": 0,\\n                \\\"maximumTemperature\\\": 0,\\n                \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                \\\"productTrackingNumber\\\": \\\"RAIL-STOP-001\\\",\\n                \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n            }\\n        ]\\n            },\\n            {\\n                \\\"stopType\\\": \\\"delivery\\\",\\n                \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n                \\\"city\\\": \\\"Bengaluru\\\",\\n                \\\"state\\\": \\\"KA\\\",\\n                \\\"country\\\": \\\"IN\\\",\\n                \\\"postalCode\\\": \\\"78738\\\",\\n                \\\"latitude\\\": 12.96643,\\n                \\\"longitude\\\": 77.58718,\\n                \\\"geofencePoints\\\": [],\\n                \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n                \\\"wantTime\\\": null,\\n                \\\"earliestWantTime\\\": null,\\n                \\\"latestWantTime\\\": null,\\n                \\\"transportationMode\\\": null,\\n                \\\"addressType\\\": \\\"\\\",\\n                \\\"useLocalLatLng\\\": true,\\n                \\\"pallets\\\": [\\n            {\\n                \\\"number\\\": \\\"PAL-002\\\",\\n                \\\"parts\\\": [\\n                    {\\n                        \\\"quantity\\\": \\\"25\\\",\\n                        \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                        \\\"weight\\\": \\\"7.998\\\"\\n                    }\\n                ]\\n            }\\n        ],\\n        \\\"productLineItems\\\": [\\n            {\\n                \\\"productId\\\": \\\"0654321\\\",\\n                \\\"productName\\\": \\\"Rail Freight Item\\\",\\n                \\\"productDescription\\\": \\\"Rail/intermodal 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\\\": \\\"8607911000\\\",\\n                \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n                \\\"htsusCode\\\": \\\"8607911000\\\",\\n                \\\"orderNumber\\\": \\\"TestRail05-2\\\",\\n                \\\"deliveryNumber\\\": \\\"DN-PAL-002\\\",\\n                \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n                \\\"barcode\\\": \\\"PAL-002\\\",\\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\\\": [\\\"DEL-REF-001\\\"],\\n                \\\"orderReferences\\\": [\\\"TestRail05-2\\\"],\\n                \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n                \\\"minimumTemperature\\\": 0,\\n                \\\"maximumTemperature\\\": 0,\\n                \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                \\\"productTrackingNumber\\\": \\\"RAIL-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/419367908\")\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": "--ZKCb1pUtyeQzmYUqupr",
        "language": "javascript",
        "code": "var settings = {\n  \"url\": \"https://api-staging.fourkites.com/api/v1/tracking/419367908\",\n  \"method\": \"PATCH\",\n  \"timeout\": 0,\n  \"headers\": {\n    \"Content-Type\": \"application/json\",\n    \"apikey\": \"REPLACE_KEY_VALUE\"\n  },\n  \"data\": JSON.stringify({\n    \"trackingInfo\": {\n      \"driverPhone\": \"\",\n      \"truckNumber\": \"\",\n      \"railEquipmentInitials\": \"RAIL\",\n      \"railEquipmentNumber\": \"654405\",\n      \"wagonNumber\": \"qwerty123\"\n    },\n    \"load\": {\n      \"loadNumber\": \"TestRail05\",\n      \"skipAppointmentTimeValidation\": true,\n      \"priority\": \"normal\",\n      \"carrier\": \"cc79\",\n      \"carrierPermalink\": \"support-carrier-production\",\n      \"carrierName\": \"Support Carrier (Production)\",\n      \"shipper\": null,\n      \"products\": [],\n      \"stops\": [\n        {\n          \"stopType\": \"pickup\",\n          \"completeAddress\": \"Chennai, TN - 600003, IN\",\n          \"city\": \"Chennai\",\n          \"state\": \"TN\",\n          \"country\": \"IN\",\n          \"postalCode\": null,\n          \"latitude\": 13.0816437,\n          \"longitude\": 80.2752316,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"useLocalLatLng\": true,\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\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-1\",\n                \"deliveryNumber\": \"DN-PAL-001\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL-001\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-1\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n        },\n        {\n          \"stopType\": \"delivery\",\n          \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n          \"city\": \"Bengaluru\",\n          \"state\": \"KA\",\n          \"country\": \"IN\",\n          \"postalCode\": \"78738\",\n          \"latitude\": 12.96643,\n          \"longitude\": 77.58718,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"addressType\": \"\",\n          \"useLocalLatLng\": true,\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-2\",\n                \"deliveryNumber\": \"DN-PAL-002\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL-002\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-2\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-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": "B0V6MBnozDHqgTJIFH-_R",
        "language": "swift",
        "code": "import Foundation\n#if canImport(FoundationNetworking)\nimport FoundationNetworking\n#endif\n\nvar semaphore = DispatchSemaphore (value: 0)\n\nlet parameters = \"{\\n    \\\"trackingInfo\\\": {\\n        \\\"driverPhone\\\": \\\"\\\",\\n        \\\"truckNumber\\\": \\\"\\\",\\n        \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n        \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n        \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n    },\\n    \\\"load\\\": {\\n        \\\"loadNumber\\\": \\\"TestRail05\\\",\\n        \\\"skipAppointmentTimeValidation\\\": true,\\n        \\\"priority\\\": \\\"normal\\\",\\n        \\\"carrier\\\": \\\"cc79\\\",\\n        \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n        \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n        \\\"shipper\\\": null,\\n        \\\"products\\\": [],\\n        \\\"stops\\\": [\\n            {\\n                \\\"stopType\\\": \\\"pickup\\\",\\n                \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n                \\\"city\\\": \\\"Chennai\\\",\\n                \\\"state\\\": \\\"TN\\\",\\n                \\\"country\\\": \\\"IN\\\",\\n                \\\"postalCode\\\": null,\\n                \\\"latitude\\\": 13.0816437,\\n                \\\"longitude\\\": 80.2752316,\\n                \\\"geofencePoints\\\": [],\\n                \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n                \\\"wantTime\\\": null,\\n                \\\"earliestWantTime\\\": null,\\n                \\\"latestWantTime\\\": null,\\n                \\\"transportationMode\\\": null,\\n                \\\"useLocalLatLng\\\": true,\\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\\\": \\\"Rail Freight Item\\\",\\n                \\\"productDescription\\\": \\\"Rail/intermodal 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\\\": \\\"8607911000\\\",\\n                \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n                \\\"htsusCode\\\": \\\"8607911000\\\",\\n                \\\"orderNumber\\\": \\\"TestRail05-1\\\",\\n                \\\"deliveryNumber\\\": \\\"DN-PAL-001\\\",\\n                \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n                \\\"barcode\\\": \\\"PAL-001\\\",\\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\\\": [\\\"DEL-REF-001\\\"],\\n                \\\"orderReferences\\\": [\\\"TestRail05-1\\\"],\\n                \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n                \\\"minimumTemperature\\\": 0,\\n                \\\"maximumTemperature\\\": 0,\\n                \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                \\\"productTrackingNumber\\\": \\\"RAIL-STOP-001\\\",\\n                \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n            }\\n        ]\\n            },\\n            {\\n                \\\"stopType\\\": \\\"delivery\\\",\\n                \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n                \\\"city\\\": \\\"Bengaluru\\\",\\n                \\\"state\\\": \\\"KA\\\",\\n                \\\"country\\\": \\\"IN\\\",\\n                \\\"postalCode\\\": \\\"78738\\\",\\n                \\\"latitude\\\": 12.96643,\\n                \\\"longitude\\\": 77.58718,\\n                \\\"geofencePoints\\\": [],\\n                \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n                \\\"wantTime\\\": null,\\n                \\\"earliestWantTime\\\": null,\\n                \\\"latestWantTime\\\": null,\\n                \\\"transportationMode\\\": null,\\n                \\\"addressType\\\": \\\"\\\",\\n                \\\"useLocalLatLng\\\": true,\\n                \\\"pallets\\\": [\\n            {\\n                \\\"number\\\": \\\"PAL-002\\\",\\n                \\\"parts\\\": [\\n                    {\\n                        \\\"quantity\\\": \\\"25\\\",\\n                        \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                        \\\"weight\\\": \\\"7.998\\\"\\n                    }\\n                ]\\n            }\\n        ],\\n        \\\"productLineItems\\\": [\\n            {\\n                \\\"productId\\\": \\\"0654321\\\",\\n                \\\"productName\\\": \\\"Rail Freight Item\\\",\\n                \\\"productDescription\\\": \\\"Rail/intermodal 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\\\": \\\"8607911000\\\",\\n                \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n                \\\"htsusCode\\\": \\\"8607911000\\\",\\n                \\\"orderNumber\\\": \\\"TestRail05-2\\\",\\n                \\\"deliveryNumber\\\": \\\"DN-PAL-002\\\",\\n                \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n                \\\"barcode\\\": \\\"PAL-002\\\",\\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\\\": [\\\"DEL-REF-001\\\"],\\n                \\\"orderReferences\\\": [\\\"TestRail05-2\\\"],\\n                \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n                \\\"minimumTemperature\\\": 0,\\n                \\\"maximumTemperature\\\": 0,\\n                \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n                \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n                \\\"productTrackingNumber\\\": \\\"RAIL-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/419367908\")!,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": "9XQRKyu_6RweNH4F0C0r0",
        "language": "csharp",
        "code": "var client = new RestClient(\"https://api-staging.fourkites.com/api/v1/tracking/419367908\");\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@\"    \"\"trackingInfo\"\": {\" + \"\\n\" +\n@\"        \"\"driverPhone\"\": \"\"\"\",\" + \"\\n\" +\n@\"        \"\"truckNumber\"\": \"\"\"\",\" + \"\\n\" +\n@\"        \"\"railEquipmentInitials\"\": \"\"RAIL\"\",\" + \"\\n\" +\n@\"        \"\"railEquipmentNumber\"\": \"\"654405\"\",\" + \"\\n\" +\n@\"        \"\"wagonNumber\"\": \"\"qwerty123\"\"\" + \"\\n\" +\n@\"    },\" + \"\\n\" +\n@\"    \"\"load\"\": {\" + \"\\n\" +\n@\"        \"\"loadNumber\"\": \"\"TestRail05\"\",\" + \"\\n\" +\n@\"        \"\"skipAppointmentTimeValidation\"\": true,\" + \"\\n\" +\n@\"        \"\"priority\"\": \"\"normal\"\",\" + \"\\n\" +\n@\"        \"\"carrier\"\": \"\"cc79\"\",\" + \"\\n\" +\n@\"        \"\"carrierPermalink\"\": \"\"support-carrier-production\"\",\" + \"\\n\" +\n@\"        \"\"carrierName\"\": \"\"Support Carrier (Production)\"\",\" + \"\\n\" +\n@\"        \"\"shipper\"\": null,\" + \"\\n\" +\n@\"        \"\"products\"\": [],\" + \"\\n\" +\n@\"        \"\"stops\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"stopType\"\": \"\"pickup\"\",\" + \"\\n\" +\n@\"                \"\"completeAddress\"\": \"\"Chennai, TN - 600003, IN\"\",\" + \"\\n\" +\n@\"                \"\"city\"\": \"\"Chennai\"\",\" + \"\\n\" +\n@\"                \"\"state\"\": \"\"TN\"\",\" + \"\\n\" +\n@\"                \"\"country\"\": \"\"IN\"\",\" + \"\\n\" +\n@\"                \"\"postalCode\"\": null,\" + \"\\n\" +\n@\"                \"\"latitude\"\": 13.0816437,\" + \"\\n\" +\n@\"                \"\"longitude\"\": 80.2752316,\" + \"\\n\" +\n@\"                \"\"geofencePoints\"\": [],\" + \"\\n\" +\n@\"                \"\"appointmentTime\"\": \"\"2024-08-20T07:35:00.000Z\"\",\" + \"\\n\" +\n@\"                \"\"wantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"earliestWantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"latestWantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"transportationMode\"\": null,\" + \"\\n\" +\n@\"                \"\"useLocalLatLng\"\": true,\" + \"\\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\"\": \"\"Rail Freight Item\"\",\" + \"\\n\" +\n@\"                \"\"productDescription\"\": \"\"Rail/intermodal 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\"\": \"\"8607911000\"\",\" + \"\\n\" +\n@\"                \"\"commodityTypeCode\"\": \"\"RAIL_FREIGHT\"\",\" + \"\\n\" +\n@\"                \"\"htsusCode\"\": \"\"8607911000\"\",\" + \"\\n\" +\n@\"                \"\"orderNumber\"\": \"\"TestRail05-1\"\",\" + \"\\n\" +\n@\"                \"\"deliveryNumber\"\": \"\"DN-PAL-001\"\",\" + \"\\n\" +\n@\"                \"\"handlingUnitId\"\": \"\"PAL-001\"\",\" + \"\\n\" +\n@\"                \"\"barcode\"\": \"\"PAL-001\"\",\" + \"\\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\"\": [\"\"DEL-REF-001\"\"],\" + \"\\n\" +\n@\"                \"\"orderReferences\"\": [\"\"TestRail05-1\"\"],\" + \"\\n\" +\n@\"                \"\"brandName\"\": \"\"Generic Rail Freight Co\"\",\" + \"\\n\" +\n@\"                \"\"minimumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"maximumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"temperatureUnitCode\"\": \"\"cel\"\",\" + \"\\n\" +\n@\"                \"\"labelIdentifier\"\": \"\"LBL-22EE\"\",\" + \"\\n\" +\n@\"                \"\"productTrackingNumber\"\": \"\"RAIL-STOP-001\"\",\" + \"\\n\" +\n@\"                \"\"deviceType\"\": \"\"RFID_TAG\"\"\" + \"\\n\" +\n@\"            }\" + \"\\n\" +\n@\"        ]\" + \"\\n\" +\n@\"            },\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"stopType\"\": \"\"delivery\"\",\" + \"\\n\" +\n@\"                \"\"completeAddress\"\": \"\"Bengaluru, KA - 560002, IN\"\",\" + \"\\n\" +\n@\"                \"\"city\"\": \"\"Bengaluru\"\",\" + \"\\n\" +\n@\"                \"\"state\"\": \"\"KA\"\",\" + \"\\n\" +\n@\"                \"\"country\"\": \"\"IN\"\",\" + \"\\n\" +\n@\"                \"\"postalCode\"\": \"\"78738\"\",\" + \"\\n\" +\n@\"                \"\"latitude\"\": 12.96643,\" + \"\\n\" +\n@\"                \"\"longitude\"\": 77.58718,\" + \"\\n\" +\n@\"                \"\"geofencePoints\"\": [],\" + \"\\n\" +\n@\"                \"\"appointmentTime\"\": \"\"2024-08-29T07:35:00.000Z\"\",\" + \"\\n\" +\n@\"                \"\"wantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"earliestWantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"latestWantTime\"\": null,\" + \"\\n\" +\n@\"                \"\"transportationMode\"\": null,\" + \"\\n\" +\n@\"                \"\"addressType\"\": \"\"\"\",\" + \"\\n\" +\n@\"                \"\"useLocalLatLng\"\": true,\" + \"\\n\" +\n@\"        \"\"pallets\"\": [\" + \"\\n\" +\n@\"            {\" + \"\\n\" +\n@\"                \"\"number\"\": \"\"PAL-002\"\",\" + \"\\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\"\": \"\"0654321\"\",\" + \"\\n\" +\n@\"                \"\"productName\"\": \"\"Rail Freight Item\"\",\" + \"\\n\" +\n@\"                \"\"productDescription\"\": \"\"Rail/intermodal 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\"\": \"\"8607911000\"\",\" + \"\\n\" +\n@\"                \"\"commodityTypeCode\"\": \"\"RAIL_FREIGHT\"\",\" + \"\\n\" +\n@\"                \"\"htsusCode\"\": \"\"8607911000\"\",\" + \"\\n\" +\n@\"                \"\"orderNumber\"\": \"\"TestRail05-2\"\",\" + \"\\n\" +\n@\"                \"\"deliveryNumber\"\": \"\"DN-PAL-002\"\",\" + \"\\n\" +\n@\"                \"\"handlingUnitId\"\": \"\"PAL-002\"\",\" + \"\\n\" +\n@\"                \"\"barcode\"\": \"\"PAL-002\"\",\" + \"\\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\"\": [\"\"DEL-REF-001\"\"],\" + \"\\n\" +\n@\"                \"\"orderReferences\"\": [\"\"TestRail05-2\"\"],\" + \"\\n\" +\n@\"                \"\"brandName\"\": \"\"Generic Rail Freight Co\"\",\" + \"\\n\" +\n@\"                \"\"minimumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"maximumTemperature\"\": 0,\" + \"\\n\" +\n@\"                \"\"temperatureUnitCode\"\": \"\"cel\"\",\" + \"\\n\" +\n@\"                \"\"labelIdentifier\"\": \"\"LBL-22EE\"\",\" + \"\\n\" +\n@\"                \"\"productTrackingNumber\"\": \"\"RAIL-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": "uE9F9-c8cHdN_ipHFM1Ct",
        "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/419367908\"\n  method := \"PATCH\"\n\n  payload := strings.NewReader(`{\n    \"trackingInfo\": {\n        \"driverPhone\": \"\",\n        \"truckNumber\": \"\",\n        \"railEquipmentInitials\": \"RAIL\",\n        \"railEquipmentNumber\": \"654405\",\n        \"wagonNumber\": \"qwerty123\"\n    },\n    \"load\": {\n        \"loadNumber\": \"TestRail05\",\n        \"skipAppointmentTimeValidation\": true,\n        \"priority\": \"normal\",\n        \"carrier\": \"cc79\",\n        \"carrierPermalink\": \"support-carrier-production\",\n        \"carrierName\": \"Support Carrier (Production)\",\n        \"shipper\": null,\n        \"products\": [],\n        \"stops\": [\n            {\n                \"stopType\": \"pickup\",\n                \"completeAddress\": \"Chennai, TN - 600003, IN\",\n                \"city\": \"Chennai\",\n                \"state\": \"TN\",\n                \"country\": \"IN\",\n                \"postalCode\": null,\n                \"latitude\": 13.0816437,\n                \"longitude\": 80.2752316,\n                \"geofencePoints\": [],\n                \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n                \"wantTime\": null,\n                \"earliestWantTime\": null,\n                \"latestWantTime\": null,\n                \"transportationMode\": null,\n                \"useLocalLatLng\": true,\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\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-1\",\n                \"deliveryNumber\": \"DN-PAL-001\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL-001\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-1\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n            },\n            {\n                \"stopType\": \"delivery\",\n                \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n                \"city\": \"Bengaluru\",\n                \"state\": \"KA\",\n                \"country\": \"IN\",\n                \"postalCode\": \"78738\",\n                \"latitude\": 12.96643,\n                \"longitude\": 77.58718,\n                \"geofencePoints\": [],\n                \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n                \"wantTime\": null,\n                \"earliestWantTime\": null,\n                \"latestWantTime\": null,\n                \"transportationMode\": null,\n                \"addressType\": \"\",\n                \"useLocalLatLng\": true,\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-2\",\n                \"deliveryNumber\": \"DN-PAL-002\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL-002\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-2\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-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": "zhD745nvPBjaPI1-_QyXt",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api-staging.fourkites.com/api/v1/tracking/419367908\")\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  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"shipper\": nil,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"postalCode\": nil,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"useLocalLatLng\": true,\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\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-1\",\n                \"deliveryNumber\": \"DN-PAL-001\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL-001\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-1\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"addressType\": \"\",\n        \"useLocalLatLng\": true,\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-2\",\n                \"deliveryNumber\": \"DN-PAL-002\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL-002\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-2\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-002\",\n                \"deviceType\": \"QR_CODE\"\n            }\n        ]\n      }\n    ]\n  }\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "qOOrBwTS_AMxYN-pnOISi",
        "language": "python",
        "code": "import http.client\nimport json\n\nconn = http.client.HTTPSConnection(\"api-staging.fourkites.com\")\npayload = json.dumps({\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05\",\n    \"skipAppointmentTimeValidation\": True,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"shipper\": None,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"postalCode\": None,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"useLocalLatLng\": True,\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\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-1\",\n                \"deliveryNumber\": \"DN-PAL-001\",\n                \"handlingUnitId\": \"PAL-001\",\n                \"barcode\": \"PAL-001\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-1\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-STOP-001\",\n                \"deviceType\": \"RFID_TAG\"\n            }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"addressType\": \"\",\n        \"useLocalLatLng\": True,\n                \"pallets\": [\n            {\n                \"number\": \"PAL-002\",\n                \"parts\": [\n                    {\n                        \"quantity\": \"25\",\n                        \"shipperPartNumber\": \"22EE\",\n                        \"weight\": \"7.998\"\n                    }\n                ]\n            }\n        ],\n        \"productLineItems\": [\n            {\n                \"productId\": \"0654321\",\n                \"productName\": \"Rail Freight Item\",\n                \"productDescription\": \"Rail/intermodal 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\": \"8607911000\",\n                \"commodityTypeCode\": \"RAIL_FREIGHT\",\n                \"htsusCode\": \"8607911000\",\n                \"orderNumber\": \"TestRail05-2\",\n                \"deliveryNumber\": \"DN-PAL-002\",\n                \"handlingUnitId\": \"PAL-002\",\n                \"barcode\": \"PAL-002\",\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\": [\"DEL-REF-001\"],\n                \"orderReferences\": [\"TestRail05-2\"],\n                \"brandName\": \"Generic Rail Freight Co\",\n                \"minimumTemperature\": 0,\n                \"maximumTemperature\": 0,\n                \"temperatureUnitCode\": \"cel\",\n                \"labelIdentifier\": \"LBL-22EE\",\n                \"productTrackingNumber\": \"RAIL-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/419367908\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "2T8GKvGE_ih-5-oVj3SK-"
  },
  "results": {
    "languages": [
      {
        "id": "CbGf44KFAGjnfOX84bCRM",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"statusCode\": 200,\n  \"message\": \"Load creation request has been submitted successfully\",\n  \"loadId\": 176365311\n}"
      }
    ],
    "selectedLanguageId": "CbGf44KFAGjnfOX84bCRM"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "trackingInfo",
        "kind": "required",
        "type": "object",
        "description": "It indicates the information required for tracking the load.",
        "children": [
          {
            "name": "driverPhone",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a valid mobile number. Example: +13125555555"
          },
          {
            "name": "truckNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the tractor or asset number dispatched by the carrier for the load."
          },
          {
            "name": "railEquipmentInitials",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the 2 to 4 character rail equipment prefix."
          },
          {
            "name": "railEquipmentNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the load's six character rail container number."
          },
          {
            "name": "wagonNumber",
            "kind": "optional",
            "type": "string",
            "description": "Enter the Wagon Number if applicable."
          }
        ]
      },
      {
        "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": "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": "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": "carrierPermalink",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FK platform."
          },
          {
            "name": "carrierName",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the carrier in the FK platform."
          },
          {
            "name": "shipper",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the shipper."
          },
          {
            "name": "products",
            "kind": "optional",
            "type": "array",
            "description": "It indicates the list of temperature tracked products on a load and their temperature tracking information."
          },
          {
            "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. \tValid values: \"pickup\", \"delivery\", \"transfer\", \"portOfLoading\", \"transshipmentPort\", \"portOfDischarge\". There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "completeAddress",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the first, second line of the stop's address -- along with city, state, postalCode and country information."
              },
              {
                "name": "city",
                "kind": "required",
                "type": "string",
                "description": "It indicates the name of the city."
              },
              {
                "name": "state",
                "kind": "required",
                "type": "string",
                "description": "it indicates the 2 character state code for US & Canada and 3 Character state code for Mexico."
              },
              {
                "name": "country",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid country code."
              },
              {
                "name": "postalCode",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid postal code for the stop."
              },
              {
                "name": "latitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "longitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the longitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites® is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "geofencePoints",
                "kind": "optional",
                "type": "array",
                "description": "It indicates the list of lat/long coordinates of the corners of the polygon geofence around the stop to be used for detecting arrival."
              },
              {
                "name": "appointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the scheduled appointment time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. Appointment times cannot be more than 4 days in the past from the current time."
              },
              {
                "name": "wantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the time by which the load must be delivered to the consignee in stop's local timezone in ISO 8601 format.  (CM)"
              },
              {
                "name": "earliestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the earliest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the earliestWantTime is sent, then the latestWantTime must also be sent."
              },
              {
                "name": "latestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the latestWantTime is sent, then the earliestWantTime must also be sent."
              },
              {
                "name": "transportationMode",
                "kind": "optional",
                "type": "string",
                "description": "It defines the mode of the load. Valid values: \"TL\", \"LTL\", \"RAIL\", \"OCEAN\", \"PARCEL\""
              },
              {
                "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": "okV4VkzeJFZdMb30d7-U8"
}
```
:::
