Create Your Pickup Location
Create Your Pickup Location
tip
You can use this API to list districts
GET
https://app.bosta.co/api/v2
/cities/getAllDistricts
Create Your Default Location
Use this API to create your default location
PUT
https://app.bosta.co/api/v2
/businesses/{businessIdReceviedOnLogin}
With the following payload:
{
"pickupAddress": [
{
"locationName": "yourLocationName",
"districtId": "zoJP71_5Ca1", // You have to get districtId of your address through the above API
"firstLine": "Your address first line details and it MUST be at least 5 characters.",
"buildingNumber": "1",
"floor": "2",
"apartment": "3",
"secondLine": "Your address second line details like: landmarks"
}
]
}