Answer a site setup question
answer_site_setup_questionApply the owner's answer to one of the setup questions in site_setup.ask (how buyers pay, how the business sells, the store currency), the same way the dashboard's buttons do. payment_account "whatsapp" lets buyers send their cart to the store's WhatsApp from the cart and checkout (pass phone when the owner names a number; without one the site's own number is used, and the answer whatsapp_number_needed means ask for it). "cod" turns on cash on delivery; a provider id means the owner has that account (then collect its keys with configure_payments). Works on a design before it is built: the answer is applied when the site is built.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | No | payment_account + whatsapp only: the WhatsApp number orders go to, exactly as the owner gave it, with its country code. Omit to use the number already on the site. | |
| value | Yes | The stable answer value from that question's `choices` (payment_account: cod | quote | whatsapp | stripe | razorpay | paypal; selling_mode: checkout | quote; currency: confirm | set). Never the label. | |
| site_id | Yes | The site, from list_sites | |
| currency | No | currency + set only: the 3-letter code the owner named | |
| question | Yes | Which setup question (from `site_setup.ask` / `store_setup.ask`) | |
| 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. |