#piq9117
1 messages · Page 1 of 1 (latest)
Hi 👋
What items field are you referring to? The SubscriptionSchedule object does not have a property called items
https://stripe.com/docs/api/subscription_schedules/object
the items field under phases
looks like i found it under subscription_schedule_phase_configuration:
required:
- add_invoice_items
- end_date
- items
- proration_behavior
- start_date
The phases.items parameter was added in API version 2020-08-27.
https://stripe.com/docs/upgrades#2020-08-27
The request you made to create this Subscription Schedule was pinned to API version 2019-08-14
https://dashboard.stripe.com/test/logs/req_wSQczYoEGjgcw4
Previous to the API revision this information was found in phases.plans which is returned by the API when you created the Subscription Schedule
😮 i didn't know about the pinned version. so if i pin it to the latest one, i should see this field?
It's the default API version for the account that made the request
But upgrading API versions is a serious endeavor and not to be taken lightly we only publish new versions for breaking changes.
uh oh. okay. thanks for the heads up. this is the docs for it right? https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api
But if you were tying to test this out, you can specify the API version for a single request
https://stripe.com/docs/api/versioning
Yes that's a good doc to use
alright. thanks. that answers my question 🫡