Update my place
update_placeUse this when an owner wants to change what their place's page says: name, address, hours, booking link, what kind of place it is, the line about it, its time zone, its phone, its price list or the email for requests. Read the change back to the owner first, and set confirmation to true only after they said yes. Only the things given change; an empty value clears one. A new address moves the map pin. A live page shows the change at once. The price list only shows what the place charges; nothing is sold here. It needs a connected Phorme account that owns the place.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude of the map pin, only to set it by hand. | |
| lon | No | Longitude of the map pin, only to set it by hand. | |
| city | No | ||
| kind | No | What the place is: gym (also studios and boxes) or a kind of care. | |
| line | No | One line on what the place is, in the owner's words. | |
| name | No | ||
| about | No | One or two plain sentences about the place, in the owner's words. | |
| hours | No | Opening hours, one line each, for example ["Mon to Fri, 6 am to 9 pm", "Sat, 8 am to noon"]. | |
| phone | No | The place's public phone number, as the owner gave it. | |
| prices | No | What training at the place costs, shown on its page, in the owner's own words: one line each, for example "Drop-in 25 dollars", or { label, amount (in dollars) or amount_cents, period, note }. At most 12; an empty list clears them. Repeat them only to the owner. | |
| address | No | The street address. The map pin is found from it. | |
| country | No | ||
| website | No | The place's own website, starting with https://. | |
| book_url | No | The place's own booking page, starting with https://. | |
| place_id | Yes | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. | |
| timezone | No | The place's IANA time zone, for example "America/Chicago". | |
| book_label | No | The words on its booking button, for example "Book a class". | |
| confirmation | Yes | Set to true only after the owner said yes to these changes. | |
| request_email | No | Where booking confirmations and requests are emailed. Never shown in public. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| place | Yes | The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan). |