{
"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
}
}
)