FedEx - Freight Label International

Carrier
FedEx
Action
Freight Label International
{
  "carrier": "FedEx",
  "action": "submitshipment",
  "params": {
    "freight_account_number": "510087020",
    "account_number": "YOUR_ACCOUNT_NUMBER",
    "meter_number": "YOUR_METER_NUMBER",
    "key": "YOUR_KEY",
    "password": "YOUR_PASSWORD",
    "service": "FEDEX_FREIGHT_ECONOMY",
    "lift_gate_required": false,
    "packages": [
      {
        "description": "Bailing wire",
        "weight": 200,
        "length": 119,
        "width": 80,
        "height": 70,
        "freight_class": "50",
        "packaging_type": "PALLET",
        "pieces": 10
      }
    ],
    "shipper": "WS1 LLC",
    "ship_addr1": "298 CHERRY LN",
    "ship_city": "New Castle",
    "ship_state": "DE",
    "ship_code": "19720",
    "ship_country": "US",
    "ship_phone": "4403392600",
    "to_name": "Ahmed",
    "to_addr1": "4815 Dakhnah",
    "to_city": "JEDDAH",
    "to_state": "Makkah",
    "to_country": "SA",
    "to_code": "23344",
    "to_phone": "0561290777",
    "customs_value": 200,
    "currency": "USD",
    "customs": [
      {
        "customs_quantity_units": "EA",
        "customs_quantity": 1,
        "customs_line_amount": 50.00,
        "country_of_manufacture": "US",
        "customs_weight": 2.5,
        "customs_description": "My Description"
      }
    ],
    "test": true
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'FedEx',
  'action' => 'submitshipment',
  'params' => 
  array (
    'freight_account_number' => '510087020',
    'account_number' => 'YOUR_ACCOUNT_NUMBER',
    'meter_number' => 'YOUR_METER_NUMBER',
    'key' => 'YOUR_KEY',
    'password' => 'YOUR_PASSWORD',
    'service' => 'FEDEX_FREIGHT_ECONOMY',
    'lift_gate_required' => false,
    'packages' => 
    array (
      0 => 
      array (
        'description' => 'Bailing wire',
        'weight' => 200,
        'length' => 119,
        'width' => 80,
        'height' => 70,
        'freight_class' => '50',
        'packaging_type' => 'PALLET',
        'pieces' => 10,
      ),
    ),
    'shipper' => 'WS1 LLC',
    'ship_addr1' => '298 CHERRY LN',
    'ship_city' => 'New Castle',
    'ship_state' => 'DE',
    'ship_code' => '19720',
    'ship_country' => 'US',
    'ship_phone' => '4403392600',
    'to_name' => 'Ahmed',
    'to_addr1' => '4815 Dakhnah',
    'to_city' => 'JEDDAH',
    'to_state' => 'Makkah',
    'to_country' => 'SA',
    'to_code' => '23344',
    'to_phone' => '0561290777',
    'customs_value' => 200,
    'currency' => 'USD',
    'customs' => 
    array (
      0 => 
      array (
        'customs_quantity_units' => 'EA',
        'customs_quantity' => 1,
        'customs_line_amount' => 50.0,
        'country_of_manufacture' => 'US',
        'customs_weight' => 2.5,
        'customs_description' => 'My Description',
      ),
    ),
    'test' => true,
  ),
)
);

rs.request(
  {'action': 'submitshipment',
 'carrier': 'FedEx',
 'params': {'account_number': 'YOUR_ACCOUNT_NUMBER',
            'currency': 'USD',
            'customs': [{'country_of_manufacture': 'US',
                         'customs_description': 'My Description',
                         'customs_line_amount': 50.0,
                         'customs_quantity': 1,
                         'customs_quantity_units': 'EA',
                         'customs_weight': 2.5}],
            'customs_value': 200,
            'freight_account_number': '510087020',
            'key': 'YOUR_KEY',
            'lift_gate_required': False,
            'meter_number': 'YOUR_METER_NUMBER',
            'packages': [{'description': 'Bailing wire',
                          'freight_class': '50',
                          'height': 70,
                          'length': 119,
                          'packaging_type': 'PALLET',
                          'pieces': 10,
                          'weight': 200,
                          'width': 80}],
            'password': 'YOUR_PASSWORD',
            'service': 'FEDEX_FREIGHT_ECONOMY',
            'ship_addr1': '298 CHERRY LN',
            'ship_city': 'New Castle',
            'ship_code': '19720',
            'ship_country': 'US',
            'ship_phone': '4403392600',
            'ship_state': 'DE',
            'shipper': 'WS1 LLC',
            'test': True,
            'to_addr1': '4815 Dakhnah',
            'to_city': 'JEDDAH',
            'to_code': '23344',
            'to_country': 'SA',
            'to_name': 'Ahmed',
            'to_phone': '0561290777',
            'to_state': 'Makkah'}}

)

rs.request(
  {"carrier"=>"FedEx",
 "action"=>"submitshipment",
 "params"=>
  {"freight_account_number"=>"510087020",
   "account_number"=>"YOUR_ACCOUNT_NUMBER",
   "meter_number"=>"YOUR_METER_NUMBER",
   "key"=>"YOUR_KEY",
   "password"=>"YOUR_PASSWORD",
   "service"=>"FEDEX_FREIGHT_ECONOMY",
   "lift_gate_required"=>false,
   "packages"=>
    [{"description"=>"Bailing wire",
      "weight"=>200,
      "length"=>119,
      "width"=>80,
      "height"=>70,
      "freight_class"=>"50",
      "packaging_type"=>"PALLET",
      "pieces"=>10}],
   "shipper"=>"WS1 LLC",
   "ship_addr1"=>"298 CHERRY LN",
   "ship_city"=>"New Castle",
   "ship_state"=>"DE",
   "ship_code"=>"19720",
   "ship_country"=>"US",
   "ship_phone"=>"4403392600",
   "to_name"=>"Ahmed",
   "to_addr1"=>"4815 Dakhnah",
   "to_city"=>"JEDDAH",
   "to_state"=>"Makkah",
   "to_country"=>"SA",
   "to_code"=>"23344",
   "to_phone"=>"0561290777",
   "customs_value"=>200,
   "currency"=>"USD",
   "customs"=>
    [{"customs_quantity_units"=>"EA",
      "customs_quantity"=>1,
      "customs_line_amount"=>50.0,
      "country_of_manufacture"=>"US",
      "customs_weight"=>2.5,
      "customs_description"=>"My Description"}],
   "test"=>true}}

)

rocketshipit.request(
  {
  "carrier": "FedEx",
  "action": "submitshipment",
  "params": {
    "freight_account_number": "510087020",
    "account_number": "YOUR_ACCOUNT_NUMBER",
    "meter_number": "YOUR_METER_NUMBER",
    "key": "YOUR_KEY",
    "password": "YOUR_PASSWORD",
    "service": "FEDEX_FREIGHT_ECONOMY",
    "lift_gate_required": false,
    "packages": [
      {
        "description": "Bailing wire",
        "weight": 200,
        "length": 119,
        "width": 80,
        "height": 70,
        "freight_class": "50",
        "packaging_type": "PALLET",
        "pieces": 10
      }
    ],
    "shipper": "WS1 LLC",
    "ship_addr1": "298 CHERRY LN",
    "ship_city": "New Castle",
    "ship_state": "DE",
    "ship_code": "19720",
    "ship_country": "US",
    "ship_phone": "4403392600",
    "to_name": "Ahmed",
    "to_addr1": "4815 Dakhnah",
    "to_city": "JEDDAH",
    "to_state": "Makkah",
    "to_country": "SA",
    "to_code": "23344",
    "to_phone": "0561290777",
    "customs_value": 200,
    "currency": "USD",
    "customs": [
      {
        "customs_quantity_units": "EA",
        "customs_quantity": 1,
        "customs_line_amount": 50.00,
        "country_of_manufacture": "US",
        "customs_weight": 2.5,
        "customs_description": "My Description"
      }
    ],
    "test": true
  }
}
)

← All FedEx examples