Sha256: 5c24a30e9fef1cf96f42fe46314fd13da5d47baaab624f55109c60e326dd31fd

Contents?: true

Size: 1.08 KB

Versions: 7

Compression:

Stored size: 1.08 KB

Contents

# KlaviyoAPI::ProfileSubscriptionCreateQueryResourceObjectAttributes

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **email** | **String** | The email address to subscribe or to set on the profile if `channels` is specified and the email channel is omitted. | [optional] |
| **phone_number** | **String** | The phone number to subscribe or to set on the profile if `channels` is specified and the SMS channel is omitted. This must be in E.164 format. | [optional] |
| **subscriptions** | [**SubscriptionChannels**](SubscriptionChannels.md) |  | [optional] |
| **age_gated_date_of_birth** | **Date** | The profile's date of birth. This field is required to update SMS consent for accounts using age-gating: https://help.klaviyo.com/hc/en-us/articles/17252552814875 | [optional] |

## Example

```ruby
require 'klaviyo-api-sdk'

instance = KlaviyoAPI::ProfileSubscriptionCreateQueryResourceObjectAttributes.new(
  email: matt-kemp@klaviyo-demo.com,
  phone_number: +15005550006,
  subscriptions: null,
  age_gated_date_of_birth: null
)
```

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
klaviyo-api-sdk-12.0.0 docs/ProfileSubscriptionCreateQueryResourceObjectAttributes.md
klaviyo-api-sdk-11.1.0 docs/ProfileSubscriptionCreateQueryResourceObjectAttributes.md
klaviyo-api-sdk-11.0.0 docs/ProfileSubscriptionCreateQueryResourceObjectAttributes.md
klaviyo-api-sdk-10.0.0 docs/ProfileSubscriptionCreateQueryResourceObjectAttributes.md
klaviyo-api-sdk-9.0.0 docs/ProfileSubscriptionCreateQueryResourceObjectAttributes.md
klaviyo-api-sdk-8.0.0 docs/ProfileSubscriptionCreateQueryResourceObjectAttributes.md
klaviyo-api-sdk-7.1.0 docs/ProfileSubscriptionCreateQueryResourceObjectAttributes.md