Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 101
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-1720084d65e39f50455fe3a8756afc68fedf57306a727f92e4d020c28878df87.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-ac2f736602bc631b92de358a7edb395cf53ed506b2cb3d0494fffa31be9e2d9f.yml
6 changes: 4 additions & 2 deletions src/orb/resources/subscriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,8 @@ def schedule_plan_change(
billing cycle alignment.

change_date: The date that the plan change should take effect. This parameter can only be
passed if the `change_option` is `requested_date`.
passed if the `change_option` is `requested_date`. If a date with no time is
passed, the plan change will happen at midnight in the customer's timezone.

coupon_redemption_code: Redemption code to be used for this subscription. If the coupon cannot be found
by its redemption code, or cannot be redeemed, an error response will be
Expand Down Expand Up @@ -3541,7 +3542,8 @@ async def schedule_plan_change(
billing cycle alignment.

change_date: The date that the plan change should take effect. This parameter can only be
passed if the `change_option` is `requested_date`.
passed if the `change_option` is `requested_date`. If a date with no time is
passed, the plan change will happen at midnight in the customer's timezone.

coupon_redemption_code: Redemption code to be used for this subscription. If the coupon cannot be found
by its redemption code, or cannot be redeemed, an error response will be
Expand Down
4 changes: 3 additions & 1 deletion src/orb/types/subscription_schedule_plan_change_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@ class SubscriptionSchedulePlanChangeParams(TypedDict, total=False):
change_date: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")]
"""The date that the plan change should take effect.

This parameter can only be passed if the `change_option` is `requested_date`.
This parameter can only be passed if the `change_option` is `requested_date`. If
a date with no time is passed, the plan change will happen at midnight in the
customer's timezone.
"""

coupon_redemption_code: Optional[str]
Expand Down