update_address
Edits one of the user’s saved addresses. Only two kinds of edit are allowed: changetag alone (relabel; the delivery target stays put), or suggestion_token + address_detail to change the location / unit detail (the gateway re-registers the address upstream with the new POI and repoints the same row to it). Recipient name / phone are not editable here (use select_address for that). The address_id stays the same.
Address flow:
search_addresses to find a place → suggestion token → select_address to save the address → address_id → update_address to edit a saved address. Before changing the location / detail you must call search_addresses to get a suggestion_token for the new place: upstream only honours a registered delivery address, so a move is a re-registration, not a text edit.- Change
tagonly (nosuggestion_token) → the label is updated directly; the delivery target is untouched. Ifaddress_detaildiffers from the current value and is non-blank, this returnsADDRESS_UPDATE_REQUIRES_TOKEN. - Pass
suggestion_token+address_detail→ the delivery address is re-registered upstream with the new POI, reusing the row’s existing recipient, and the same row’s location / detail are overwritten;address_idand recipient stay stable. A blankaddress_detailhere returnsDETAIL_REQUIRED.
Parameters
Returns
Error Codes
See Error Handling for the full list.

