Explore APIs and data feeds facilitating order brokering and allocation for a seamless customer experience.
The APIs and data feeds that connect to deliver a specific order brokering and order allocation experience.
Discover how HotWax Commerce's Soft Allocation feature conducts real-time eligibility checks for items in a customer's cart.
Hotwax Commerce's Soft Allocation feature performs real-time eligibility checks for the items in a customer's shopping cart. By evaluating the list of items in the cart along with the destination zip code, Soft Allocation ensures compliance with predefined criteria set by retailers such as checking if all items can be shipped from one location.
This process alse helps guarantee an efficient validation of shipping eligibility, aligning with the requirements of various specialty shipping carriers.
Internally, the Soft Allocation process adheres to a structured set of steps:
To check eligible shipping facilities near the customer, the latitude and longitude coordinates of the customer are required. There are two ways to obtain these coordinates:
a. If the customer inputs their postal code:
Use the postcodeLookup API to convert the postal code into latitude and longitude coordinates. Learn more about how to use the postCodeLookup API and convert postal codes into latitudes and longitudes.
b. If the customer allows access to their system location:
Obtain the latitude and longitude coordinates directly from their device.
postCodeLookup
:/POST
Utilize the checkCartInventory
API to determine same-day delivery eligibility for cart items across facilities. This API evaluates eligibility based on key factors, including facility latitude and longitude and a predefined distance (typically within 50 miles for same-day delivery by carriers). The results indicate the closest facility eligible for fulfillment.
checkCartInventory
:/POST
Upon receiving the response indicating facility's eligiblity for fulfillment, the application follows a systematic comparison process:
Lead Time Comparison for Same Day Delivery: The client side in-browser script compares the order preparation lead time predefined within the app with the difference between the customer's current time and the facility's closing time.
Eligibility Assessment: If the lead time is less than the time difference, the cart is deemed eligible for same-day delivery. Conversely, if the lead time exceeds the time difference, the order is marked as eligible for next-day delivery.
This structured approach ensures precise determination of delivery eligibility, providing customers with accurate information about their order's expected delivery date.
In addition to the eligibility assessment process:
a. Multiple Zip Code Exploration: The application enables customers to explore multiple zip codes directly on the product detail page and mini cart to check same-day delivery eligibility in various locations by submitting their cart against multiple times with different destination zip codes.
b. Real-time Status Updates: Customers can view the same-day delivery status not only on the product detail page but also in the cart details and the "mini cart" interface, ensuring consistent and real-time visibility of delivery options.
c. Mixed Cart Handling: If a customer's cart contains both Delivery and Buy Online, Pick Up In Store (BOPIS) items, it is suggested that the client side script submit all items for soft allocation irrespective of shipping method to provide a simple experience for the customer.
These additional features enhance the customer experience, providing flexibility and transparency in the delivery process.