settings_language
Change the shop's languages. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The language. pt is Portuguese as written in Portugal, pt-BR as in Brazil. | |
| action | Yes | make_default: the storefront is written in this language (what "make the shop Portuguese" means); it is added if missing. add: offer it as a second language, unpublished until translated. publish / unpublish: put a second language live at /<code> or take it off. remove: drop it, translations kept. |