Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added consents array to put and post request bodies #779

Merged
merged 10 commits into from
Jan 30, 2025
17 changes: 14 additions & 3 deletions reference/subscribers.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,11 @@ components:
type: array
items:
type: string
description: Shows what active subscriptions a shopper may have. If the consents array is empty, the user has unsubscribed or didn’t enable the newsletter subscription checkbox during checkout.
example:
- marketing_newsletter
enum:
- marketing_newsletter
- abandoned_cart
description: Shows the active subscriptions a shopper may have. If the consents array is empty, the user has unsubscribed or didn’t enable the newsletter subscription checkbox during checkout. The array will contain consent types like 'marketing_newsletter' and 'abandoned_cart'.
example: ["marketing_newsletter"]
x-internal: false
subscriber_Base:
title: subscriber_Base
Expand Down Expand Up @@ -424,6 +426,15 @@ components:
minimum: 1
type: integer
description: The channel ID where the subscriber was created.
consents:
type: array
items:
type: string
bc-traciporter marked this conversation as resolved.
Show resolved Hide resolved
enum:
- marketing_newsletter
- abandoned_cart
description: Shows the active subscriptions a shopper may have. If the consents array is empty, the user has unsubscribed or didn’t enable the newsletter subscription checkbox during checkout. The array will contain consent types like 'marketing_newsletter' and 'abandoned_cart'.
example: ["abandoned_cart"]
description: Common Subscriber properties.
x-internal: false
Subscriber:
Expand Down