In-Store Pickup enables merchants with brick-and-mortar stores to offer an alternative to shipping for their shoppers. Shoppers can choose from a list of stores nearest them instead of having to pay (and wait) for delivery.
How to Enable In-Store Pickup
In-Store Pickup requires responding to Bolt's POST request for an order's shipping details from your Merchant API. In addition to listing delivery options, the response can also contain pickup options.
- Ensure you have set up the Split Shipping and Tax endpoints.
- Update your shipping response to include the object
pickup_options
with an array of stores available, based on the shopper's address.
Response Example
The following example depicts one shipping option and one in-store pickup option.
{
"shipping_options":[
{
"service":"Fedex two days",
"cost": 5000,
"reference": "2"
}
],
"pickup_options":[
{
"store_name": "Macy's SF",
"pickup_window_open": 1578904185,
"pickup_window_close": 1578904185,
"pickup_address": {
"street_address1": "170 O'Farrell St",
"street_address2": "",
"locality": "San Francisco",
"region": "California",
"postal_code": "94102",
"country": "United States",
"country_code": "US"
},
"distance": 1,
"distance_unit": "mile",
"cost":0,
"reference": "1"
}
]
}