Sha256: 2a7367cc2f1bc50441552bee717acb02f61d532320097c329a0beab60e5939c1

Contents?: true

Size: 752 Bytes

Versions: 6

Compression:

Stored size: 752 Bytes

Contents

# KlaviyoAPI::MarketingSubscriptionParameters

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **consent** | **String** | The Consent status to subscribe to for the \"Marketing\" type. Currently supports \"SUBSCRIBED\". |  |
| **consented_at** | **Time** | The timestamp of when the profile's consent was gathered. This should only be used when syncing over historical consent info to Klaviyo; if the `historical_import` flag is not included, providing any value for this field will raise an error. | [optional] |

## Example

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

instance = KlaviyoAPI::MarketingSubscriptionParameters.new(
  consent: SUBSCRIBED,
  consented_at: null
)
```

Version data entries

6 entries across 6 versions & 1 rubygems

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