API: Cannot patch subscriber: "Subscriber type premium is not valid for this newsletter." #32
-
Hi, I am trying to set a test subscriber to premium, in order to test conditional email content. However, the API call returns an HTTP 400: "Subscriber type premium is not valid for this newsletter." The newsletter is connected to Stripe, and a plan is set up (pay what you want). Side note: Before trying the API, I tried to gift a subscriber a paid subscription, but that subscriber remains in status "gifted". (No emails to that subscriber, no change of status.) What am I doing wrong? Can I make a subscriber a premium subscriber through the API? Or is "gifted" the best I can get without actually having the test subscriber enter payment details with Stripe?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yup, your understanding is exactly correct — you can't mark a subscriber as premium 'manually', that has to be governed by Stripe. You'll want to mark them as gifted instead. (I'll tweak the API response to make that more explicit!) |
Beta Was this translation helpful? Give feedback.
-
Thank you, @jmduke. |
Beta Was this translation helpful? Give feedback.
Yup, your understanding is exactly correct — you can't mark a subscriber as premium 'manually', that has to be governed by Stripe. You'll want to mark them as gifted instead.
(I'll tweak the API response to make that more explicit!)