Addressesv1
Set address as primary
Handler: SetPrimaryAddress. Responds 204 No Content with an empty body.
Authorization
bearerAuth AuthorizationBearer <token>
JWT bearer token (auth.WrapWithMiddlewares)
In: header
Path Parameters
id*string
Response Body
application/json
application/json
curl -X PUT "https://example.com/v1/addresses/497f6eca-6276-4993-bfeb-53cbbbba6f08/primary"Empty
{
"status": 400,
"message": "Invalid address id"
}{
"status": 404,
"message": "Address not found"
}