Set Customer Address as Default (GraphQL)
Marks the chosen address as the customer's default. All the customer's other addresses have their default flag cleared in the same call.
Input
| Field | Type | Required | Description |
|---|---|---|---|
customerId | Int! | yes | The customer who owns the address. |
id | ID! | yes | The address IRI to make default. Must belong to customerId (otherwise error). |
Returns the updated address with defaultAddress: true.
Permission: customers.addresses.edit.
Menu overview
See the Customer Addresses overview for the full address-book flow.
All admin operations require an admin Bearer token — see Authentication.

