Talemo Docs

Platform tools

Most tools take business_id: the business the call is for. talemo_list_businesses names the businesses this connection works in. A tool that changes something also takes dry_run; with it nothing changes, and the answer shows what the change would be, or the refusal it would get.

All topics of Working with tools

talemo_get_zone_currency

Find the currency of a time zone

Name the currency of prices usual in the country of a time zone, to suggest it for a branch: RSD for Europe/Belgrade. Nothing is set — ask the person, like "Currency — RSD?", and pass their answer as currency to talemo_create_branch or talemo_update_branch. Empty when there is nothing to suggest: a zone without a country, like UTC, or a country with several currencies. A time zone that is not an IANA name, like an offset such as +03:00, is refused with time_zone.invalid.

Guide: platform/working-with-talemo-tools.

  • Reads only, changes nothing

Parameters

ParameterTypeRequiredMeaning
time_zonestringrequiredIANA time zone of the branch, for example Europe/Belgrade.

Described in: Onboarding a new business, Services, prices and currency, Working with the tools of Talemo