Update a location
Update details of a specific location, based on its ID.
note
The value of the location's type
parameter cannot be updated.
Request
Response
Location updated
Was this page helpful?
Update details of a specific location, based on its ID.
The value of the location's type
parameter cannot be updated.
Location updated
curl -L -g -X PATCH 'https://merchant.revolut.com/api/locations/{location_id}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <yourSecretApiKey>' \
--data-raw '{
"name": "Cars website - Name update",
"details": {
"domain": "cars.example.com"
}
}'
{
"name": "Cars website - Name update",
"details": {
"domain": "cars.example.com"
}
}
{
"id": "8d9a7125-805f-40f3-a405-bc89765db996",
"name": "Cars website - Name update",
"type": "online",
"details": {
"domain": "cars.example.com"
}
}