You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`email`| string | Yes | If a contact already exists with this email address, an error response will be returned. |
78
-
|`properties`| object | No | An object containing default and any custom properties for your contact.<br />Please [add custom properties](https://loops.so/docs/contacts/properties#custom-contact-properties) in your Loops account before using them with the SDK.<br />Values can be of type `string`, `number`, `null` (to reset a value) `boolean` or `date` ([see allowed date formats](https://loops.so/docs/contacts/properties#dates)). |
79
-
|`mailingLists`| object | No | An object of mailing list IDs and boolean subscription statuses. |
|`email`| string | Yes | If a contact already exists with this email address, an error response will be returned. |
78
+
|`properties`| object | No | An object containing default and any custom properties for your contact.<br />Please [add custom properties](https://loops.so/docs/contacts/properties#custom-contact-properties) in your Loops account before using them with the SDK.<br />Values can be of type `string`, `number`, `null` (to reset a value),`boolean` or `date` ([see allowed date formats](https://loops.so/docs/contacts/properties#dates)). |
79
+
|`mailingLists`| object | No | An object of mailing list IDs and boolean subscription statuses. |
80
80
81
81
#### Examples
82
82
@@ -128,11 +128,11 @@ Note: To update a contact's email address, the contact requires a `userId` value
|`email`| string | Yes | The email address of the contact to update. If there is no contact with this email address, a new contact will be created using the email and properties in this request. |
134
-
|`properties`| object | No | An object containing default and any custom properties for your contact.<br />Please [add custom properties](https://loops.so/docs/contacts/properties#custom-contact-properties) in your Loops account before using them with the SDK.<br />Values can be of type `string`, `number`, `null` (to reset a value) `boolean` or `date` ([see allowed date formats](https://loops.so/docs/contacts/properties#dates)). |
135
-
|`mailingLists`| object | No | An object of mailing list IDs and boolean subscription statuses. |
|`email`| string | Yes | The email address of the contact to update. If there is no contact with this email address, a new contact will be created using the email and properties in this request. |
134
+
|`properties`| object | No | An object containing default and any custom properties for your contact.<br />Please [add custom properties](https://loops.so/docs/contacts/properties#custom-contact-properties) in your Loops account before using them with the SDK.<br />Values can be of type `string`, `number`, `null` (to reset a value),`boolean` or `date` ([see allowed date formats](https://loops.so/docs/contacts/properties#dates)). |
135
+
|`mailingLists`| object | No | An object of mailing list IDs and boolean subscription statuses. |
136
136
137
137
#### Example
138
138
@@ -304,14 +304,14 @@ Send an event to trigger an email in Loops. [Read more about events](https://loo
|`email`| string | No | The contact's email address. Required if `userId` is not present. |
310
-
|`userId`| string | No | The contact's unique user ID. If you use `userID` without `email`, this value must have already been added to your contact in Loops. Required if `email` is not present. |
311
-
|`eventName`| string | Yes ||
312
-
|`contactProperties`| object | No | An object containing contact properties, which will be updated or added to the contact when the event is received.<br />Please [add custom properties](https://loops.so/docs/contacts/properties#custom-contact-properties) in your Loops account before using them with the SDK.<br />Values can be of type `string`, `number`, `null` (to reset a value) `boolean` or `date` ([see allowed date formats](https://loops.so/docs/contacts/properties#dates)). |
313
-
|`eventProperties`| object | No | An object containing event properties, which will be made availabe in emails that are triggered by this event.<br />Values can be of type `string`, `number`, `boolean` or `date` ([see allowed date formats](https://loops.so/docs/events/properties#important-information-about-event-properties)). |
314
-
|`mailingLists`| object | No | An object of mailing list IDs and boolean subscription statuses. |
|`email`| string | No | The contact's email address. Required if `userId` is not present. |
310
+
|`userId`| string | No | The contact's unique user ID. If you use `userID` without `email`, this value must have already been added to your contact in Loops. Required if `email` is not present. |
311
+
|`eventName`| string | Yes ||
312
+
|`contactProperties`| object | No | An object containing contact properties, which will be updated or added to the contact when the event is received.<br />Please [add custom properties](https://loops.so/docs/contacts/properties#custom-contact-properties) in your Loops account before using them with the SDK.<br />Values can be of type `string`, `number`, `null` (to reset a value),`boolean` or `date` ([see allowed date formats](https://loops.so/docs/contacts/properties#dates)). |
313
+
|`eventProperties`| object | No | An object containing event properties, which will be made availabe in emails that are triggered by this event.<br />Values can be of type `string`, `number`, `boolean` or `date` ([see allowed date formats](https://loops.so/docs/events/properties#important-information-about-event-properties)). |
314
+
|`mailingLists`| object | No | An object of mailing list IDs and boolean subscription statuses. |
0 commit comments