Chilkat Online Tools

Delphi (DLL) / ShipEngine Walkthrough / Get rate estimates (minimal)

Back to Collection Items

var

begin
CkJsonObject_UpdateString(json,'carrier_ids[0]','{{stamps_com}}');CkJsonObject_UpdateString(json,'carrier_ids[1]','{{fedex}}');CkJsonObject_UpdateString(json,'carrier_ids[2]','{{ups}}');CkJsonObject_UpdateString(json,'from_country_code','US');CkJsonObject_UpdateString(json,'from_postal_code','78756');CkJsonObject_UpdateString(json,'to_country_code','US');CkJsonObject_UpdateString(json,'to_postal_code','91521');CkJsonObject_UpdateInt(json,'weight.value',17);CkJsonObject_UpdateString(json,'weight.unit','pound');CkHttpResponse_GetBodySb(resp,sbResponseBody);CkJsonArray_LoadSb(jarrResp,sbResponseBody);CkJsonArray_putEmitCompact(jarrResp,False);json := CkJsonArray_ObjectAt(jarrResp,i);rate_type := CkJsonObject__stringOf(json,'rate_type');carrier_id := CkJsonObject__stringOf(json,'carrier_id');v_Currency := CkJsonObject__stringOf(json,'shipping_amount.currency');Amount := CkJsonObject__stringOf(json,'shipping_amount.amount');insurance_amountCurrency := CkJsonObject__stringOf(json,'insurance_amount.currency');insurance_amountAmount := CkJsonObject_IntOf(json,'insurance_amount.amount');confirmation_amountCurrency := CkJsonObject__stringOf(json,'confirmation_amount.currency');confirmation_amountAmount := CkJsonObject_IntOf(json,'confirmation_amount.amount');other_amountCurrency := CkJsonObject__stringOf(json,'other_amount.currency');other_amountAmount := CkJsonObject_IntOf(json,'other_amount.amount');zone := CkJsonObject_IntOf(json,'zone');package_type := CkJsonObject__stringOf(json,'package_type');delivery_days := CkJsonObject_IntOf(json,'delivery_days');guaranteed_service := CkJsonObject_BoolOf(json,'guaranteed_service');estimated_delivery_date := CkJsonObject__stringOf(json,'estimated_delivery_date');carrier_delivery_days := CkJsonObject__stringOf(json,'carrier_delivery_days');ship_date := CkJsonObject__stringOf(json,'ship_date');negotiated_rate := CkJsonObject_BoolOf(json,'negotiated_rate');service_type := CkJsonObject__stringOf(json,'service_type');service_code := CkJsonObject__stringOf(json,'service_code');trackable := CkJsonObject_BoolOf(json,'trackable');carrier_code := CkJsonObject__stringOf(json,'carrier_code');carrier_nickname := CkJsonObject__stringOf(json,'carrier_nickname');carrier_friendly_name := CkJsonObject__stringOf(json,'carrier_friendly_name');validation_status := CkJsonObject__stringOf(json,'validation_status');j := 0;count_j := CkJsonObject_SizeOfArray(json,'warning_messages');CkJsonObject_putJ(json,j);j := j + 1;j := 0;count_j := CkJsonObject_SizeOfArray(json,'error_messages');CkJsonObject_putJ(json,j);j := j + 1;i := i + 1;


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",
	"to_country_code": "US",
	"to_postal_code": "91521",
	"weight": {
		"value": 17,
		"unit": "pound"
	}
}'
https://api.shipengine.com/v1/rates/estimate

Postman Collection Item JSON

{
  "name": "Get rate estimates (minimal)",
  "event": [
    {
      "listen": "test",
      "script": {
        "exec": [
          ""
        ],
        "type": "text/javascript"
      }
    }
  ],
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "name": "Content-Type",
        "value": "application/json",
        "type": "text"
      }
    ],
    "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\"weight\": {\n\t\t\"value\": 17,\n\t\t\"unit\": \"pound\"\n\t}\n}"
    },
    "url": {
      "raw": "https://api.shipengine.com/v1/rates/estimate",
      "protocol": "https",
      "host": [
        "api",
        "shipengine",
        "com"
      ],
      "path": [
        "v1",
        "rates",
        "estimate"
      ]
    },
    "description": "This request shows you how to get rate estimates when you don't know the full delivery address yet."
  },
  "response": [
    {
      "name": "Get rate estimates (minimal)",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "name": "Content-Type",
            "value": "application/json",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n\t\"carrier_id\": \"{{stamps_com}}\",\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\"weight\": {\n\t\t\"value\": 17,\n\t\t\"unit\": \"pound\"\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:48:57 GMT"
        },
        {
          "key": "Content-Type",
          "value": "application/json; charset=utf-8"
        },
        {
          "key": "Content-Length",
          "value": "14422"
        },
        {
          "key": "Connection",
          "value": "keep-alive"
        },
        {
          "key": "Access-Control-Allow-Origin",
          "value": "https://www.shipengine.com"
        },
        {
          "key": "Vary",
          "value": "Origin"
        },
        {
          "key": "x-shipengine-requestid",
          "value": "a0122561-502b-4e6e-93d1-f1498bf6a0b3"
        }
      ],
      "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\": 38.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\": \"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\": 39.23\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\": 16.1\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\": \"regional_rate_box_b\",\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\": 103.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\": 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]"
    }
  ]
}