Set a custom field across locations
set_custom_fieldPut the same extra field on many locations at once: a booking button, a social link, or a labelled fact like "Parking: street only". A value that is a URL becomes a clickable button; anything else shows as plain text. NOT for tags or categories, which are a different thing entirely: use tag_locations for those. Set remove to true to take the field off instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The field's name, shown as its label. For example "Book a table". | |
| icon | No | Optional glyph on the button. | |
| color | No | Hex colour for the button, for example "#C2540E". Ignored for plain text. | |
| style | No | Default filled. Outline uses the colour as border and text only. | |
| value | No | The field's value. A URL makes it a button, anything else shows as a labelled fact. | |
| remove | No | Take this field off the given locations instead of setting it. | |
| locationIds | Yes | Location ids to change. At most 200. |