If you need to use a field other than "id" to update/create user information within Receptive, there are two more parameters that may be added to the snippet:
Description: Specifies which user field should be used to find/create a user within Receptive. Valid values are "email" and "id". Defaults to "id"
Example: "email" or "id"
Description: Specifies which account field should be used to find/create an account within Receptive. Valid values are "name" and "id". Defaults to "id"
Example: "name" or "id"
With this in place, users/accounts are looked up in Receptive by the field specified. Please note, that if anything other than "id" is used:
- The ID specified in the snippet will overwrite the current ID within Receptive
- If two or more records exist with the same field data, the operation will fail with a 400 code