Criar ou Atualizar totalmente endereço de cliente
PUT
https://api.dooca.store/customers/:id/adress
Parâmetro: O ID do cliente.
A edição do registro pode ser parcial ou total.
{ "name": "Webmaster Dooca", "street": "Rua Sapiranga", "detail": "Sala 204", "zipcode": "93548192", "number": "90", }
Status: 200
Consultar Endereço do Cliente
GET
https://api.dooca.store/customers/:id/adress
Parâmetro: O ID do cliente
HTTP STATUS: 200 OK { "id_customer": "1", "name": "Webmaster Dooca", "street": "Rua Sapiranga", "detail": "Sala 204", "zipcode": "93548192", "number": "90", "district": "Mauá", "state": "RS", "city": "Novo Hamburgo", "country": "BR", "created_at": "2018-10-01 11:45:18", "updated_at": "2018-10-01 11:45:18", "active": "1" }
Deletar Endereço do Cliente
DELETE
https://api.dooca.store/customers/:id/adress
Parâmetro: O ID do cliente.
Response: 204