DHL - Label International Local Product Code

Carrier
DHL
Action
Label International Local Product Code
{
  "carrier": "DHL",
  "action": "submitshipment",
  "params": {
    "username": "",
    "password": "",
    "account_number": "",
    "shipper": "Your Company",
    "ship_contact": "Your Name",
    "ship_addr1": "Sanhedria Murchevet 102\/8",
    "ship_city": "Jerusalem",
    "ship_code": "9770602",
    "ship_phone": "+9723128183524",
    "ship_country": "IL",
    "to_name": "John Doe",
    "to_addr1": "1415 E 12TH ST",
    "to_state": "NY",
    "to_city": "BROOKLYN",
    "to_code": "11230-6605",
    "to_country": "US",
    "packages": [
      {
        "weight": 0.5,
        "length": 1,
        "width": 1,
        "height": 1,
        "reference_value": "SYK"
      }
    ],
    "local_service": "E",
    "service": "X",
    "image_type": "PDF",
    "currency": "USD",
    "documents_only": true,
    "request_archive_doc": true,
    "packaging_type": "EE",
    "shipment_description": "Documents",
    "customs_value": 0,
    "trade_terms": "DAP"
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'DHL',
  'action' => 'submitshipment',
  'params' => 
  array (
    'username' => '',
    'password' => '',
    'account_number' => '',
    'shipper' => 'Your Company',
    'ship_contact' => 'Your Name',
    'ship_addr1' => 'Sanhedria Murchevet 102/8',
    'ship_city' => 'Jerusalem',
    'ship_code' => '9770602',
    'ship_phone' => '+9723128183524',
    'ship_country' => 'IL',
    'to_name' => 'John Doe',
    'to_addr1' => '1415 E 12TH ST',
    'to_state' => 'NY',
    'to_city' => 'BROOKLYN',
    'to_code' => '11230-6605',
    'to_country' => 'US',
    'packages' => 
    array (
      0 => 
      array (
        'weight' => 0.5,
        'length' => 1,
        'width' => 1,
        'height' => 1,
        'reference_value' => 'SYK',
      ),
    ),
    'local_service' => 'E',
    'service' => 'X',
    'image_type' => 'PDF',
    'currency' => 'USD',
    'documents_only' => true,
    'request_archive_doc' => true,
    'packaging_type' => 'EE',
    'shipment_description' => 'Documents',
    'customs_value' => 0,
    'trade_terms' => 'DAP',
  ),
)
);

rs.request(
  {'action': 'submitshipment',
 'carrier': 'DHL',
 'params': {'account_number': '',
            'currency': 'USD',
            'customs_value': 0,
            'documents_only': True,
            'image_type': 'PDF',
            'local_service': 'E',
            'packages': [{'height': 1,
                          'length': 1,
                          'reference_value': 'SYK',
                          'weight': 0.5,
                          'width': 1}],
            'packaging_type': 'EE',
            'password': '',
            'request_archive_doc': True,
            'service': 'X',
            'ship_addr1': 'Sanhedria Murchevet 102/8',
            'ship_city': 'Jerusalem',
            'ship_code': '9770602',
            'ship_contact': 'Your Name',
            'ship_country': 'IL',
            'ship_phone': '+9723128183524',
            'shipment_description': 'Documents',
            'shipper': 'Your Company',
            'to_addr1': '1415 E 12TH ST',
            'to_city': 'BROOKLYN',
            'to_code': '11230-6605',
            'to_country': 'US',
            'to_name': 'John Doe',
            'to_state': 'NY',
            'trade_terms': 'DAP',
            'username': ''}}

)

rs.request(
  {"carrier"=>"DHL",
 "action"=>"submitshipment",
 "params"=>
  {"username"=>"",
   "password"=>"",
   "account_number"=>"",
   "shipper"=>"Your Company",
   "ship_contact"=>"Your Name",
   "ship_addr1"=>"Sanhedria Murchevet 102/8",
   "ship_city"=>"Jerusalem",
   "ship_code"=>"9770602",
   "ship_phone"=>"+9723128183524",
   "ship_country"=>"IL",
   "to_name"=>"John Doe",
   "to_addr1"=>"1415 E 12TH ST",
   "to_state"=>"NY",
   "to_city"=>"BROOKLYN",
   "to_code"=>"11230-6605",
   "to_country"=>"US",
   "packages"=>
    [{"weight"=>0.5,
      "length"=>1,
      "width"=>1,
      "height"=>1,
      "reference_value"=>"SYK"}],
   "local_service"=>"E",
   "service"=>"X",
   "image_type"=>"PDF",
   "currency"=>"USD",
   "documents_only"=>true,
   "request_archive_doc"=>true,
   "packaging_type"=>"EE",
   "shipment_description"=>"Documents",
   "customs_value"=>0,
   "trade_terms"=>"DAP"}}

)

rocketshipit.request(
  {
  "carrier": "DHL",
  "action": "submitshipment",
  "params": {
    "username": "",
    "password": "",
    "account_number": "",
    "shipper": "Your Company",
    "ship_contact": "Your Name",
    "ship_addr1": "Sanhedria Murchevet 102\/8",
    "ship_city": "Jerusalem",
    "ship_code": "9770602",
    "ship_phone": "+9723128183524",
    "ship_country": "IL",
    "to_name": "John Doe",
    "to_addr1": "1415 E 12TH ST",
    "to_state": "NY",
    "to_city": "BROOKLYN",
    "to_code": "11230-6605",
    "to_country": "US",
    "packages": [
      {
        "weight": 0.5,
        "length": 1,
        "width": 1,
        "height": 1,
        "reference_value": "SYK"
      }
    ],
    "local_service": "E",
    "service": "X",
    "image_type": "PDF",
    "currency": "USD",
    "documents_only": true,
    "request_archive_doc": true,
    "packaging_type": "EE",
    "shipment_description": "Documents",
    "customs_value": 0,
    "trade_terms": "DAP"
  }
}
)

← All DHL examples