I still cannot create a contact when it is already added, and it doesnt give me the id from output. The thing is… if I want to use any other feature I need the ID …
how can I get id when it doesnt return the id number???
OUTPUT
“{"response":{"status":422,"body":{"errors":[{"title":"O email já existe no sistema.","detail":"","code":"duplicate","error":"","source":{"pointer":"/data/attributes/email"}}]}},"request":{"body":{"contact":{"email":"johndoe@example.com","firstName":"John","phone":"+80604876151","fieldValues":}}}}”
Another option is to implement Create OR Update Contact Feature, as we only have either Create or Update separately…
Well I dont know if you can understand my poor english, but I just need the ID if the contact already exist…