You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/billing/v2beta1/api.py
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -438,7 +438,10 @@ async def list_discounts(
438
438
) ->ListDiscountsResponse:
439
439
"""
440
440
List discounts.
441
-
List all discounts for your organization and usable categories, products, offers, references, regions and zones where the discount can be applied.
441
+
List all discounts for your Organization and usable categories, products, offers, references, regions and zones where the discount can be applied. As a reseller:
442
+
- If you do not specify an `organization_id` you will list the discounts applied to your own Organization and your customers
443
+
- If you indicate your `organization_id` you will list only the discounts applied to your Organization
444
+
- If you indicate `the organization_id` of one of your customers, you will list the discounts applied to their Organization.
442
445
:param order_by: Order discounts in the response by their description.
443
446
:param page: Positive integer to choose the page to return.
444
447
:param page_size: Positive integer lower or equal to 100 to select the number of items to return.
List all discounts for your organization and usable categories, products, offers, references, regions and zones where the discount can be applied.
482
+
List all discounts for your Organization and usable categories, products, offers, references, regions and zones where the discount can be applied. As a reseller:
483
+
- If you do not specify an `organization_id` you will list the discounts applied to your own Organization and your customers
484
+
- If you indicate your `organization_id` you will list only the discounts applied to your Organization
485
+
- If you indicate `the organization_id` of one of your customers, you will list the discounts applied to their Organization.
480
486
:param order_by: Order discounts in the response by their description.
481
487
:param page: Positive integer to choose the page to return.
482
488
:param page_size: Positive integer lower or equal to 100 to select the number of items to return.
Copy file name to clipboardExpand all lines: scaleway/scaleway/billing/v2beta1/api.py
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -438,7 +438,10 @@ def list_discounts(
438
438
) ->ListDiscountsResponse:
439
439
"""
440
440
List discounts.
441
-
List all discounts for your organization and usable categories, products, offers, references, regions and zones where the discount can be applied.
441
+
List all discounts for your Organization and usable categories, products, offers, references, regions and zones where the discount can be applied. As a reseller:
442
+
- If you do not specify an `organization_id` you will list the discounts applied to your own Organization and your customers
443
+
- If you indicate your `organization_id` you will list only the discounts applied to your Organization
444
+
- If you indicate `the organization_id` of one of your customers, you will list the discounts applied to their Organization.
442
445
:param order_by: Order discounts in the response by their description.
443
446
:param page: Positive integer to choose the page to return.
444
447
:param page_size: Positive integer lower or equal to 100 to select the number of items to return.
@@ -476,7 +479,10 @@ def list_discounts_all(
476
479
) ->List[Discount]:
477
480
"""
478
481
List discounts.
479
-
List all discounts for your organization and usable categories, products, offers, references, regions and zones where the discount can be applied.
482
+
List all discounts for your Organization and usable categories, products, offers, references, regions and zones where the discount can be applied. As a reseller:
483
+
- If you do not specify an `organization_id` you will list the discounts applied to your own Organization and your customers
484
+
- If you indicate your `organization_id` you will list only the discounts applied to your Organization
485
+
- If you indicate `the organization_id` of one of your customers, you will list the discounts applied to their Organization.
480
486
:param order_by: Order discounts in the response by their description.
481
487
:param page: Positive integer to choose the page to return.
482
488
:param page_size: Positive integer lower or equal to 100 to select the number of items to return.
0 commit comments