Set Where You Live and Apply
set_marketsSave your home market and the markets you apply in, so dates, pay currency, and per-market work-permit answers match where you live and apply.
Instructions
Save where the user lives and applies. home (a market key, "UK" not "GB") sets the date format and, while home_currency is unset, the currency pay is shown in. apply_in is every market the user applies in, each asking its own work-permit answers; [] reads as home alone, and a market dropped from it keeps its stored answers. home alone leaves apply_in as stored. home_currency is ISO 4217; "" follows home again. Only the fields passed change, all in one save: a refused field (an unknown currency) writes none of them. No field passed reads the current values. Returns {home, apply_in, home_currency (the resolved one), setup}: setup is setup status's form-answer readiness, null when that read fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| home | No | ||
| apply_in | No | ||
| home_currency | No |