GrowStudio API

Update map color by Place

This API lets you change the color of each Place on the map as needed.

This API lets you change the color of each Place on the map as needed.

📍 PUT /open-api/v1/map/{id}

Request Header

KeyValueDescription
api-key{YOUR\_API\_Key}

Path Parameter

KeyValueDescription
Place ID{YOUR\_Place\_ID}ID of the Place

Map editor API request body: change the color of a Place

※ Add the fields you want to change under properties.

200

{
"properties" : {
"color" : "#4000fe",
"icon" : "🚀",
"name" : "rocket"
}
}

Map editor API cURL request example (PUT)

curl --location --request PUT 'https://space.api-freegrow.com/open-api/v1/map/a3' 
--header 'api-key: {YOUR_API_KEY}' 
--header 'Content-Type: application/json' 
--data '{
"properties" : {
"color" : "#4000fe",
"icon" : "🚀",
"name" : "rocket"
}
}'

Related guides

To learn how to use the service, see the GrowStudio guide here.