Upsert
Adding or updating customers programmatically via the Laudspeaker API
The upsert
endpoint is designed to allow Luadspeaker users the programmatic ability to add new customers or update existing customers.
The upsert
endpoint looks up a customer document using the supplied primary_key
, and then adds or changes customer attribute values specified in the properties
json
object in the request body.
Authentication
Header for authenticating with Laudspeaker. Starts with Api-Key
followed by the API key, for example Api-Key M4jxXt6diYz1Dds1YmhHe93KGPAUi24PlXgaiRXi
.
Body
This field specifies the primary key value used to uniquely identify users.
This is where additional properties are added to the customer object. To delete a property, pass the key with value set to null
.
Response
The id of the customer object that was created or modified.