Update a Location
Endpoint
POST /v1/locations/:id
You can edit your existing location by sending a new value.
For Example Let’s pretend if you want to change your location name. You can just simply send a JSON body with only the origin_address field. It will automatically change your current location details.
JSON Body Request
{
"name":"Apotik Monas",
}
API Response
{
"success": true,
"id": "61d565c69a3211036a05f3f8",
"name": "Apotek Monas",
"contact_name": "Ahmad",
"contact_phone": "08123456789",
"address": "Jl. Gambir Selatan no 5. Blok F 92. Jakarta Pusat."
}