Sha256: c0c443a0a1dab68fa0d5a6573d22de9263f22090983164a3b68cf85955991fec

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

# KlaviyoAPI::EmailMarketing

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **consent** | **String** | The consent status for email marketing. |  |
| **timestamp** | **Time** | The timestamp when consent record or updated for email marketing, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm). | [optional] |
| **method** | **String** | The method by which the profile was subscribed to email marketing. |  |
| **method_detail** | **String** | Additional details about the method by which the profile was subscribed to SMS marketing. This may be empty if no details were provided. | [optional] |
| **custom_method_detail** | **String** | Additional detail provided by the caller when the profile was subscribed. This may be empty if no details were provided. | [optional] |
| **double_optin** | **Boolean** | Whether the profile was subscribed to email marketing using a double opt-in. | [optional] |
| **suppressions** | [**EmailMarketingSuppression**](EmailMarketingSuppression.md) |  | [optional] |
| **list_suppressions** | [**EmailMarketingListSuppression**](EmailMarketingListSuppression.md) |  | [optional] |

## Example

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

instance = KlaviyoAPI::EmailMarketing.new(
  consent: SUBSCRIBED,
  timestamp: 2023-02-21T20:07:38Z,
  method: PREFERENCE_PAGE,
  method_detail: mydomain.com/signup,
  custom_method_detail: marketing drive,
  double_optin: true,
  suppressions: null,
  list_suppressions: null
)
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
klaviyo-api-sdk-2.0.0 docs/EmailMarketing.md