#usmanparwaz
1 messages · Page 1 of 1 (latest)
Hi there, so you want to cancel the subscription schedule and create a new one?
no,
i want to update scheduled subscription
you can say i want to reschedule start date of subscription
here you can see reschedule start date option
i want to do that via API
https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases-start_date sure you can set the start_date to now for the 1st phase of your subscription schedule
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok let me try and then let you know
hi
if i would change phases.end_date then it would be rescheduled to some other date
end_date sets the date at which this phase of the subscription schedule ends
is this schedule refering to trail or to subscription
another questions is these startdate and enddate are in which form
now end date is like 1701409045
is it in mili seconds ?
it refers to the phase (https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That's the epoch timestamp, which is the number of seconds that have elapsed since January 1, 1970