Additional Days to Hold a Shipment
Optionally include maximum additional days to hold a shipment at your fulfillment center in your calls to Shipium's APIs.
About maximum additional days to hold when processing a shipment
When you make a call to Shipium's Carrier and Method Selection service, you can optionally provide a Maximum Additional Days to Hold value in the API call to optimize shipping costs. This optional setting allows your organization to instruct the Shipium platform to consider holding a shipment at your fulfillment center for a specified number of extra days, beyond the originally requested ship date, if doing so enables the selection of a more economical carrier service.
When requesting a label, you specify the intended shipment date. In scenarios where the cheapest carrier service method is not available until a later date and any required desired delivery date (DDD) is still met, you can use the Maximum Additional Days to Hold feature to facilitate a shipment delay. For instance, if you request a label with a Friday ship date, but the most cost-effective carrier option becomes available on Monday, setting the maximum additional days to hold a package to "3" allows the system to hold the package until Monday. This enables the selection of the cheaper carrier, as Monday is three days after the initially requested Friday shipment. This feature overrides any preconfigured hold days in the Shipium Console, providing granular control and flexibility. Essentially, it empowers you to balance shipping speed with cost efficiency by defining the maximum acceptable delay beyond your initial ship date, in pursuit of lower carrier rates, ensuring that critical delivery deadlines are still achieved.
Maximum additional days to hold code sample
This example shows how to handle maximum additional days to hold a shipment in API calls. The following can be added to the Carrier and Method Selection & Shipment Labels request within the shipment parameters, as illustrated here, or within the multi-parcel shipment parameters. It takes an integer number of days as its value.
{
"shipmentParameters": {
...
"configurationOverrides": {
"maximumAdditionalDaysToHold": 3
},
...
}
Resources
Your Shipium team member is available to help along the way. However, you might find these resources helpful:
Updated about 16 hours ago