Order Soft Allocation
Discover how HotWax Commerce's Soft Allocation feature conducts real-time eligibility checks for items in a customer's cart.
Step 1: Obtain the customer's latitude and longitude
Sample of postCodeLookup
postCodeLookupMethod : /POST
/POSTRequest
{
"json": {
"params": {
"q": "*:*",
"fq": "{!geofilt sfield=location}",
"pt": "18.180555,-66.749961",
"d": "10"
}
}
}Response
Step 2: Verify inventory availability of cart items
Sample of checkCartInventory
checkCartInventoryMethod : /POST
/POSTRequest
Response
Step 3: Displaying Eligibility on the Cart Page
Additional Notes
Last updated
Was this helpful?