webaz_default_address
Read (masked) or set your default shipping address. Used by webaz_search unshippable filter and as the default webaz_demand region; webaz_place_order resolves it handler-side when shipping_address is omitted (never shown to agents).
read: returns { has_default, address_region, masked_summary } — the FULL address text is NEVER returned to agents (it contains name/street/phone). To order with it, omit shipping_address in webaz_place_order (resolved inside the call, not shown); manage the full text at webaz.xyz (PWA profile). ⚠️
setaccepts only 2 fields:text(free-text address, ≤200 chars, required) +region(optional, for unshippable filter, ≤40 chars). NO structured fields (no recipient/line1/city/country/phone) — agent must concat itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Full address as free-text string (e.g. "John Doe / 1 Test St / Singapore SG / +65 12345678"). Required for set. ≤ 200 chars. | |
| action | Yes | read: get current default | set: update | |
| region | No | Region tag for shipping match (e.g. "global", "china", "SG"). Optional for set. ≤ 40 chars. | |
| api_key | No | Your api_key (or set the WEBAZ_API_KEY env var) |