Adding, Updating and Upserting Objects

Use the Add (XML API) or add() (SOAP API) command to add objects of a supported type except User objects.

Use the CreateUser (XML API) or createUser() (SOAP API) command to add User objects.

Use the Modify (XML API), ModifyOnCondition (XML API) or modify() (SOAP API) command to update objects of a supported type including User objects.

Use the Add (XML API) or upsert() (SOAP API) command to upsert objects of a supported type.

Note:

Upserts use a lookup field to determine whether it adds or updates an object:

  • If the lookup field is not matched in any existing objects, a new object is added.

  • If the lookup field is matched one time, the existing object is updated.

These commands pass the following parameters and arguments: