select_address
Materializes an address search suggestion (suggestion_token) together with recipient details into a gateway address, or re-selects an already-saved address (address_id), and returns the gateway address ID address_id for use by search_shops, preview_order, etc.
Address flow:
search_addresses → suggestion token → select_address (with token + recipient) → address_id → used by search_shops (location) / preview_order (ordering). The address_id is issued by the gateway and passed back as-is; do not fabricate it.Two modes (pick one):
- Create: pass
suggestion_token(thetokenfromsearch_addresses) +contact_name+contact_phone+address_detail; the gateway registers a new delivery address upstream and persists it. - Re-select: pass an existing
address_idto fetch that address back (still sendcontact_name/contact_phone, but the saved record is not modified).
PUBLIC_REFERENCE_INVALID.Parameters
Returns
Error Codes
See Error Handling for the full list.

