Sha256: 15e605ed63a111956e426e9345bd7678fa6a735ed9473c21be1e3a1fab4bac95
Contents?: true
Size: 907 Bytes
Versions: 2
Compression:
Stored size: 907 Bytes
Contents
# KlaviyoAPI::Subscription ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **channels** | [**SubscriptionChannels**](SubscriptionChannels.md) | | [optional] | | **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. | [optional] | | **profile_id** | **String** | The ID of the profile to subscribe. If provided, this will be used to perform the lookup. | [optional] | ## Example ```ruby require 'klaviyo-api-sdk' instance = KlaviyoAPI::Subscription.new( channels: null, email: matt-kemp@klaviyo-demo.com, phone_number: +15005550006, profile_id: 01GDDKASAP8TKDDA2GRZDSVP4H ) ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
klaviyo-api-sdk-2.0.0 | docs/Subscription.md |
klaviyo-api-sdk-1.2.0 | docs/Subscription.md |