Делает выбранный адрес активным и обновляет город, адрес и геолокацию клиента. Предыдущий активный адрес становится неактивным.
Security
bearerAuth or jwtCookie
- https://felmee.comhttps://felmee.com/api/user/addresses/{address_id}/active
- http://localhost:8080http://localhost:8080/api/user/addresses/{address_id}/active
curl -i -X PATCH \
'https://felmee.com/api/user/addresses/{address_id}/active' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Адрес установлен активным; город, адрес и геолокация профиля клиента обновлены
Response
{ "success": true, "message": "User address set as active successfully", "codeError": null, "error_code": null, "data": { "address": { … } } }