Criar Formulário de Contato
POST
https://api.dooca.store/contact-forms
Body { "customer_id": 163155, "name": "Generic Name", "email": "suporte@dooca.com.br" }
Status: 201
Deletar Formulário de Contato
DELETE
https://api.dooca.store/contact-forms/:id
Parâmetro: O ID do contato.
Response: 204
Consultar Formulário de Contato
GET
https://api.dooca.store/contact-forms/:id
Parâmetro: O ID do contato.
HTTP STATUS: 200 OK { "id": 407, "customer_id": 163155, "name": "Generic Name", "email": "suporte@dooca.com.br", "phone": null, "extra": null, "created_at": "2020-01-10 14:29:31" }
Listar Formulários de Contatos
GET
https://api.dooca.store/contact-forms
Parâmetro: O ID do contato.
HTTP STATUS: 200 OK { "id": 407, "customer_id": 163155, "name": "Generic Name", "email": "suporte@dooca.com.br", "phone": null, "extra": null, "created_at": "2020-01-10 14:29:31" }