$request |
array |
- array(
'packages' => array(
array(
'id' => 'box_1',
'height' => 10,
'length' => 10,
'width' => 10,
'weight' => 10,
),
array(
'id' => 'box_2',
'box_id' => 'medium_flat_box_top',
'weight' => 5,
),
...
),
'carrier' => 'usps',
'origin' => array(
'address' => '132 Hawthorne St',
'address_2' => '',
'city' => 'San Francisco',
'state' => 'CA',
'postcode' => '94107',
'country' => 'US',
),
'destination' => array(
'address' => '1550 Snow Creek Dr',
'address_2' => '',
'city' => 'Park City',
'state' => 'UT',
'postcode' => '84060',
'country' => 'US',
),
) |