FedEx - Rates International Duties and Taxes

Carrier
FedEx
Action
Rates International Duties and Taxes
{
  "carrier": "FedEx",
  "action": "getallrates",
  "params": {
    "account_number": "YOUR_ACCOUNT_NUMBER",
    "meter_number": "YOUR_METER_NUMBER",
    "key": "YOUR_KEY",
    "password": "YOUR_PASSWORD",
    "packages": [
      {
        "weight": 2
      }
    ],
    "customs_value": 50.00,
    "currency": "USD",
    "customs": [
      {
        "number_of_packages_per_commodity": 1,
        "customs_quantity_units": "EA",
        "customs_quantity": 1,
        "customs_line_amount": 50.00,
        "country_of_manufacture": "US",
        "customs_weight": 2.5,
        "customs_description": "Brass Trumpet in Case",
        "customs_hs_tariff": "920510009000"
      }
    ],
    "shipper": "RocketShipIt",
    "ship_addr1": "123 Main St",
    "ship_city": "Whitehall",
    "ship_state": "MT",
    "ship_code": "59759",
    "ship_country": "US",
    "to_addr1": "2020 ELLESMERE ROAD 6-7",
    "to_city": "SCARBOROUGH",
    "to_country": "CA",
    "to_state": "ON",
    "to_code": "M1H2Z8",
    "weight_unit": "LB",
    "packaging_type": "YOUR_PACKAGING",
    "dropoff_type": "REGULAR_PICKUP",
    "test": true,
    "negotiated_rates": true
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'FedEx',
  'action' => 'getallrates',
  'params' => 
  array (
    'account_number' => 'YOUR_ACCOUNT_NUMBER',
    'meter_number' => 'YOUR_METER_NUMBER',
    'key' => 'YOUR_KEY',
    'password' => 'YOUR_PASSWORD',
    'packages' => 
    array (
      0 => 
      array (
        'weight' => 2,
      ),
    ),
    'customs_value' => 50.0,
    'currency' => 'USD',
    'customs' => 
    array (
      0 => 
      array (
        'number_of_packages_per_commodity' => 1,
        'customs_quantity_units' => 'EA',
        'customs_quantity' => 1,
        'customs_line_amount' => 50.0,
        'country_of_manufacture' => 'US',
        'customs_weight' => 2.5,
        'customs_description' => 'Brass Trumpet in Case',
        'customs_hs_tariff' => '920510009000',
      ),
    ),
    'shipper' => 'RocketShipIt',
    'ship_addr1' => '123 Main St',
    'ship_city' => 'Whitehall',
    'ship_state' => 'MT',
    'ship_code' => '59759',
    'ship_country' => 'US',
    'to_addr1' => '2020 ELLESMERE ROAD 6-7',
    'to_city' => 'SCARBOROUGH',
    'to_country' => 'CA',
    'to_state' => 'ON',
    'to_code' => 'M1H2Z8',
    'weight_unit' => 'LB',
    'packaging_type' => 'YOUR_PACKAGING',
    'dropoff_type' => 'REGULAR_PICKUP',
    'test' => true,
    'negotiated_rates' => true,
  ),
)
);

rs.request(
  {'action': 'getallrates',
 'carrier': 'FedEx',
 'params': {'account_number': 'YOUR_ACCOUNT_NUMBER',
            'currency': 'USD',
            'customs': [{'country_of_manufacture': 'US',
                         'customs_description': 'Brass Trumpet in Case',
                         'customs_hs_tariff': '920510009000',
                         'customs_line_amount': 50.0,
                         'customs_quantity': 1,
                         'customs_quantity_units': 'EA',
                         'customs_weight': 2.5,
                         'number_of_packages_per_commodity': 1}],
            'customs_value': 50.0,
            'dropoff_type': 'REGULAR_PICKUP',
            'key': 'YOUR_KEY',
            'meter_number': 'YOUR_METER_NUMBER',
            'negotiated_rates': True,
            'packages': [{'weight': 2}],
            'packaging_type': 'YOUR_PACKAGING',
            'password': 'YOUR_PASSWORD',
            'ship_addr1': '123 Main St',
            'ship_city': 'Whitehall',
            'ship_code': '59759',
            'ship_country': 'US',
            'ship_state': 'MT',
            'shipper': 'RocketShipIt',
            'test': True,
            'to_addr1': '2020 ELLESMERE ROAD 6-7',
            'to_city': 'SCARBOROUGH',
            'to_code': 'M1H2Z8',
            'to_country': 'CA',
            'to_state': 'ON',
            'weight_unit': 'LB'}}

)

rs.request(
  {"carrier"=>"FedEx",
 "action"=>"getallrates",
 "params"=>
  {"account_number"=>"YOUR_ACCOUNT_NUMBER",
   "meter_number"=>"YOUR_METER_NUMBER",
   "key"=>"YOUR_KEY",
   "password"=>"YOUR_PASSWORD",
   "packages"=>[{"weight"=>2}],
   "customs_value"=>50.0,
   "currency"=>"USD",
   "customs"=>
    [{"number_of_packages_per_commodity"=>1,
      "customs_quantity_units"=>"EA",
      "customs_quantity"=>1,
      "customs_line_amount"=>50.0,
      "country_of_manufacture"=>"US",
      "customs_weight"=>2.5,
      "customs_description"=>"Brass Trumpet in Case",
      "customs_hs_tariff"=>"920510009000"}],
   "shipper"=>"RocketShipIt",
   "ship_addr1"=>"123 Main St",
   "ship_city"=>"Whitehall",
   "ship_state"=>"MT",
   "ship_code"=>"59759",
   "ship_country"=>"US",
   "to_addr1"=>"2020 ELLESMERE ROAD 6-7",
   "to_city"=>"SCARBOROUGH",
   "to_country"=>"CA",
   "to_state"=>"ON",
   "to_code"=>"M1H2Z8",
   "weight_unit"=>"LB",
   "packaging_type"=>"YOUR_PACKAGING",
   "dropoff_type"=>"REGULAR_PICKUP",
   "test"=>true,
   "negotiated_rates"=>true}}

)

rocketshipit.request(
  {
  "carrier": "FedEx",
  "action": "getallrates",
  "params": {
    "account_number": "YOUR_ACCOUNT_NUMBER",
    "meter_number": "YOUR_METER_NUMBER",
    "key": "YOUR_KEY",
    "password": "YOUR_PASSWORD",
    "packages": [
      {
        "weight": 2
      }
    ],
    "customs_value": 50.00,
    "currency": "USD",
    "customs": [
      {
        "number_of_packages_per_commodity": 1,
        "customs_quantity_units": "EA",
        "customs_quantity": 1,
        "customs_line_amount": 50.00,
        "country_of_manufacture": "US",
        "customs_weight": 2.5,
        "customs_description": "Brass Trumpet in Case",
        "customs_hs_tariff": "920510009000"
      }
    ],
    "shipper": "RocketShipIt",
    "ship_addr1": "123 Main St",
    "ship_city": "Whitehall",
    "ship_state": "MT",
    "ship_code": "59759",
    "ship_country": "US",
    "to_addr1": "2020 ELLESMERE ROAD 6-7",
    "to_city": "SCARBOROUGH",
    "to_country": "CA",
    "to_state": "ON",
    "to_code": "M1H2Z8",
    "weight_unit": "LB",
    "packaging_type": "YOUR_PACKAGING",
    "dropoff_type": "REGULAR_PICKUP",
    "test": true,
    "negotiated_rates": true
  }
}
)

← All FedEx examples