Meta tags:
description= Update a single subscription.;
Headings (most frequently used words):
update, subscription, by, id, oauth, scope, subscriptions, write, authentication, path, parameters, request, response, errors,
Text of the page (most frequently used words):
badge (202), intent (101), minimal (101), outlined (101), oauth (91), scope (90), info (88), #subscription (59), read (47), write (42), #subscriptions (41), list (40), get (32), update (25), the (21), newsletter (17), tier (15), create (14), warning (14), beta (14), email (12), tiers (11), post (11), posts (11), publications (10), newsletter_lists (10), optional (9), 0000 (9), webhooks (9), custom (8), custom_fields (8), premium (8), token (8), segments (8), this (7), delete (7), automations (7), object (6), data (6), field (6), api (6), segment (6), automation (6), error (5), complimentary (5), access (5), publication (5), string (5), for (5), put (5), polls (5), page (4), request (4), format (4), required (4), bearer (4), name (4), identify (4), webhook (4), deletion (4), with (3), not (3), prefixed (3), array (3), value (3), from (3), parameter (3), subscriptionid (3), publicationid (3), https (3), com (3), status (3), 000000000000 (3), beehiiv (3), data_deletion (3), condition (3), bulk (3), resumed (3), paused (3), requests (2), response (2), objects (2), boolean (2), unsubscribe (2), stripe_customer_id (2), names (2), assign (2), when (2), provided (2), will (2), assigned (2), these (2), can (2), combined (2), include (2), both (2), duplicates (2), are (2), removed (2), takes (2), precedence (2), over (2), premium_tier_ids (2), strings (2), premium_tiers (2), ids (2), set (2), authentication (2), authorization (2), referral_code (2), utm_campaign (2), created (2), protected (2), sub_00000000 (2), updated (2), curl (2), reference (2), demo (2), start (2), trial (2), login (2), add (2), referral (2), program (2), templates (2), poll (2), lists (2), engagements (2), fields (2), condition_sets (2), sets (2), complimentary_access (2), updates (2), journeys (2), authors (2), advertisement (2), opportunities (2), oauth2 (2), survey (2), deleted (2), code (2), integrations (2), rate (2), limiting (2), pagination (2), key (2), getting (2), started (2), search (2), documentation (2), index (2), level (2), llms (2), txt (2), any (2), built, next, previous, yes, was, helpful, internal, server, 500, too, many, 429, found, 404, unauthorized, 401, bad, 400, errors, apply, must, belong, same, comp_access_, complimentary_gift_id, show, properties, specifying, whether, stripe, customer, cus_, new, address, matching, specific, free, allowed, values, enum, endpoint, expects, sub_, pub_, path, parameters, form, where, your, auth, single, www, blog, referring_site, utm_content, utm_term, website, utm_channel, organic, utm_medium, twitter, utm_source, gold, subscription_premium_tier_names, subscription_tier, 1666800076, active, 200, try, wayne, last, bruce, first, cus_12345abcde, content, type, application, json, pub_00000000, copy, light, workspace, tag, subscriber, subscribers, recalculate, referral_program, send, test, aggregate, stats, responses, user, emails, journey, author, introspect, revoke, authorize, submitted, added, downgraded, upgraded, confirmed, scheduled, sent, unsubscribed, subscribed, workspaces, tags, del, patch, users, tokens, authorizations, welcome, ask, agents, available, root, append, url, markdown, version, developer,
Text of the page (random words):
update subscription by id oauth scope subscriptions write beehiiv developer documentation for ai agents a documentation index is available at the root level at llms txt append llms txt to any url for a page level index or md for the markdown version of any page search ask ai login start trial get a demo search welcome getting started create an api key pagination rate limiting no code integrations webhooks newsletter list subscription post subscription survey oauth2 authorizations tokens api reference advertisement opportunities authors automation journeys automations bulk subscriptions bulk subscription updates complimentary access condition sets custom fields data deletion engagements newsletter lists newsletter list subscriptions oauth users polls posts post templates publications referral program segments subscriptions post create subscription badge intent info minimal outlined oauth scope subscriptions write badge get list subscriptions badge intent info minimal outlined oauth scope subscriptions read badge get get subscription by email badge intent info minimal outlined oauth scope subscriptions read badge get get subscription by id badge intent info minimal outlined oauth scope subscriptions read badge put update subscription by id badge intent info minimal outlined oauth scope subscriptions write badge patch update subscription by id badge intent info minimal outlined oauth scope subscriptions write badge put update subscription by email badge intent info minimal outlined oauth scope subscriptions write badge del delete subscription badge intent info minimal outlined oauth scope subscriptions write badge subscription tags tiers webhooks workspaces getting started create an api key pagination rate limiting no code integrations webhooks newsletter list subscription subscribed badge intent warning minimal outlined beta badge newsletter list subscription unsubscribed badge intent warning minimal outlined beta badge newsletter list subscription paused badge intent warning minimal outlined beta badge newsletter list subscription resumed badge intent warning minimal outlined beta badge post sent post updated post scheduled subscription created subscription confirmed subscription deleted subscription upgraded subscription downgraded subscription paused subscription resumed subscription tier paused subscription tier resumed subscription tier added subscription tier deleted survey response submitted oauth2 authorize create token revoke token introspect token get token info get advertisement opportunities badge intent info minimal outlined oauth scope posts read badge list authors get author add subscription to an automation badge intent info minimal outlined oauth scope automations write badge list automation journeys badge intent info minimal outlined oauth scope automations read badge get automation journey badge intent info minimal outlined oauth scope automations read badge list automations badge intent info minimal outlined oauth scope automations read badge get automation badge intent info minimal outlined oauth scope automations read badge list automation emails bulk create subscription badge intent info minimal outlined oauth scope subscriptions write badge list subscription updates badge intent info minimal outlined oauth scope subscriptions read badge get subscription update badge intent info minimal outlined oauth scope subscriptions read badge update subscriptions badge intent info minimal outlined oauth scope subscriptions write badge update subscriptions badge intent info minimal outlined oauth scope subscriptions write badge update subscriptions status badge intent info minimal outlined oauth scope subscriptions write badge update subscriptions status badge intent info minimal outlined oauth scope subscriptions write badge list complimentary access badge intent info minimal outlined oauth scope complimentary_access read badge get complimentary access badge intent info minimal outlined oauth scope complimentary_access read badge list condition sets badge intent info minimal outlined oauth scope condition_sets read badge get condition set badge intent info minimal outlined oauth scope condition_sets read badge create custom field badge intent info minimal outlined oauth scope custom_fields write badge get custom field badge intent info minimal outlined oauth scope custom_fields read badge list custom fields badge intent info minimal outlined oauth scope custom_fields read badge update custom field badge intent info minimal outlined oauth scope custom_fields write badge update custom field badge intent info minimal outlined oauth scope custom_fields write badge delete custom field badge intent info minimal outlined oauth scope custom_fields write badge create data deletion request badge intent info minimal outlined oauth scope data_deletion write badge get data deletion request badge intent info minimal outlined oauth scope data_deletion read badge list data deletion requests badge intent info minimal outlined oauth scope data_deletion read badge get publication engagements badge intent info minimal outlined oauth scope publications read badge list newsletter lists badge intent warning minimal outlined beta badge badge intent info minimal outlined oauth scope newsletter_lists read badge get newsletter list badge intent warning minimal outlined beta badge badge intent info minimal outlined oauth scope newsletter_lists read badge create newsletter list badge intent warning minimal outlined beta badge badge intent info minimal outlined oauth scope newsletter_lists write badge update newsletter list badge intent warning minimal outlined beta badge badge intent info minimal outlined oauth scope newsletter_lists write badge delete newsletter list badge intent warning minimal outlined beta badge badge intent info minimal outlined oauth scope newsletter_lists write badge create newsletter list subscription badge intent warning minimal outlined beta badge badge intent info minimal outlined oauth scope newsletter_lists write badge list newsletter list subscriptions badge intent warning minimal outlined beta badge badge intent info minimal outlined oauth scope newsletter_lists read badge get newsletter list subscription badge intent warning minimal outlined beta badge badge intent info minimal outlined oauth scope newsletter_lists read badge update newsletter list subscription badge intent warning minimal outlined beta badge badge intent info minimal outlined oauth scope newsletter_lists write badge update newsletter list subscription by subscription id badge intent warning minimal outlined beta badge badge intent info minimal outlined oauth scope newsletter_lists write badge identify user badge intent info minimal outlined oauth scope identify read badge list polls badge intent info minimal outlined oauth scope polls read badge get poll badge intent info minimal outlined oauth scope polls read badge list poll responses badge intent info minimal outlined oauth scope polls read badge create post badge intent info minimal outlined oauth scope posts write badge update post badge intent info minimal outlined oauth scope posts write badge list posts badge intent info minimal outlined oauth scope posts read badge get aggregate stats badge intent info minimal outlined oauth scope posts read badge get post badge intent info minimal outlined oauth scope posts read badge delete post badge intent info minimal outlined oauth scope posts write badge send test email badge intent info minimal outlined oauth scope posts badge get post templates badge intent info minimal outlined oauth scope posts read badge list publications badge intent info minimal outlined oauth scope publications read badge get publication badge intent info minimal outlined oauth scope publications read badge get referral program badge intent info minimal outlined oauth scope referral_program read badge create segment list segments badge intent info minimal outlined oauth scope segments read badge get segment badge intent info minimal outlined oauth scope segments read badge recalculate segment badge intent info minimal outlined oauth scope segments write badge list segment subscribers badge intent info minimal outlined oauth scope segments read badge list segment subscriber ids badge intent info minimal outlined oauth scope segments read badge delete segment badge intent info minimal outlined oauth scope segments write badge create subscription badge intent info minimal outlined oauth scope subscriptions write badge list subscriptions badge intent info minimal outlined oauth scope subscriptions read badge get subscription by email badge intent info minimal outlined oauth scope subscriptions read badge get subscription by id badge intent info minimal outlined oauth scope subscriptions read badge update subscription by id badge intent info minimal outlined oauth scope subscriptions write badge update subscription by id badge intent info minimal outlined oauth scope subscriptions write badge update subscription by email badge intent info minimal outlined oauth scope subscriptions write badge delete subscription badge intent info minimal outlined oauth scope subscriptions write badge add subscription tag badge intent info minimal outlined oauth scope subscriptions write badge create a tier badge intent info minimal outlined oauth scope tiers write badge list tiers badge intent info minimal outlined oauth scope tiers read badge get tier badge intent info minimal outlined oauth scope tiers read badge update a tier badge intent info minimal outlined oauth scope tiers write badge update a tier badge intent info minimal outlined oauth scope tiers write badge create a webhook badge intent info minimal outlined oauth scope webhooks write badge list webhooks badge intent info minimal outlined oauth scope webhooks read badge get webhook badge intent info minimal outlined oauth scope webhooks read badge update webhook badge intent info minimal outlined oauth scope webhooks write badge delete a webhook badge intent info minimal outlined oauth scope webhooks write badge identify workspace badge intent info minimal outlined oauth scope identify read badge get publications by subscription email badge intent info minimal outlined oauth scope publications read badge login start trial get a demo light api reference subscriptions update subscription by id oauth scope subscriptions write copy page put https api beehiiv com v2 publications publicationid subscriptions subscriptionid put v2 publications publicationid subscriptions subscriptionid curl curl x put https api beehiiv com v2 publications pub_00000000 0000 0000 0000 000000000000 subscriptions sub_00000000 0000 0000 0000 000000000000 h authorization bearer token h content type application json d tier premium email email protected stripe_customer_id cus_12345abcde custom_fields name first name value bruce name last name value wayne try it 200 updated 1 2 data 3 id sub_00000000 0000 0000 0000 000000000000 4 email email protected 5 status active 6 created 1666800076 7 subscription_tier premium 8 subscription_premium_tier_names 9 premium 10 gold 11 12 utm_source twitter 13 utm_medium organic 14 utm_channel website 15 utm_campaign utm_campaign 16 utm_term 17 utm_content 18 referring_site https www blog com 19 referral_code referral_code 20 21 update a single subscription authentication authorization bearer bearer authentication of the form bearer token where token is your auth token path parameters publicationid string required format pub_ 0 9a fa f the prefixed id of the publication object subscriptionid string required format sub_ 0 9a fa f the prefixed id of the subscription object request this endpoint expects an object tier enum optional optional parameter to set the tier for this subscription allowed values free premium premium_tier_ids list of strings optional 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 premium_tiers list of strings optional 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 email string optional the new email address for the subscription stripe_customer_id string optional format cus_ 0 9a za z the stripe customer id of the subscription not required unsubscribe boolean optional a boolean value specifying whether to unsubscribe this subscription from the publication not required custom_fields list of objects optional an array of custom field objects to update show 3 properties complimentary_gift_id string optional format comp_access_ 0 9a fa f the prefixed id of a complimentary access object to apply to this subscription the complimentary access must belong to the same publication response ok data object the subscription object errors 400 bad request error 401 unauthorized error 404 not found error 429 too many requests error 500 internal server error was this page helpful yes no previous update subscription by id oauth scope subscriptions write next built with
|