You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to update and primary address if it is a primary flag is true using rest API

edited Feb 4, 2025 12:01PM in Sales 7 comments

Header: Upsert-Mode : true

Rest API: https://xxxx-test.fa.us1.oraclecloud.com/crmRestApi/resources/11.13.18.05/contacts/1148115/child/Address/

Payload:

{    

"SourceSystem": "Onekey",   

"SourceSystemReferenceValue": "ADD00017",   

"PrimaryFlag": true,   

"PartySiteEO_Workplace_c" : "ADD00017-update1",   

"Country" : "KW"

}

Expectation: Want to update the address either the primary flag is true/false

Actual: we are able to update the address only if the primary flag is false

error:

A record with the value Onekey, ADD00017 already exists. Enter a unique value.

Regards

Mohammed Hyder

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!