Skip to content
Guides
API reference
stable

Set default address

Marks one of the customer's saved addresses as the default. The previous default is cleared in the same operation.

POST/v1/customer/addresses/{addressId}/default

Marks one of the customer's saved addresses as the default. The previous default is cleared in the same operation.

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Path Parameters

addressId*string

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/customer/addresses/string/default"
Empty