Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name
Description
Type
Presence
LocationOther
recipient_address_idID of the recipient’s AddressIntegerRequiredBodyEither a recipient_address_id or address_attributes is required
address_attributesAll of the necessary properties of the recipient’s AddressObject
shipper_address_idID of the sender’s AddressIntegerRequiredBodyEither a shipper_address_id or shipper is required
shipperAll of the necessary properties of the sender’s Address Object

 

Examples

RequestResponse

POST /v9/rate_options

Code Block
themeConfluence
languagejs
titleBody
{
  "rate_options": [
    {
      "shipper_address_id": "123",
      "recipient_address_id": "234"
    }
  ]
}
Code Block
themeConfluence
languagejs
{
  "rate_options": [
    {
      "type": "FIRST_OVERNIGHT",
      "currency": "USD",
      "origin": "fedex",
      "rate": "64.55",
      "saturday": false,
      "delivered_by": "2014-10-15T13:00:00+00:00",
      "speed": 86400,
      "name": "First Overnight",
      "set_rate": null
    },
    {
      "type": "PRIORITY_OVERNIGHT",
      "currency": "USD",
      "origin": "fedex",
      "rate": "33.89",
      "saturday": false,
      "delivered_by": "2014-10-15T15:30:00+00:00",
      "speed": 86400,
      "name": "Priority Overnight",
      "set_rate": 20.0
    },
    {
      "type": "STANDARD_OVERNIGHT",
      "currency": "USD",
      "origin": "fedex",
      "rate": "32.63",
      "saturday": false,
      "delivered_by": "2014-10-15T20:00:00+00:00",
      "speed": 86400,
      "name": "Standard Overnight",
      "set_rate": 15.0
    },
    {
      "type": "FEDEX_2_DAY",
      "currency": "USD",
      "origin": "fedex",
      "rate": "22.5",
      "saturday": false,
      "delivered_by": "2014-10-16T21:30:00+00:00",
      "speed": 172800,
      "name": "FedEx 2 Day",
      "set_rate": 12.0
    },
    {
      "type": "FEDEX_EXPRESS_SAVER",
      "currency": "USD",
      "origin": "fedex",
      "rate": "16.21",
      "saturday": false,
      "delivered_by": "2014-10-17T21:30:00+00:00",
      "speed": 259200,
      "name": "FedEx Express Saver",
      "set_rate": 10.0
    }
  ]
}

 

 

 

POST /v9/rate_options

Code Block
themeConfluence
languagejs
titleBody
{
  "rate_options": [
    {
      "shipper": {
        "address_id": "123"
      },
      "recipient_address_id": "234"
    }
  ]
}

POST /v9/rate_options

Code Block
themeConfluence
languagejs
titleBody
{
  "rate_options": [
    {
      "address_attributes": {
        "street_address": "555 Evergreen Terrace",
        "locality": "Springfield",
        "region": "MG",
        "postal_code": "58008-0000",
        "country_code": "US"
      },
      "shipper": {
        "street_address": "110 W 30th St",
        "extended_address": "Seventh floor",
        "locality": "New York",
        "region": "NY",
        "postal_code": "10001",
        "country_code": "US"
      }
    }
  ]
}