Prepare an Alza mutation
prepare_mutationBegin a two-step Alza mutation by generating a single-use confirmation token bound to one action. Pass it as confirmation_token to the matching write call; this preparation sends nothing to Alza.
Instructions
Start a two-step mutation by returning a one-time confirmation token bound to exactly one action. This call itself sends nothing to Alza. Use it before the high-impact typed mutations — register (action register), address_upsert (address_create or address_edit), address_delete (address_delete), pay_after_order (after_order_payment), web_place_order (web_place_order), web_pay_after_order (web_after_order_payment), cancel_order (cancel_order), review_submit (review_submit), subscription_activate (subscription_activate), subscription_update_installment (subscription_update_installment), upload_attachment (attachment_upload), watchdog_set (watchdog_set), watchdog_delete (watchdog_delete) — and before any low-risk mutate_list action (create, rename, delete, add, remove, move, set_country, set_isic, add_gift, add_order_service, send_feedback, submit_discussion, rate_discussion, coupon_add, coupon_remove, basket_update, basket_unlock, gdpr_export). Pass the returned token as confirmation_token on the matching call; the token is single-use and only valid for the exact action you prepared. Do not use for read-only tools, and not for add_to_cart (which is a low-risk cart write that needs no token).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Which mutation you are about to perform; the token will only be accepted by that action's tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| confirmationToken | Yes |