v2
latestOpenAPI 3.1.12026-08-06856719.6 KBLocation
Update location
Update an existing location's address fields. All fields are required.
put/v1/locations/{location}
Path parameters
locationstring uuid required
Location ID
Headers
X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d
Request body
Example request
{
"name": "Main Store",
"street": "123 Main St",
"city": "Singapore",
"state": "Singapore",
"country": "SG",
"postal_code": "123456"
}Response
Location updated successfully
Example response
{
"id": "9c484458-b2a3-4f49-87ed-ad9ea71b0df3",
"business_id": "8a1f2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
"name": "Main Store",
"street": "123 Main St",
"city": "Singapore",
"state": "Singapore",
"country": "SG",
"postal_code": "123456",
"active": true
}