Update a location
PATCH
https://api.getstarted.ae/v1/business-entities/{id}/locations/{locationId}Updates the location. address is replaced whole.
Path parameters
idstringrequiredID of the business entity, e.g.
ent_01J9ZKC5TR8F4K.locationIdstringrequiredID of the location, e.g.
loc_01J9ZKD2XN9G5H.
Body parameters
typeenumREGISTERED_OFFICE,OPERATING_ADDRESSorMAILING_ADDRESS.addressobjectThe address.
address.line1stringrequiredStreet address.
address.line2stringUnit, floor or building.
address.citystringrequiredCity or town.
address.regionstringState, province or emirate.
address.postalCodestringPostal or ZIP code. Required where the country uses one.
address.countrystringrequiredISO 3166-1 alpha-2 country code.
Responses
200OK. Returns the object shown in the example.400unknown_fieldThe body contains a key the endpoint does not accept.404resource_not_foundNo location with that ID exists in this environment.422invalid_valueA value fails type or format validation.- Every endpoint can also return
401for a missing or invalid key. See Errors.
curl -X PATCH "https://api.getstarted.ae/v1/business-entities/ent_01J9ZKC5TR8F4K/locations/loc_01J9ZKD2XN9G5H" \
-H "Authorization: Bearer $GETSTARTED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"address": {
"line1": "18 Robinson Road",
"line2": "#14-02",
"city": "Singapore",
"region": null,
"postalCode": "048547",
"country": "SG"
}
}'Response · 200
{
"id": "loc_01J9ZKD2XN9G5H",
"object": "location",
"businessEntityId": "ent_01J9ZKC5TR8F4K",
"type": "REGISTERED_OFFICE",
"address": {
"line1": "18 Robinson Road",
"line2": "#14-02",
"city": "Singapore",
"region": null,
"postalCode": "048547",
"country": "SG"
},
"createdAt": "2026-09-20T08:25:11Z",
"updatedAt": "2026-09-21T10:10:00Z"
}