SchedulePickup Method
Schedules a pickup.
Object Oriented Interface
public function doSchedulePickup();
Procedural Interface
inship_upsship_do_schedulepickup($res);
Remarks
When called, this will request an OnCall Pickup from UPS and return the Pickup Confirmation Number.
The valid properties when calling this method are as follows:
- PickupEarliestTime (Required)
- PickupLatestTime (Required)
- SenderFirstName (Optional, required if Company is not provided)
- SenderLastName (Optional, required if Company is not provided)
- SenderCompany (Optional, required if FirstName and/or LastName are not provided)
- SenderPhone (Required)
- SenderAddress1 (Required)
- PickupFloorNumber (Optional)
- PickupRoomNumber (Optional)
- SenderCity (Required)
- SenderState (Required, optional if outside US and Canada)
- SenderZipCode (Required)
- SenderCountryCode (Required)
- ShipDate (Required)
Please note that only SenderAddress1 is valid as the request only allows one address line.