API reference
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}/defaultMarks 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