#Matt11-sub-update-api

1 messages · Page 1 of 1 (latest)

random mist
#

Hey, what do you mean by 'massive subscription update'?

scarlet raptor
#

Hi thanks! I need to call this API on a lot of users

#
Stripe::Subscription.update(
  'sub_EgZUEhxblf2fvP',
  {metadata: {order_id: '6735'}},
)
#

updating the cancel_at_period_end flag

random mist
#

Yep, there's no batch API for that. You'd need to loop through your subscription IDs and make the call for each

scarlet raptor
#

ok thank you!