addedInput schema / $defs
Added value: +{
+ "subscriptions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "automation_ids": {
+ "description": "Enroll the subscriber into automations after their subscription has been created. Requires the automations to have an active *Add by API* trigger.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "complimentary_gift_id": {
+ "description": "The prefixed ID of a complimentary access object to apply to this subscription. The complimentary access must belong to the same publication.",
+ "pattern": "^(comp_access_[0-9a-fA-F\\-]+)$",
+ "title": "ComplimentaryAccessId",
+ "type": "string"
+ },
+ "custom_fields": {
+ "description": "The custom fields must already exist for the publication. Any new custom fields here will be discarded.",
+ "items": {
+ "additionalProperties": false,
+ "description": "The object required for setting custom field values on a subscription",
+ "properties": {
+ "name": {
+ "description": "The name of the existing custom field",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value stored for the subscription",
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "format": "double",
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ ],
+ "title": "CustomFieldDataType"
+ }
+ },
+ "title": "CustomFieldValue",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "double_opt_override": {
+ "description": "Override the publication's default double opt-in settings for this subscription. Possible values are: - \"on\" : The subscriber will receive a double opt-in confirmation email and will need to confirm their subscription prior to being marked as active. - \"off\" : The subscriber will be marked as active immediately and will not receive a double opt-in confirmation email. - \"not_set\" : The publication's default double opt-in settings will be applied to this subscription.",
+ "title": "DoubleOptOverride",
+ "type": "string"
+ },
+ "email": {
+ "description": "The email address of the subscription.",
+ "type": "string"
+ },
+ "newsletter_list_ids": {
+ "description": "An array of newsletter list prefixed IDs to subscribe the new subscription to. The newsletter lists must belong to the same publication.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "premium_tier_ids": {
+ "description": "An array of premium tier IDs to assign to this subscription. When provided, the subscription will be assigned to these specific premium tiers. Can be combined with `premium_tiers` to include tiers from both (duplicates are removed). Takes precedence over the `tier` parameter.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "premium_tiers": {
+ "description": "An array of premium tier names to assign to this subscription. When provided, the subscription will be assigned to premium tiers matching these names. Can be combined with `premium_tier_ids` to include tiers from both (duplicates are removed). Takes precedence over the `tier` parameter.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reactivate_existing": {
+ "default": false,
+ "description": "Whether or not to reactivate the subscription if they have already unsubscribed. This option should be used only if the subscriber is knowingly resubscribing.",
+ "type": "boolean"
+ },
+ "referral_code": {
+ "description": "This should be a subscribers referral_code. This gives referral credit for the new subscription.",
+ "type": "string"
+ },
+ "referring_site": {
+ "description": "The website that the subscriber was referred from",
+ "type": "string"
+ },
+ "send_welcome_email": {
+ "default": false,
+ "type": "boolean"
+ },
+ "skip_newsletter_list_auto_subscribe": {
+ "description": "When true, the subscriber will not be auto-subscribed to newsletter lists configured with auto-subscribe. Defaults to false.",
+ "type": "boolean"
+ },
+ "stripe_customer_id": {
+ "description": "The Stripe customer ID for this subscription.",
+ "pattern": "^(cus_[0-9a-zA-Z]+)?$",
+ "title": "OptionalStripeCustomerId",
+ "type": "string"
+ },
+ "tier": {
+ "description": "The tier for this subscription.",
+ "enum": [
+ "free",
+ "premium"
+ ],
+ "title": "SubscriptionsCreateRequestTier",
+ "type": "string"
+ },
+ "utm_campaign": {
+ "description": "The acquisition campaign of the subscription",
+ "type": "string"
+ },
+ "utm_content": {
+ "description": "The acquisition content; typically used for A/B testing or ad variations",
+ "type": "string"
+ },
+ "utm_medium": {
+ "description": "The medium of the subscription",
+ "type": "string"
+ },
+ "utm_source": {
+ "description": "The source of the subscription.",
+ "type": "string"
+ },
+ "utm_term": {
+ "description": "The acquisition term; typically the keyword or search term",
+ "type": "string"
+ }
+ },
+ "required": [
+ "email"
+ ],
+ "title": "SubscriptionRequest",
+ "type": "object"
+ },
+ "type": "array"
+ }
+}
changedInput schema / properties / confirm / description
Previous value: -"Must be true for every account mutation. Confirms only the user-requested action."New value: +"Set true only when the user asked for exactly this action."
addedInput schema / properties / payload / properties / subscriptions / $ref
Added value: +"#/$defs/subscriptions"
removedInput schema / properties / payload / properties / subscriptions / items
Removed value: -{
- "additionalProperties": false,
- "properties": {
- "automation_ids": {
- "description": "Enroll the subscriber into automations after their subscription has been created. Requires the automations to have an active *Add by API* trigger.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "complimentary_gift_id": {
- "description": "The prefixed ID of a complimentary access object to apply to this subscription. The complimentary access must belong to the same publication.",
- "pattern": "^(comp_access_[0-9a-fA-F\\-]+)$",
- "title": "ComplimentaryAccessId",
- "type": "string"
- },
- "custom_fields": {
- "description": "The custom fields must already exist for the publication. Any new custom fields here will be discarded.",
- "items": {
- "additionalProperties": false,
- "description": "The object required for setting custom field values on a subscription",
- "properties": {
- "name": {
- "description": "The name of the existing custom field",
- "type": "string"
- },
- "value": {
- "description": "The value stored for the subscription",
- "oneOf": [
- {
- "type": "string"
- },
- {
- "format": "double",
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- ],
- "title": "CustomFieldDataType"
- }
- },
- "title": "CustomFieldValue",
- "type": "object"
- },
- "type": "array"
- },
- "double_opt_override": {
- "description": "Override the publication's default double opt-in settings for this subscription. Possible values are: - \"on\" : The subscriber will receive a double opt-in confirmation email and will need to confirm their subscription prior to being marked as active. - \"off\" : The subscriber will be marked as active immediately and will not receive a double opt-in confirmation email. - \"not_set\" : The publication's default double opt-in settings will be applied to this subscription.",
- "title": "DoubleOptOverride",
- "type": "string"
- },
- "email": {
- "description": "The email address of the subscription.",
- "type": "string"
- },
- "newsletter_list_ids": {
- "description": "An array of newsletter list prefixed IDs to subscribe the new subscription to. The newsletter lists must belong to the same publication.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "premium_tier_ids": {
- "description": "An array of premium tier IDs to assign to this subscription. When provided, the subscription will be assigned to these specific premium tiers. Can be combined with `premium_tiers` to include tiers from both (duplicates are removed). Takes precedence over the `tier` parameter.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "premium_tiers": {
- "description": "An array of premium tier names to assign to this subscription. When provided, the subscription will be assigned to premium tiers matching these names. Can be combined with `premium_tier_ids` to include tiers from both (duplicates are removed). Takes precedence over the `tier` parameter.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "reactivate_existing": {
- "default": false,
- "description": "Whether or not to reactivate the subscription if they have already unsubscribed. This option should be used only if the subscriber is knowingly resubscribing.",
- "type": "boolean"
- },
- "referral_code": {
- "description": "This should be a subscribers referral_code. This gives referral credit for the new subscription.",
- "type": "string"
- },
- "referring_site": {
- "description": "The website that the subscriber was referred from",
- "type": "string"
- },
- "send_welcome_email": {
- "default": false,
- "type": "boolean"
- },
- "skip_newsletter_list_auto_subscribe": {
- "description": "When true, the subscriber will not be auto-subscribed to newsletter lists configured with auto-subscribe. Defaults to false.",
- "type": "boolean"
- },
- "stripe_customer_id": {
- "description": "The Stripe customer ID for this subscription.",
- "pattern": "^(cus_[0-9a-zA-Z]+)?$",
- "title": "OptionalStripeCustomerId",
- "type": "string"
- },
- "tier": {
- "description": "The tier for this subscription.",
- "enum": [
- "free",
- "premium"
- ],
- "title": "SubscriptionsCreateRequestTier",
- "type": "string"
- },
- "utm_campaign": {
- "description": "The acquisition campaign of the subscription",
- "type": "string"
- },
- "utm_content": {
- "description": "The acquisition content; typically used for A/B testing or ad variations",
- "type": "string"
- },
- "utm_medium": {
- "description": "The medium of the subscription",
- "type": "string"
- },
- "utm_source": {
- "description": "The source of the subscription.",
- "type": "string"
- },
- "utm_term": {
- "description": "The acquisition term; typically the keyword or search term",
- "type": "string"
- }
- },
- "required": [
- "email"
- ],
- "title": "SubscriptionRequest",
- "type": "object"
-}
removedInput schema / properties / payload / properties / subscriptions / type
Removed value: -"array"
addedInput schema / properties / subscriptions / $ref
Added value: +"#/$defs/subscriptions"
removedInput schema / properties / subscriptions / items
Removed value: -{
- "additionalProperties": false,
- "properties": {
- "automation_ids": {
- "description": "Enroll the subscriber into automations after their subscription has been created. Requires the automations to have an active *Add by API* trigger.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "complimentary_gift_id": {
- "description": "The prefixed ID of a complimentary access object to apply to this subscription. The complimentary access must belong to the same publication.",
- "pattern": "^(comp_access_[0-9a-fA-F\\-]+)$",
- "title": "ComplimentaryAccessId",
- "type": "string"
- },
- "custom_fields": {
- "description": "The custom fields must already exist for the publication. Any new custom fields here will be discarded.",
- "items": {
- "additionalProperties": false,
- "description": "The object required for setting custom field values on a subscription",
- "properties": {
- "name": {
- "description": "The name of the existing custom field",
- "type": "string"
- },
- "value": {
- "description": "The value stored for the subscription",
- "oneOf": [
- {
- "type": "string"
- },
- {
- "format": "double",
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- ],
- "title": "CustomFieldDataType"
- }
- },
- "title": "CustomFieldValue",
- "type": "object"
- },
- "type": "array"
- },
- "double_opt_override": {
- "description": "Override the publication's default double opt-in settings for this subscription. Possible values are: - \"on\" : The subscriber will receive a double opt-in confirmation email and will need to confirm their subscription prior to being marked as active. - \"off\" : The subscriber will be marked as active immediately and will not receive a double opt-in confirmation email. - \"not_set\" : The publication's default double opt-in settings will be applied to this subscription.",
- "title": "DoubleOptOverride",
- "type": "string"
- },
- "email": {
- "description": "The email address of the subscription.",
- "type": "string"
- },
- "newsletter_list_ids": {
- "description": "An array of newsletter list prefixed IDs to subscribe the new subscription to. The newsletter lists must belong to the same publication.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "premium_tier_ids": {
- "description": "An array of premium tier IDs to assign to this subscription. When provided, the subscription will be assigned to these specific premium tiers. Can be combined with `premium_tiers` to include tiers from both (duplicates are removed). Takes precedence over the `tier` parameter.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "premium_tiers": {
- "description": "An array of premium tier names to assign to this subscription. When provided, the subscription will be assigned to premium tiers matching these names. Can be combined with `premium_tier_ids` to include tiers from both (duplicates are removed). Takes precedence over the `tier` parameter.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "reactivate_existing": {
- "default": false,
- "description": "Whether or not to reactivate the subscription if they have already unsubscribed. This option should be used only if the subscriber is knowingly resubscribing.",
- "type": "boolean"
- },
- "referral_code": {
- "description": "This should be a subscribers referral_code. This gives referral credit for the new subscription.",
- "type": "string"
- },
- "referring_site": {
- "description": "The website that the subscriber was referred from",
- "type": "string"
- },
- "send_welcome_email": {
- "default": false,
- "type": "boolean"
- },
- "skip_newsletter_list_auto_subscribe": {
- "description": "When true, the subscriber will not be auto-subscribed to newsletter lists configured with auto-subscribe. Defaults to false.",
- "type": "boolean"
- },
- "stripe_customer_id": {
- "description": "The Stripe customer ID for this subscription.",
- "pattern": "^(cus_[0-9a-zA-Z]+)?$",
- "title": "OptionalStripeCustomerId",
- "type": "string"
- },
- "tier": {
- "description": "The tier for this subscription.",
- "enum": [
- "free",
- "premium"
- ],
- "title": "SubscriptionsCreateRequestTier",
- "type": "string"
- },
- "utm_campaign": {
- "description": "The acquisition campaign of the subscription",
- "type": "string"
- },
- "utm_content": {
- "description": "The acquisition content; typically used for A/B testing or ad variations",
- "type": "string"
- },
- "utm_medium": {
- "description": "The medium of the subscription",
- "type": "string"
- },
- "utm_source": {
- "description": "The source of the subscription.",
- "type": "string"
- },
- "utm_term": {
- "description": "The acquisition term; typically the keyword or search term",
- "type": "string"
- }
- },
- "required": [
- "email"
- ],
- "title": "SubscriptionRequest",
- "type": "object"
-}
removedInput schema / properties / subscriptions / type
Removed value: -"array"