FedEx - Freight Label Third Party Billing

Carrier
FedEx
Action
Freight Label Third Party Billing
{
  "carrier": "FedEx",
  "action": "submitshipment",
  "params": {
    "freight_account_number": "YOUR_FREIGHT_ACCOUNT_NUMBER",
    "account_number": "YOUR_ACCOUNT_NUMBER",
    "meter_number": "YOUR_METER_NUMBER",
    "key": "YOUR_KEY",
    "password": "YOUR_PASSWORD",
    "packages": [
      {
        "weight": 155.0,
        "length": 1,
        "width": 1,
        "height": 1,
        "freight_class": "CLASS_070",
        "description": "B48-48-16",
        "packaging_type": "PALLET",
        "pieces": 1
      }
    ],
    "customs": [],
    "addons": [],
    "package_count": 1,
    "service": "FEDEX_FREIGHT_PRIORITY",
    "lift_gate_required": false,
    "residential": false,
    "shipper": "Vendor - Harrison, AR",
    "ship_addr1": "1202 Chalet Ln",
    "ship_phone": "+1 844-763-0135",
    "ship_city": "Harrison",
    "ship_state": "AR",
    "ship_code": "72601",
    "ship_country": "US",
    "to_city": "Harrison",
    "to_addr1": "2000 Freight LTL Testing",
    "to_country": "US",
    "to_code": "72601",
    "to_state": "AR",
    "to_name": "Test Qa",
    "to_phone": "+1 844-763-0131",
    "weight_unit": "LBS",
    "customer_classification": "01",
    "packaging_type": "YOUR_PACKAGING",
    "special_instructions": "",
    "image_type": "PDF",
    "test": true,
    "billing": [
      {
        "type": "transportation",
        "payment_type": "third_party",
        "company": "Acme Inc.",
        "account": "805222441",
        "postal_code": "72601",
        "country_code": "US",
        "phone": "+18447630131",
        "city": "Harrison",
        "state": "AR",
        "addr1": "2000 Freight LTL Testing"
      }
    ]
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'FedEx',
  'action' => 'submitshipment',
  'params' => 
  array (
    'freight_account_number' => 'YOUR_FREIGHT_ACCOUNT_NUMBER',
    'account_number' => 'YOUR_ACCOUNT_NUMBER',
    'meter_number' => 'YOUR_METER_NUMBER',
    'key' => 'YOUR_KEY',
    'password' => 'YOUR_PASSWORD',
    'packages' => 
    array (
      0 => 
      array (
        'weight' => 155.0,
        'length' => 1,
        'width' => 1,
        'height' => 1,
        'freight_class' => 'CLASS_070',
        'description' => 'B48-48-16',
        'packaging_type' => 'PALLET',
        'pieces' => 1,
      ),
    ),
    'customs' => 
    array (
    ),
    'addons' => 
    array (
    ),
    'package_count' => 1,
    'service' => 'FEDEX_FREIGHT_PRIORITY',
    'lift_gate_required' => false,
    'residential' => false,
    'shipper' => 'Vendor - Harrison, AR',
    'ship_addr1' => '1202 Chalet Ln',
    'ship_phone' => '+1 844-763-0135',
    'ship_city' => 'Harrison',
    'ship_state' => 'AR',
    'ship_code' => '72601',
    'ship_country' => 'US',
    'to_city' => 'Harrison',
    'to_addr1' => '2000 Freight LTL Testing',
    'to_country' => 'US',
    'to_code' => '72601',
    'to_state' => 'AR',
    'to_name' => 'Test Qa',
    'to_phone' => '+1 844-763-0131',
    'weight_unit' => 'LBS',
    'customer_classification' => '01',
    'packaging_type' => 'YOUR_PACKAGING',
    'special_instructions' => '',
    'image_type' => 'PDF',
    'test' => true,
    'billing' => 
    array (
      0 => 
      array (
        'type' => 'transportation',
        'payment_type' => 'third_party',
        'company' => 'Acme Inc.',
        'account' => '805222441',
        'postal_code' => '72601',
        'country_code' => 'US',
        'phone' => '+18447630131',
        'city' => 'Harrison',
        'state' => 'AR',
        'addr1' => '2000 Freight LTL Testing',
      ),
    ),
  ),
)
);

rs.request(
  {'action': 'submitshipment',
 'carrier': 'FedEx',
 'params': {'account_number': 'YOUR_ACCOUNT_NUMBER',
            'addons': [],
            'billing': [{'account': '805222441',
                         'addr1': '2000 Freight LTL Testing',
                         'city': 'Harrison',
                         'company': 'Acme Inc.',
                         'country_code': 'US',
                         'payment_type': 'third_party',
                         'phone': '+18447630131',
                         'postal_code': '72601',
                         'state': 'AR',
                         'type': 'transportation'}],
            'customer_classification': '01',
            'customs': [],
            'freight_account_number': 'YOUR_FREIGHT_ACCOUNT_NUMBER',
            'image_type': 'PDF',
            'key': 'YOUR_KEY',
            'lift_gate_required': False,
            'meter_number': 'YOUR_METER_NUMBER',
            'package_count': 1,
            'packages': [{'description': 'B48-48-16',
                          'freight_class': 'CLASS_070',
                          'height': 1,
                          'length': 1,
                          'packaging_type': 'PALLET',
                          'pieces': 1,
                          'weight': 155.0,
                          'width': 1}],
            'packaging_type': 'YOUR_PACKAGING',
            'password': 'YOUR_PASSWORD',
            'residential': False,
            'service': 'FEDEX_FREIGHT_PRIORITY',
            'ship_addr1': '1202 Chalet Ln',
            'ship_city': 'Harrison',
            'ship_code': '72601',
            'ship_country': 'US',
            'ship_phone': '+1 844-763-0135',
            'ship_state': 'AR',
            'shipper': 'Vendor - Harrison, AR',
            'special_instructions': '',
            'test': True,
            'to_addr1': '2000 Freight LTL Testing',
            'to_city': 'Harrison',
            'to_code': '72601',
            'to_country': 'US',
            'to_name': 'Test Qa',
            'to_phone': '+1 844-763-0131',
            'to_state': 'AR',
            'weight_unit': 'LBS'}}

)

rs.request(
  {"carrier"=>"FedEx",
 "action"=>"submitshipment",
 "params"=>
  {"freight_account_number"=>"YOUR_FREIGHT_ACCOUNT_NUMBER",
   "account_number"=>"YOUR_ACCOUNT_NUMBER",
   "meter_number"=>"YOUR_METER_NUMBER",
   "key"=>"YOUR_KEY",
   "password"=>"YOUR_PASSWORD",
   "packages"=>
    [{"weight"=>155.0,
      "length"=>1,
      "width"=>1,
      "height"=>1,
      "freight_class"=>"CLASS_070",
      "description"=>"B48-48-16",
      "packaging_type"=>"PALLET",
      "pieces"=>1}],
   "customs"=>[],
   "addons"=>[],
   "package_count"=>1,
   "service"=>"FEDEX_FREIGHT_PRIORITY",
   "lift_gate_required"=>false,
   "residential"=>false,
   "shipper"=>"Vendor - Harrison, AR",
   "ship_addr1"=>"1202 Chalet Ln",
   "ship_phone"=>"+1 844-763-0135",
   "ship_city"=>"Harrison",
   "ship_state"=>"AR",
   "ship_code"=>"72601",
   "ship_country"=>"US",
   "to_city"=>"Harrison",
   "to_addr1"=>"2000 Freight LTL Testing",
   "to_country"=>"US",
   "to_code"=>"72601",
   "to_state"=>"AR",
   "to_name"=>"Test Qa",
   "to_phone"=>"+1 844-763-0131",
   "weight_unit"=>"LBS",
   "customer_classification"=>"01",
   "packaging_type"=>"YOUR_PACKAGING",
   "special_instructions"=>"",
   "image_type"=>"PDF",
   "test"=>true,
   "billing"=>
    [{"type"=>"transportation",
      "payment_type"=>"third_party",
      "company"=>"Acme Inc.",
      "account"=>"805222441",
      "postal_code"=>"72601",
      "country_code"=>"US",
      "phone"=>"+18447630131",
      "city"=>"Harrison",
      "state"=>"AR",
      "addr1"=>"2000 Freight LTL Testing"}]}}

)

rocketshipit.request(
  {
  "carrier": "FedEx",
  "action": "submitshipment",
  "params": {
    "freight_account_number": "YOUR_FREIGHT_ACCOUNT_NUMBER",
    "account_number": "YOUR_ACCOUNT_NUMBER",
    "meter_number": "YOUR_METER_NUMBER",
    "key": "YOUR_KEY",
    "password": "YOUR_PASSWORD",
    "packages": [
      {
        "weight": 155.0,
        "length": 1,
        "width": 1,
        "height": 1,
        "freight_class": "CLASS_070",
        "description": "B48-48-16",
        "packaging_type": "PALLET",
        "pieces": 1
      }
    ],
    "customs": [],
    "addons": [],
    "package_count": 1,
    "service": "FEDEX_FREIGHT_PRIORITY",
    "lift_gate_required": false,
    "residential": false,
    "shipper": "Vendor - Harrison, AR",
    "ship_addr1": "1202 Chalet Ln",
    "ship_phone": "+1 844-763-0135",
    "ship_city": "Harrison",
    "ship_state": "AR",
    "ship_code": "72601",
    "ship_country": "US",
    "to_city": "Harrison",
    "to_addr1": "2000 Freight LTL Testing",
    "to_country": "US",
    "to_code": "72601",
    "to_state": "AR",
    "to_name": "Test Qa",
    "to_phone": "+1 844-763-0131",
    "weight_unit": "LBS",
    "customer_classification": "01",
    "packaging_type": "YOUR_PACKAGING",
    "special_instructions": "",
    "image_type": "PDF",
    "test": true,
    "billing": [
      {
        "type": "transportation",
        "payment_type": "third_party",
        "company": "Acme Inc.",
        "account": "805222441",
        "postal_code": "72601",
        "country_code": "US",
        "phone": "+18447630131",
        "city": "Harrison",
        "state": "AR",
        "addr1": "2000 Freight LTL Testing"
      }
    ]
  }
}
)

← All FedEx examples