Split Shipping & Tax API endpoints enable a merchant to save money on API calls and quicken the checkout experience for the shopper.
How to Enable Split Shipping & Tax Endpoints
- Reach out to your Customer Success Manager to have this feature enabled.
- Provide Bolt with two dedicated URLs, one to handle shipping and one to handle tax calculations.
- Ensure these endpoints can handle Bolt's POST requests, found here.
- Ensure your responses follow the correct format.
Response Examples
The requests and responses for split shipping and tax follow the same format as the combined shipping and tax method.
Shipping Response
The following response returns 2 shipping options the shopper can choose from: via helicopter or submarine.
{
"shipping_options": [
{
"service": "helicopter",
"cost": 100,
"reference": "1"
},
{
"service": "submarine",
"cost": 3000,
"reference": "2"
}
]
}
Tax Response
The following tax response is based on the shopper's selection of the submarine shipping method.
{
"tax_result":{
"subtotal_amount":1500
},
"shipping_option": {
"service":"submarine",
"cost": 3000,
"reference": "2"
}
}