#Matt11-sub-update-api
1 messages · Page 1 of 1 (latest)
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
Yep, there's no batch API for that. You'd need to loop through your subscription IDs and make the call for each
ok thank you!