Create or update a location display variable
upsert_geo_variableCreate or replace one location-based display variable using the exact plain-text fallback and regional values supplied by the owner. variable is an object with default and rules; rules may select by ISO country, region and city. The result includes the literal marker to place in displayed copy. This changes displayed copy only and never checkout or payment pricing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Custom variable name, such as delivery_message | |
| site_id | Yes | The site, from list_sites | |
| variable | Yes | Location display variable configuration | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. |