FedEx-REST - Label International NO EEI Exemption

Carrier: FedEx-REST
Action: Label International NO EEI Exemption
Description: Example implementation for FedEx-REST Label International NO EEI Exemption
{
  "carrier": "FedEx-REST",
  "action": "SubmitShipment",
  "params": {
    "test": true,
    "key": "your-key-from-authenticate-request",
    "b13a_filing_option": "NOT_REQUIRED",
    "export_compliance_statement": "NO EEI 30.37(f)",
    "packages": [
      {
        "weight": 12,
        "length": 0,
        "width": 0,
        "height": 0,
        "reference_code": "INVOICE_NUMBER",
        "reference_value": "79631"
      }
    ],
    "shipper": "Acme, Inc.",
    "ship_addr1": "273 Cahaba Valley Pkwy",
    "ship_city": "Pelham",
    "ship_state": "AL",
    "ship_code": "35124",
    "ship_country": "US",
    "ship_phone": "(123) 123.6183",
    "to_name": "John Doe",
    "to_company": "Bogota DC",
    "to_addr1": "Calle 151",
    "to_attention_name": "John Doe",
    "to_phone": "1113444356",
    "to_country": "CO",
    "to_city": "Bogota",
    "to_state": null,
    "to_code": "110131",
    "weight_unit": "LB",
    "length_unit": "IN",
    "packaging_type": "YOUR_PACKAGING",
    "fedex_one_rate": false,
    "service": "INTERNATIONAL_PRIORITY",
    "negotiated_rates": true,
    "currency": "USD",
    "sold_company": "Acme, Inc.",
    "sold_name": "John Doe",
    "sold_tax_id": "",
    "sold_phone": "1113444356",
    "sold_addr1": "Calle 151",
    "sold_city": "Bogota",
    "sold_state": null,
    "sold_code": "110131",
    "sold_country": "CO",
    "customs_value": 262.89,
    "customs": [
      {
        "customs_quantity_units": "EA",
        "customs_quantity": 500,
        "customs_line_amount": 55,
        "country_of_manufacture": "US",
        "customs_weight": 10,
        "customs_description": "Cards"
      }
    ],
    "ship_contact": "Sales Person2",
    "shipment_description": "PRINTED MATERIALS",
    "generate_docs": [
      "COMMERCIAL_INVOICE"
    ]
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'FedEx-REST',
  'action' => 'SubmitShipment',
  'params' => 
  array (
    'test' => true,
    'key' => 'your-key-from-authenticate-request',
    'b13a_filing_option' => 'NOT_REQUIRED',
    'export_compliance_statement' => 'NO EEI 30.37(f)',
    'packages' => 
    array (
      0 => 
      array (
        'weight' => 12,
        'length' => 0,
        'width' => 0,
        'height' => 0,
        'reference_code' => 'INVOICE_NUMBER',
        'reference_value' => '79631',
      ),
    ),
    'shipper' => 'Acme, Inc.',
    'ship_addr1' => '273 Cahaba Valley Pkwy',
    'ship_city' => 'Pelham',
    'ship_state' => 'AL',
    'ship_code' => '35124',
    'ship_country' => 'US',
    'ship_phone' => '(123) 123.6183',
    'to_name' => 'John Doe',
    'to_company' => 'Bogota DC',
    'to_addr1' => 'Calle 151',
    'to_attention_name' => 'John Doe',
    'to_phone' => '1113444356',
    'to_country' => 'CO',
    'to_city' => 'Bogota',
    'to_state' => NULL,
    'to_code' => '110131',
    'weight_unit' => 'LB',
    'length_unit' => 'IN',
    'packaging_type' => 'YOUR_PACKAGING',
    'fedex_one_rate' => false,
    'service' => 'INTERNATIONAL_PRIORITY',
    'negotiated_rates' => true,
    'currency' => 'USD',
    'sold_company' => 'Acme, Inc.',
    'sold_name' => 'John Doe',
    'sold_tax_id' => '',
    'sold_phone' => '1113444356',
    'sold_addr1' => 'Calle 151',
    'sold_city' => 'Bogota',
    'sold_state' => NULL,
    'sold_code' => '110131',
    'sold_country' => 'CO',
    'customs_value' => 262.89,
    'customs' => 
    array (
      0 => 
      array (
        'customs_quantity_units' => 'EA',
        'customs_quantity' => 500,
        'customs_line_amount' => 55,
        'country_of_manufacture' => 'US',
        'customs_weight' => 10,
        'customs_description' => 'Cards',
      ),
    ),
    'ship_contact' => 'Sales Person2',
    'shipment_description' => 'PRINTED MATERIALS',
    'generate_docs' => 
    array (
      0 => 'COMMERCIAL_INVOICE',
    ),
  ),
)
);

rs.request(
  {'action': 'SubmitShipment',
 'carrier': 'FedEx-REST',
 'params': {'b13a_filing_option': 'NOT_REQUIRED',
            'currency': 'USD',
            'customs': [{'country_of_manufacture': 'US',
                         'customs_description': 'Cards',
                         'customs_line_amount': 55,
                         'customs_quantity': 500,
                         'customs_quantity_units': 'EA',
                         'customs_weight': 10}],
            'customs_value': 262.89,
            'export_compliance_statement': 'NO EEI 30.37(f)',
            'fedex_one_rate': False,
            'generate_docs': ['COMMERCIAL_INVOICE'],
            'key': 'your-key-from-authenticate-request',
            'length_unit': 'IN',
            'negotiated_rates': True,
            'packages': [{'height': 0,
                          'length': 0,
                          'reference_code': 'INVOICE_NUMBER',
                          'reference_value': '79631',
                          'weight': 12,
                          'width': 0}],
            'packaging_type': 'YOUR_PACKAGING',
            'service': 'INTERNATIONAL_PRIORITY',
            'ship_addr1': '273 Cahaba Valley Pkwy',
            'ship_city': 'Pelham',
            'ship_code': '35124',
            'ship_contact': 'Sales Person2',
            'ship_country': 'US',
            'ship_phone': '(123) 123.6183',
            'ship_state': 'AL',
            'shipment_description': 'PRINTED MATERIALS',
            'shipper': 'Acme, Inc.',
            'sold_addr1': 'Calle 151',
            'sold_city': 'Bogota',
            'sold_code': '110131',
            'sold_company': 'Acme, Inc.',
            'sold_country': 'CO',
            'sold_name': 'John Doe',
            'sold_phone': '1113444356',
            'sold_state': None,
            'sold_tax_id': '',
            'test': True,
            'to_addr1': 'Calle 151',
            'to_attention_name': 'John Doe',
            'to_city': 'Bogota',
            'to_code': '110131',
            'to_company': 'Bogota DC',
            'to_country': 'CO',
            'to_name': 'John Doe',
            'to_phone': '1113444356',
            'to_state': None,
            'weight_unit': 'LB'}}

)

rs.request(
  {"carrier"=>"FedEx-REST",
 "action"=>"SubmitShipment",
 "params"=>
  {"test"=>true,
   "key"=>"your-key-from-authenticate-request",
   "b13a_filing_option"=>"NOT_REQUIRED",
   "export_compliance_statement"=>"NO EEI 30.37(f)",
   "packages"=>
    [{"weight"=>12,
      "length"=>0,
      "width"=>0,
      "height"=>0,
      "reference_code"=>"INVOICE_NUMBER",
      "reference_value"=>"79631"}],
   "shipper"=>"Acme, Inc.",
   "ship_addr1"=>"273 Cahaba Valley Pkwy",
   "ship_city"=>"Pelham",
   "ship_state"=>"AL",
   "ship_code"=>"35124",
   "ship_country"=>"US",
   "ship_phone"=>"(123) 123.6183",
   "to_name"=>"John Doe",
   "to_company"=>"Bogota DC",
   "to_addr1"=>"Calle 151",
   "to_attention_name"=>"John Doe",
   "to_phone"=>"1113444356",
   "to_country"=>"CO",
   "to_city"=>"Bogota",
   "to_state"=>nil,
   "to_code"=>"110131",
   "weight_unit"=>"LB",
   "length_unit"=>"IN",
   "packaging_type"=>"YOUR_PACKAGING",
   "fedex_one_rate"=>false,
   "service"=>"INTERNATIONAL_PRIORITY",
   "negotiated_rates"=>true,
   "currency"=>"USD",
   "sold_company"=>"Acme, Inc.",
   "sold_name"=>"John Doe",
   "sold_tax_id"=>"",
   "sold_phone"=>"1113444356",
   "sold_addr1"=>"Calle 151",
   "sold_city"=>"Bogota",
   "sold_state"=>nil,
   "sold_code"=>"110131",
   "sold_country"=>"CO",
   "customs_value"=>262.89,
   "customs"=>
    [{"customs_quantity_units"=>"EA",
      "customs_quantity"=>500,
      "customs_line_amount"=>55,
      "country_of_manufacture"=>"US",
      "customs_weight"=>10,
      "customs_description"=>"Cards"}],
   "ship_contact"=>"Sales Person2",
   "shipment_description"=>"PRINTED MATERIALS",
   "generate_docs"=>["COMMERCIAL_INVOICE"]}}

)

rocketshipit.request(
  {
  "carrier": "FedEx-REST",
  "action": "SubmitShipment",
  "params": {
    "test": true,
    "key": "your-key-from-authenticate-request",
    "b13a_filing_option": "NOT_REQUIRED",
    "export_compliance_statement": "NO EEI 30.37(f)",
    "packages": [
      {
        "weight": 12,
        "length": 0,
        "width": 0,
        "height": 0,
        "reference_code": "INVOICE_NUMBER",
        "reference_value": "79631"
      }
    ],
    "shipper": "Acme, Inc.",
    "ship_addr1": "273 Cahaba Valley Pkwy",
    "ship_city": "Pelham",
    "ship_state": "AL",
    "ship_code": "35124",
    "ship_country": "US",
    "ship_phone": "(123) 123.6183",
    "to_name": "John Doe",
    "to_company": "Bogota DC",
    "to_addr1": "Calle 151",
    "to_attention_name": "John Doe",
    "to_phone": "1113444356",
    "to_country": "CO",
    "to_city": "Bogota",
    "to_state": null,
    "to_code": "110131",
    "weight_unit": "LB",
    "length_unit": "IN",
    "packaging_type": "YOUR_PACKAGING",
    "fedex_one_rate": false,
    "service": "INTERNATIONAL_PRIORITY",
    "negotiated_rates": true,
    "currency": "USD",
    "sold_company": "Acme, Inc.",
    "sold_name": "John Doe",
    "sold_tax_id": "",
    "sold_phone": "1113444356",
    "sold_addr1": "Calle 151",
    "sold_city": "Bogota",
    "sold_state": null,
    "sold_code": "110131",
    "sold_country": "CO",
    "customs_value": 262.89,
    "customs": [
      {
        "customs_quantity_units": "EA",
        "customs_quantity": 500,
        "customs_line_amount": 55,
        "country_of_manufacture": "US",
        "customs_weight": 10,
        "customs_description": "Cards"
      }
    ],
    "ship_contact": "Sales Person2",
    "shipment_description": "PRINTED MATERIALS",
    "generate_docs": [
      "COMMERCIAL_INVOICE"
    ]
  }
}
)
← Back to All Examples

Other FedEx-REST Examples

Address Validation
Example implementation for FedEx-REST Address Validation
Authenticate
Example implementation for FedEx-REST Authenticate
Freight Rating
Example implementation for FedEx-REST Freight Rating
Label
Example implementation for FedEx-REST Label
Label Additional Handling PAIL
Example implementation for FedEx-REST Label Additional Handling PAIL
Label Alcohol
Example implementation for FedEx-REST Label Alcohol
Label Alcohol to Licensee
Example implementation for FedEx-REST Label Alcohol to Licensee
Label Alternate Return Address
Example implementation for FedEx-REST Label Alternate Return Address
Label Bill Recipient
Example implementation for FedEx-REST Label Bill Recipient
Label Dry Ice
Example implementation for FedEx-REST Label Dry Ice
Label Email Notifications
Example implementation for FedEx-REST Label Email Notifications
Label Ground Collect (Not COD)
Example implementation for FedEx-REST Label Ground Collect (Not COD)
Label Hidden Account Number
Example implementation for FedEx-REST Label Hidden Account Number
Label Hold at Location
Example implementation for FedEx-REST Label Hold at Location
Label Home Delivery No Signature
Example implementation for FedEx-REST Label Home Delivery No Signature
Label International
Example implementation for FedEx-REST Label International
Label International Documents Only
Example implementation for FedEx-REST Label International Documents Only
Label International Paperless Customs (ETD)
Example implementation for FedEx-REST Label International Paperless Customs (ETD)
Label International Sender Pays Duties
Example implementation for FedEx-REST Label International Sender Pays Duties
Label International w/ CI and NAFTA
Example implementation for FedEx-REST Label International w/ CI and NAFTA
Label International w/ CI and NAFTA Custom Images
Example implementation for FedEx-REST Label International w/ CI and NAFTA Custom Images
Label Lithium Battery
Example implementation for FedEx-REST Label Lithium Battery
Label Multi-package
Example implementation for FedEx-REST Label Multi-package
Label Multi-package International
Example implementation for FedEx-REST Label Multi-package International
Label OneRate
Example implementation for FedEx-REST Label OneRate
Label Reference Values
Example implementation for FedEx-REST Label Reference Values
Label Residential
Example implementation for FedEx-REST Label Residential
Label Return Email label
Example implementation for FedEx-REST Label Return Email label
Label Return label
Example implementation for FedEx-REST Label Return label
Label SmartPost
Example implementation for FedEx-REST Label SmartPost
Label Third Party Billing
Example implementation for FedEx-REST Label Third Party Billing
Label with Insurance
Example implementation for FedEx-REST Label with Insurance
Locator
Example implementation for FedEx-REST Locator
Pickup Cancel
Example implementation for FedEx-REST Pickup Cancel
Pickup Express
Example implementation for FedEx-REST Pickup Express
Pickup Ground
Example implementation for FedEx-REST Pickup Ground
Rates
Example implementation for FedEx-REST Rates
Rates International
Example implementation for FedEx-REST Rates International
Rates OneRate
Example implementation for FedEx-REST Rates OneRate
Time in Transit
Example implementation for FedEx-REST Time in Transit
Track
Example implementation for FedEx-REST Track
Tracking by Reference without account
Example implementation for FedEx-REST Tracking by Reference without account
Upload Customs Document
Example implementation for FedEx-REST Upload Customs Document
Upload Images
Example implementation for FedEx-REST Upload Images
Void
Example implementation for FedEx-REST Void