docs/EventProfileCreateQueryResourceObjectAttributes.md in klaviyo-api-sdk-7.1.0 vs docs/EventProfileCreateQueryResourceObjectAttributes.md in klaviyo-api-sdk-8.0.0
- old
+ new
@@ -2,10 +2,11 @@
## Properties
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
+| **email** | **String** | Individual's email address | [optional] |
| **phone_number** | **String** | Individual's phone number in E.164 format | [optional] |
| **external_id** | **String** | A unique identifier used by customers to associate Klaviyo profiles with profiles in an external system, such as a point-of-sale system. Format varies based on the external system. | [optional] |
| **anonymous_id** | **String** | | [optional] |
| **_kx** | **String** | Also known as the `exchange_id`, this is an encrypted identifier used for identifying a profile by Klaviyo's web tracking. You can use this field as a filter when retrieving profiles via the Get Profiles endpoint. | [optional] |
| **first_name** | **String** | Individual's first name | [optional] |
@@ -14,18 +15,18 @@
| **title** | **String** | Individual's job title | [optional] |
| **image** | **String** | URL pointing to the location of a profile image | [optional] |
| **location** | [**ProfileLocation**](ProfileLocation.md) | | [optional] |
| **properties** | **Object** | An object containing key/value pairs for any custom properties assigned to this profile | [optional] |
| **meta** | [**OnsiteProfileMeta**](OnsiteProfileMeta.md) | | [optional] |
-| **email** | **String** | Individual's email address | [optional] |
## Example
```ruby
require 'klaviyo-api-sdk'
instance = KlaviyoAPI::EventProfileCreateQueryResourceObjectAttributes.new(
+ email: sarah.mason@klaviyo-demo.com,
phone_number: +15005550006,
external_id: null,
anonymous_id: null,
_kx: null,
first_name: Sarah,
@@ -33,10 +34,9 @@
organization: Example Corporation,
title: Regional Manager,
image: https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg,
location: null,
properties: {"pseudonym":"Dr. Octopus"},
- meta: null,
- email: sarah.mason@klaviyo-demo.com
+ meta: null
)
```