PATCH
/api/v1/addresses/{id}
curl \
-X PATCH http://127.0.0.1:3000//api/v1/addresses/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"address":{"alamat":"Jl. Cibiru No. 123","kelurahan":"Cibiru","kecamatan":"Cibiru","kode_pos":40525,"provinsi":"Jawa Barat","no_telepon":82272168956,"kabupaten":"Bandung"}}'
Request example
{
"address": {
"alamat": "Jl. Cibiru No. 123",
"kelurahan": "Cibiru",
"kecamatan": "Cibiru",
"kode_pos": 40525,
"provinsi": "Jawa Barat",
"no_telepon": 82272168956,
"kabupaten": "Bandung"
}
}