save_shipping_profile
Save a shipping profile with name and address after obtaining explicit user consent. Optionally overwrite or set as default.
Instructions
Save a local shipping profile after explicit user consent.
Args:
name: Profile name, e.g. ``"home"`` or ``"office"``.
shipping_address: Full shipping contact/address dict. Keys:
``first_name``, ``last_name``, ``email``, ``phone``,
``street``, ``city``, ``postal_code``, ``country``;
include ``state`` for US addresses.
overwrite: Replace an existing profile with the same name.
set_default: Make this the default shipping profile.
consent_to_store: Must be ``True``. This is the explicit
consent gate for storing personal contact/address data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| overwrite | No | ||
| set_default | No | ||
| consent_to_store | No | ||
| shipping_address | Yes |