This successfully creates the contact with the email1 populated.
When attempting the same call with a PATCH request to update the email1 field the other fields are updated but email1 is not changed.
Possible Fix
No response
Steps to Reproduce the Issue
1. Setup V8 API
2. Make API request with contents as described above
3. See record created after POST
4. See record email1 stay unchanged after PATCH request
Issue
When creating a record with an email1 field(Contacts/accounts etc) you are able to pass in the email1 field into the body to set the email:
POST:/Api/V8/module
BODY:
{
"data": {
"type": "Contacts",
"attributes": {
"first_name": "Bob",
"last_name": "Dylan",
"email1": "freewheelin@mail.com"
}
}
}
This successfully creates the contact with the email1 populated.
When attempting the same call with a PATCH request to update the email1 field the other fields are updated but email1 is not changed.
Possible Fix
No response
Steps to Reproduce the Issue
Context
No response
Version
7.14.4
What browser are you currently using?
Chrome
Browser Version
No response
Environment Information
MySQL, PHP8.2
Operating System and Version
Ubuntu 22