shipping_set_countries
Set where the shop ships to. 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 |
|---|---|---|---|
| mode | No | replace: the lists given become the whole lists. add / remove: the codes given join or leave the current lists. | replace |
| shipTo | No | Countries the shop delivers to, as ISO 3166-1 alpha-2 codes like PT, ES. An empty list means anywhere. | |
| postcodeOptional | No | Countries where checkout does not ask for a postcode, because they have none. Everywhere else one is required. |