Skip to content

Commit

Permalink
Add expand param to Storefront rich billing portals (#1779)
Browse files Browse the repository at this point in the history
* Add expand param to Storefront rich billing portals

* Add subscription

* Update openapi/components/schemas/StorefrontRichBillingPortal.yaml

Co-authored-by: Alexander Shkarpetin <[email protected]>

---------

Co-authored-by: Alexander Shkarpetin <[email protected]>
  • Loading branch information
XaosSintez and ashkarpetin authored Feb 7, 2024
1 parent 703486e commit d0a1f80
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions openapi/components/schemas/StorefrontRichBillingPortal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,10 @@ properties:
$ref: ./UpdatedTime.yaml
_links:
$ref: ./SelfLink.yaml
_embedded:
type: object
description: Embedded objects that are requested by the `expand` query parameter.
readOnly: true
properties:
subscription:
type: object
2 changes: 2 additions & 0 deletions openapi/paths/storefront/rich-billing-portals@{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ get:
x-sdk-operation-name: get
security: []
description: Retrieves a rich billing portal.
parameters:
- $ref: ../../components/parameters/collectionExpand.yaml
responses:
'200':
description: Billing portal retrieved.
Expand Down

0 comments on commit d0a1f80

Please sign in to comment.