title: FedEx API using PHP and Saturday Shipping
body: <p>I am trying to figure out how to force a Saturday delivery using the fedex api with php.  Can anyone help with a working example.  I have tried several ways with a Friday ship date and none of them give a Saturday delivery, only a Monday delivery.  Here is a portion of the code :</p>
  
  <pre><code>            if ($data['special_service']) {
                   echo "special services friday ship date &lt;br&gt;";
  
                   //$request['SpecialServicesRequested']['SpecialServiceTypes'] = 'SATURDAY_DELIVERY';
                   //$request['RateRequest']['VariableOptionsServiceOptionType'] = 'SATURDAY_DELIVERY';
                   $request['SpecialServicesRequested']['ShipmentSpecialServiceType'] = 'SATURDAY_DELIVERY';
  
              }
              $request['ReturnTransitAndCommit'] = true;
              $request['RequestedShipment']['DropoffType'] = 'REGULAR_PICKUP'; // valid values REGULAR_PICKUP, REQUEST_COURIER, ...
              $request['RequestedShipment']['ShipTimestamp'] = $date; // date("c", $post[3])
              $request['RequestedShipment']['ServiceType'] = $data['service_type']; // valid values STANDARD_OVERNIGHT, PRIORITY_OVERNIGHT, FEDEX_GROUND, ...
              $request['RequestedShipment']['PackagingType'] = 'FEDEX_ENVELOPE'; // valid values FEDEX_BOX, FEDEX_PAK, FEDEX_TUBE, YOUR_PACKAGING, ...
              $request['RequestedShipment']['TotalInsuredValue']=array(
                      'Amount'=&gt;100,
                      'Currency'=&gt;'USD'
              );
              $request['RequestedShipment']['Shipper'] = $this-&gt;addShipper();
              $request['RequestedShipment']['Recipient'] = $this-&gt;addRecipient($data);
              $request['RequestedShipment']['ShippingChargesPayment'] = $this-&gt;addShippingChargesPayment();
              $request['RequestedShipment']['PackageCount'] = '1';
              $request['RequestedShipment']['RequestedPackageLineItems'] = $this-&gt;addPackageLineItem1();
  </code></pre>
  
  <p>This is the result I get from the code :</p>
  
  <p>array(3) { ["amount"]=> string(5) "33.53" ["deliveryDate"]=> string(10) "12/07/2015" ["serviceType"]=> string(18) "PRIORITY_OVERNIGHT" } </p>
  
  <p>The date returned is a Monday and the Saturday shipping charge has not been added.</p>