Chilkat Online Tools

Mono / ShipEngine Walkthrough / Get rate estimates (detailed)

Back to Collection Items

// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

Chilkat.Http http = new Chilkat.Http();
bool success;

// Use this online tool to generate code from sample JSON: Generate Code to Create JSON

// The following JSON is sent in the request body.

// {
//   "carrier_ids": [
//     "{{stamps_com}}",
//     "{{fedex}}",
//     "{{ups}}"
//   ],
//   "from_country_code": "US",
//   "from_postal_code": "78756",
//   "from_city_locality": "Austin",
//   "from_state_province": "TX",
//   "to_country_code": "US",
//   "to_postal_code": "91521",
//   "to_city_locality": "Burbank",
//   "to_state_province": "CA",
//   "weight": {
//     "value": 150,
//     "unit": "pound"
//   },
//   "dimensions": {
//     "length": 36,
//     "width": 12,
//     "height": 24,
//     "unit": "inch"
//   }
// }

Chilkat.JsonObject json = new Chilkat.JsonObject();
json.UpdateString("carrier_ids[0]","{{stamps_com}}");
json.UpdateString("carrier_ids[1]","{{fedex}}");
json.UpdateString("carrier_ids[2]","{{ups}}");
json.UpdateString("from_country_code","US");
json.UpdateString("from_postal_code","78756");
json.UpdateString("from_city_locality","Austin");
json.UpdateString("from_state_province","TX");
json.UpdateString("to_country_code","US");
json.UpdateString("to_postal_code","91521");
json.UpdateString("to_city_locality","Burbank");
json.UpdateString("to_state_province","CA");
json.UpdateInt("weight.value",150);
json.UpdateString("weight.unit","pound");
json.UpdateInt("dimensions.length",36);
json.UpdateInt("dimensions.width",12);
json.UpdateInt("dimensions.height",24);
json.UpdateString("dimensions.unit","inch");

http.SetRequestHeader("API-Key","{{API_KEY}}");
http.SetRequestHeader("Content-Type","application/json");

Chilkat.HttpResponse resp = http.PostJson3("https://api.shipengine.com/v1/rates/estimate","application/json",json);
if (http.LastMethodSuccess == false) {
    Debug.WriteLine(http.LastErrorText);
    return;
}

Chilkat.StringBuilder sbResponseBody = new Chilkat.StringBuilder();
resp.GetBodySb(sbResponseBody);

Chilkat.JsonArray jarrResp = new Chilkat.JsonArray();
jarrResp.LoadSb(sbResponseBody);
jarrResp.EmitCompact = false;

Debug.WriteLine("Response Body:");
Debug.WriteLine(jarrResp.Emit());

int respStatusCode = resp.StatusCode;
Debug.WriteLine("Response Status Code = " + Convert.ToString(respStatusCode));
if (respStatusCode >= 400) {
    Debug.WriteLine("Response Header:");
    Debug.WriteLine(resp.Header);
    Debug.WriteLine("Failed.");

    return;
}

Curl Command

curl -X POST
	-H "API-Key: {{API_KEY}}"
	-H "Content-Type: application/json"
	-d '{
	"carrier_ids": [
		"{{stamps_com}}",
		"{{fedex}}",
		"{{ups}}"
	],
	"from_country_code": "US",
	"from_postal_code": "78756",
	"from_city_locality": "Austin",
	"from_state_province": "TX",
	"to_country_code": "US",
	"to_postal_code": "91521",
	"to_city_locality": "Burbank",
	"to_state_province": "CA",
	"weight": {
		"value": 150,
		"unit": "pound"
	},
	"dimensions": {
		"length": 36,
		"width": 12,
		"height": 24,
		"unit": "inch"
	}
}'
https://api.shipengine.com/v1/rates/estimate

Postman Collection Item JSON

{
  "name": "Get rate estimates (detailed)",
  "event": [
    {
      "listen": "test",
      "script": {
        "exec": [
          ""
        ],
        "type": "text/javascript"
      }
    }
  ],
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "name": "Content-Type",
        "type": "text",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "raw",
      "raw": "{\n\t\"carrier_ids\": [\n\t\t\"{{stamps_com}}\",\n\t\t\"{{fedex}}\",\n\t\t\"{{ups}}\"\n\t],\n\t\"from_country_code\": \"US\",\n\t\"from_postal_code\": \"78756\",\n\t\"from_city_locality\": \"Austin\",\n\t\"from_state_province\": \"TX\",\n\t\"to_country_code\": \"US\",\n\t\"to_postal_code\": \"91521\",\n\t\"to_city_locality\": \"Burbank\",\n\t\"to_state_province\": \"CA\",\n\t\"weight\": {\n\t\t\"value\": 150,\n\t\t\"unit\": \"pound\"\n\t},\n\t\"dimensions\": {\n\t\t\"length\": 36,\n\t\t\"width\": 12,\n\t\t\"height\": 24,\n\t\t\"unit\": \"inch\"\n\t}\n}"
    },
    "url": {
      "raw": "https://api.shipengine.com/v1/rates/estimate",
      "protocol": "https",
      "host": [
        "api",
        "shipengine",
        "com"
      ],
      "path": [
        "v1",
        "rates",
        "estimate"
      ]
    },
    "description": "The accuracy of rate estimates depends on how much information you provide. This request shows youall the fields that you can supply."
  },
  "response": [
    {
      "name": "Get rate estimates (detailed)",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "name": "Content-Type",
            "type": "text",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n\t\"carrier_ids\": [\n\t\t\"{{stamps_com}}\",\n\t\t\"{{fedex}}\",\n\t\t\"{{ups}}\"\n\t],\n\t\"from_country_code\": \"US\",\n\t\"from_postal_code\": \"78756\",\n\t\"to_country_code\": \"US\",\n\t\"to_postal_code\": \"91521\",\n\t\"to_city_locality\": \"Burbank\",\n\t\"to_state_province\": \"CA\",\n\t\"weight\": {\n\t\t\"value\": 17,\n\t\t\"unit\": \"pound\"\n\t},\n\t\"dimensions\": {\n\t\t\"length\": 36,\n\t\t\"width\": 12,\n\t\t\"height\": 24,\n\t\t\"unit\": \"inch\"\n\t}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://api.shipengine.com/v1/rates/estimate",
          "protocol": "https",
          "host": [
            "api",
            "shipengine",
            "com"
          ],
          "path": [
            "v1",
            "rates",
            "estimate"
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Date",
          "value": "Tue, 17 Sep 2019 17:56:40 GMT"
        },
        {
          "key": "Content-Type",
          "value": "application/json; charset=utf-8"
        },
        {
          "key": "Content-Length",
          "value": "27638"
        },
        {
          "key": "Connection",
          "value": "keep-alive"
        },
        {
          "key": "Access-Control-Allow-Origin",
          "value": "https://www.shipengine.com"
        },
        {
          "key": "Vary",
          "value": "Origin"
        },
        {
          "key": "server",
          "value": "Microsoft-IIS/8.0"
        },
        {
          "key": "x-newrelic-app-data",
          "value": "PxQGVFZXCgITVVZbAwMCV1YGFB9AMQYAZBBZDEtZV0ZaCldOZgRRIzR/GDMHF11AHyESFl5cVhIBExoDTFZPVh5VDVIIDQIeAFQMTRNQCyEiAwdRIycNBQAiWFYDExsABV1FVj8="
        },
        {
          "key": "x-powered-by",
          "value": "ASP.NET"
        },
        {
          "key": "x-shipengine-environment",
          "value": "j"
        },
        {
          "key": "x-shipengine-requestid",
          "value": "73a61f06-c951-4c4a-9fe7-4c7d890e2728"
        },
        {
          "key": "x-shipengine-server",
          "value": "SS-J-WEB03"
        }
      ],
      "cookie": [
      ],
      "body": "[\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 11.07\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"package\",\n        \"delivery_days\": 7,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-24T00:00:00Z\",\n        \"carrier_delivery_days\": \"6\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Media Mail\",\n        \"service_code\": \"usps_media_mail\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 80.81\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"package\",\n        \"delivery_days\": 7,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-24T00:00:00Z\",\n        \"carrier_delivery_days\": \"6\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Parcel Select Ground\",\n        \"service_code\": \"usps_parcel_select\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 81.06\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"package\",\n        \"delivery_days\": 3,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-20T00:00:00Z\",\n        \"carrier_delivery_days\": \"3\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Priority Mail\",\n        \"service_code\": \"usps_priority_mail\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 12.72\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"medium_flat_rate_box\",\n        \"delivery_days\": 3,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-20T00:00:00Z\",\n        \"carrier_delivery_days\": \"3\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Priority Mail\",\n        \"service_code\": \"usps_priority_mail\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 6.98\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"small_flat_rate_box\",\n        \"delivery_days\": 3,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-20T00:00:00Z\",\n        \"carrier_delivery_days\": \"3\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Priority Mail\",\n        \"service_code\": \"usps_priority_mail\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 17.47\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"large_flat_rate_box\",\n        \"delivery_days\": 3,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-20T00:00:00Z\",\n        \"carrier_delivery_days\": \"3\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Priority Mail\",\n        \"service_code\": \"usps_priority_mail\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 6.48\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"flat_rate_envelope\",\n        \"delivery_days\": 3,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-20T00:00:00Z\",\n        \"carrier_delivery_days\": \"3\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Priority Mail\",\n        \"service_code\": \"usps_priority_mail\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 7.03\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"flat_rate_padded_envelope\",\n        \"delivery_days\": 3,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-20T00:00:00Z\",\n        \"carrier_delivery_days\": \"3\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Priority Mail\",\n        \"service_code\": \"usps_priority_mail\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 6.78\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"flat_rate_legal_envelope\",\n        \"delivery_days\": 3,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-20T00:00:00Z\",\n        \"carrier_delivery_days\": \"3\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Priority Mail\",\n        \"service_code\": \"usps_priority_mail\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 309.86\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"package\",\n        \"delivery_days\": 2,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-19T00:00:00Z\",\n        \"carrier_delivery_days\": \"1-2\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Priority Mail Express\",\n        \"service_code\": \"usps_priority_mail_express\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 22.68\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"flat_rate_envelope\",\n        \"delivery_days\": 2,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-19T00:00:00Z\",\n        \"carrier_delivery_days\": \"1-2\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Priority Mail Express\",\n        \"service_code\": \"usps_priority_mail_express\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 23.18\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"flat_rate_padded_envelope\",\n        \"delivery_days\": 2,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-19T00:00:00Z\",\n        \"carrier_delivery_days\": \"1-2\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Priority Mail Express\",\n        \"service_code\": \"usps_priority_mail_express\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121861\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 22.8\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": 6,\n        \"package_type\": \"flat_rate_legal_envelope\",\n        \"delivery_days\": 2,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-19T00:00:00Z\",\n        \"carrier_delivery_days\": \"1-2\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"USPS Priority Mail Express\",\n        \"service_code\": \"usps_priority_mail_express\",\n        \"trackable\": true,\n        \"carrier_code\": \"stamps_com\",\n        \"carrier_nickname\": \"ShipEngine Test Account - Stamps.com\",\n        \"carrier_friendly_name\": \"Stamps.com\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121862\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 415.63\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 2,\n        \"guaranteed_service\": true,\n        \"estimated_delivery_date\": \"2019-09-19T23:00:00Z\",\n        \"carrier_delivery_days\": \"Thursday 9/19 by 11:00 PM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"UPS 2nd Day Air®\",\n        \"service_code\": \"ups_2nd_day_air\",\n        \"trackable\": true,\n        \"carrier_code\": \"ups\",\n        \"carrier_nickname\": \"ShipEngine Test Account - UPS\",\n        \"carrier_friendly_name\": \"UPS\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121862\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 463.09\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 2,\n        \"guaranteed_service\": true,\n        \"estimated_delivery_date\": \"2019-09-19T10:30:00Z\",\n        \"carrier_delivery_days\": \"Thursday 9/19 by 10:30 AM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"UPS 2nd Day Air AM®\",\n        \"service_code\": \"ups_2nd_day_air_am\",\n        \"trackable\": true,\n        \"carrier_code\": \"ups\",\n        \"carrier_nickname\": \"ShipEngine Test Account - UPS\",\n        \"carrier_friendly_name\": \"UPS\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121862\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 238.19\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 3,\n        \"guaranteed_service\": true,\n        \"estimated_delivery_date\": \"2019-09-20T23:00:00Z\",\n        \"carrier_delivery_days\": \"Friday 9/20 by 11:00 PM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"UPS 3 Day Select®\",\n        \"service_code\": \"ups_3_day_select\",\n        \"trackable\": true,\n        \"carrier_code\": \"ups\",\n        \"carrier_nickname\": \"ShipEngine Test Account - UPS\",\n        \"carrier_friendly_name\": \"UPS\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121862\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 56.5\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 3,\n        \"guaranteed_service\": true,\n        \"estimated_delivery_date\": \"2019-09-20T23:00:00Z\",\n        \"carrier_delivery_days\": \"Friday 9/20 by 11:00 PM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"UPS® Ground\",\n        \"service_code\": \"ups_ground\",\n        \"trackable\": true,\n        \"carrier_code\": \"ups\",\n        \"carrier_nickname\": \"ShipEngine Test Account - UPS\",\n        \"carrier_friendly_name\": \"UPS\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121862\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 518.04\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 1,\n        \"guaranteed_service\": true,\n        \"estimated_delivery_date\": \"2019-09-18T10:30:00Z\",\n        \"carrier_delivery_days\": \"Tomorrow by 10:30 AM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"UPS Next Day Air®\",\n        \"service_code\": \"ups_next_day_air\",\n        \"trackable\": true,\n        \"carrier_code\": \"ups\",\n        \"carrier_nickname\": \"ShipEngine Test Account - UPS\",\n        \"carrier_friendly_name\": \"UPS\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121862\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 550.14\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 1,\n        \"guaranteed_service\": true,\n        \"estimated_delivery_date\": \"2019-09-18T08:30:00Z\",\n        \"carrier_delivery_days\": \"Tomorrow by 08:30 AM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"UPS Next Day Air® Early\",\n        \"service_code\": \"ups_next_day_air_early_am\",\n        \"trackable\": true,\n        \"carrier_code\": \"ups\",\n        \"carrier_nickname\": \"ShipEngine Test Account - UPS\",\n        \"carrier_friendly_name\": \"UPS\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121862\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 509.82\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 1,\n        \"guaranteed_service\": true,\n        \"estimated_delivery_date\": \"2019-09-18T15:00:00Z\",\n        \"carrier_delivery_days\": \"Tomorrow by 03:00 PM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"UPS Next Day Air Saver®\",\n        \"service_code\": \"ups_next_day_air_saver\",\n        \"trackable\": true,\n        \"carrier_code\": \"ups\",\n        \"carrier_nickname\": \"ShipEngine Test Account - UPS\",\n        \"carrier_friendly_name\": \"UPS\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121863\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 285.61\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 21.42\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 2,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-19T16:30:00Z\",\n        \"carrier_delivery_days\": \"Thursday 9/19 by 04:30 PM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"FedEx 2Day®\",\n        \"service_code\": \"fedex_2day\",\n        \"trackable\": true,\n        \"carrier_code\": \"fedex\",\n        \"carrier_nickname\": \"ShipEngine Test Account - FedEx\",\n        \"carrier_friendly_name\": \"FedEx\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121863\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 331.52\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 24.86\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 2,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-19T10:30:00Z\",\n        \"carrier_delivery_days\": \"Thursday 9/19 by 10:30 AM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"FedEx 2Day® A.M.\",\n        \"service_code\": \"fedex_2day_am\",\n        \"trackable\": true,\n        \"carrier_code\": \"fedex\",\n        \"carrier_nickname\": \"ShipEngine Test Account - FedEx\",\n        \"carrier_friendly_name\": \"FedEx\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121863\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 189.75\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 14.23\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 3,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-20T16:30:00Z\",\n        \"carrier_delivery_days\": \"Friday 9/20 by 04:30 PM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"FedEx Express Saver®\",\n        \"service_code\": \"fedex_express_saver\",\n        \"trackable\": true,\n        \"carrier_code\": \"fedex\",\n        \"carrier_nickname\": \"ShipEngine Test Account - FedEx\",\n        \"carrier_friendly_name\": \"FedEx\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121863\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 404.08\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 30.31\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 1,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-18T08:30:00Z\",\n        \"carrier_delivery_days\": \"Tomorrow by 08:30 AM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"FedEx First Overnight®\",\n        \"service_code\": \"fedex_first_overnight\",\n        \"trackable\": true,\n        \"carrier_code\": \"fedex\",\n        \"carrier_nickname\": \"ShipEngine Test Account - FedEx\",\n        \"carrier_friendly_name\": \"FedEx\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121863\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 50.29\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 3.52\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 3,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-20T00:00:00Z\",\n        \"carrier_delivery_days\": \"3\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"FedEx Ground®\",\n        \"service_code\": \"fedex_ground\",\n        \"trackable\": true,\n        \"carrier_code\": \"fedex\",\n        \"carrier_nickname\": \"ShipEngine Test Account - FedEx\",\n        \"carrier_friendly_name\": \"FedEx\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121863\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 107\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 8.03\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 1,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-18T10:30:00Z\",\n        \"carrier_delivery_days\": \"Tomorrow by 10:30 AM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"FedEx Priority Overnight®\",\n        \"service_code\": \"fedex_priority_overnight\",\n        \"trackable\": true,\n        \"carrier_code\": \"fedex\",\n        \"carrier_nickname\": \"ShipEngine Test Account - FedEx\",\n        \"carrier_friendly_name\": \"FedEx\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    },\n    {\n        \"rate_type\": \"check\",\n        \"carrier_id\": \"se-121863\",\n        \"shipping_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 364.84\n        },\n        \"insurance_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"confirmation_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 0\n        },\n        \"other_amount\": {\n            \"currency\": \"usd\",\n            \"amount\": 27.36\n        },\n        \"zone\": null,\n        \"package_type\": null,\n        \"delivery_days\": 1,\n        \"guaranteed_service\": false,\n        \"estimated_delivery_date\": \"2019-09-18T15:00:00Z\",\n        \"carrier_delivery_days\": \"Tomorrow by 03:00 PM\",\n        \"ship_date\": \"2019-09-17T00:00:00Z\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"FedEx Standard Overnight®\",\n        \"service_code\": \"fedex_standard_overnight\",\n        \"trackable\": true,\n        \"carrier_code\": \"fedex\",\n        \"carrier_nickname\": \"ShipEngine Test Account - FedEx\",\n        \"carrier_friendly_name\": \"FedEx\",\n        \"validation_status\": \"unknown\",\n        \"warning_messages\": [],\n        \"error_messages\": []\n    }\n]"
    }
  ]
}