Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

Upsert

Updates a subscriber if one currently exists. If the subscriber does not exist, this function will add it.

Upsert(1)

OrdinalTypeDescription
1stringRequired

This sample code updates the specified values for an existing subscriber or creates a new subscriber if necessary.