USPS - Create Manifest

Carrier: USPS
Action: Create Manifest
Description: Example implementation for USPS Create Manifest
{
  "carrier": "USPS",
  "action": "CreateManifest",
  "params": {
    "username": "YOUR_USERNAME",
    "shipment_ids": ["420941159205590202518101026815"],
    "shipper": "RocketShipIt",
    "ship_addr1": "123 Main St",
    "ship_city": "Whitehall",
    "ship_state": "MT",
    "ship_code": "59759",
    "ship_phone": "1231231234",
    "image_type": "PDF",
    "test": true
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'USPS',
  'action' => 'CreateManifest',
  'params' => 
  array (
    'username' => 'YOUR_USERNAME',
    'shipment_ids' => 
    array (
      0 => '420941159205590202518101026815',
    ),
    'shipper' => 'RocketShipIt',
    'ship_addr1' => '123 Main St',
    'ship_city' => 'Whitehall',
    'ship_state' => 'MT',
    'ship_code' => '59759',
    'ship_phone' => '1231231234',
    'image_type' => 'PDF',
    'test' => true,
  ),
)
);

rs.request(
  {'action': 'CreateManifest',
 'carrier': 'USPS',
 'params': {'image_type': 'PDF',
            'ship_addr1': '123 Main St',
            'ship_city': 'Whitehall',
            'ship_code': '59759',
            'ship_phone': '1231231234',
            'ship_state': 'MT',
            'shipment_ids': ['420941159205590202518101026815'],
            'shipper': 'RocketShipIt',
            'test': True,
            'username': 'YOUR_USERNAME'}}

)

rs.request(
  {"carrier"=>"USPS",
 "action"=>"CreateManifest",
 "params"=>
  {"username"=>"YOUR_USERNAME",
   "shipment_ids"=>["420941159205590202518101026815"],
   "shipper"=>"RocketShipIt",
   "ship_addr1"=>"123 Main St",
   "ship_city"=>"Whitehall",
   "ship_state"=>"MT",
   "ship_code"=>"59759",
   "ship_phone"=>"1231231234",
   "image_type"=>"PDF",
   "test"=>true}}

)

rocketshipit.request(
  {
  "carrier": "USPS",
  "action": "CreateManifest",
  "params": {
    "username": "YOUR_USERNAME",
    "shipment_ids": ["420941159205590202518101026815"],
    "shipper": "RocketShipIt",
    "ship_addr1": "123 Main St",
    "ship_city": "Whitehall",
    "ship_state": "MT",
    "ship_code": "59759",
    "ship_phone": "1231231234",
    "image_type": "PDF",
    "test": true
  }
}
)
← Back to All Examples

Other USPS Examples

Address Validation
Example implementation for USPS Address Validation
Address Validation City/State from Zip
Example implementation for USPS Address Validation City/State from Zip
EMRS Return Label
Example implementation for USPS EMRS Return Label
Label
Example implementation for USPS Label
Label First Class Mail International
Example implementation for USPS Label First Class Mail International
Label International Express Mail
Example implementation for USPS Label International Express Mail
Label International Priority Mail
Example implementation for USPS Label International Priority Mail
Rate International
Example implementation for USPS Rate International
Rate Regional
Example implementation for USPS Rate Regional
Rates
Example implementation for USPS Rates
Rates First Class
Example implementation for USPS Rates First Class
Time in Transit
Example implementation for USPS Time in Transit
Tracking
Example implementation for USPS Tracking