SHARE
TWEET

Untitled

a guest Aug 12th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $request['RequestedShipment']['PackageCount'] = '1';
  2. $request['RequestedShipment']['PackageDetail'] = 'INDIVIDUAL_PACKAGES';
  3. $request['RequestedShipment']['RequestedPackageLineItems'] = array('0' => array('Weight' => array('Value' => $_POST['dweight'],
  4.                                     'Units' => 'LB'),
  5.                                     'Dimensions' => array('Length' => $_POST['dlength'],
  6.                                     'Width' => $_POST['dwidth'],
  7.                                     'Height' => $_POST['dheight'],
  8.                                     'Units' => 'IN')),
  9.                                                                  );
RAW Paste Data
Top