Execute a whitelisted Alza mutation
mutate_listExecute a confirmed low-risk mutation on your Alza account using a one-time token. Manage shopping lists, coupons, basket flags, account settings, and feedback without high-impact actions.
Instructions
Execute one low-risk, APK-confirmed mutation using a one-time token from prepare_mutation. Use for shopping-list operations (create/rename/delete/add/remove/move), account settings (set_country, set_isic), add_gift, add_order_service, set_watchdog, send_feedback, submit_discussion, rate_discussion, coupons (coupon_add takes {coupon: "CODE"}; coupon_remove takes {couponId: <int>} — the id from a prior cart read), and basket flags (basket_update takes {basket_id, flag?, is_delayed_payment?}; basket_unlock). Do not use for high-impact mutations (order, payment, registration, address, review, subscription, attachment) — each has its own typed tool with its own token. The payload fields must match the mobile DTO for the chosen action exactly. Side effect: persists the change on the user's Alza account. Example: mutate_list({action: "coupon_add", confirmation_token: "...", payload: {coupon: "WELCOME10"}}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Which whitelisted mutation to execute; determines the expected `payload` shape. | |
| payload | Yes | Mutation payload matching the mobile DTO for `action`, e.g. coupon_add: {coupon: "CODE"}; coupon_remove: {couponId: 123}; basket_update: {basket_id: 1, flag: true}. | |
| confirmation_token | Yes | One-time token from `prepare_mutation` prepared with this same `action`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| err | No | ||
| msg | No | ||
| data | No |