ShipDate Property
The date on which the package will be shipped.
Syntax
fedexrates.getShipDate([callback]) fedexrates.setShipDate( shipDate, [callback])
Default Value
""
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getShipDate([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setShipDate([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
This property value is optional to be entered in the request. This might affect the service availability.
The date should be the current date, or a date no more than 10 days in the future.
If future day shipping is requested (i.e., the corresponding flag of Future Day is present in the ShipmentSpecialServices): for Express shipping this value must be less than or equal to 10 days in the future; for Express freight, this must be less than or equal to 5 days in the future.
Defaults to current system date if not present.
Supported date formats are "yyyy-MM-dd" and "yyyy-MM-ddTHH:mm:ss".
Data Type
String