Skip to content

Commit

Permalink
Add orderId to invoice (#1807)
Browse files Browse the repository at this point in the history
* Add orderId to Invoice.yaml

* Add orderId to StorefrontInvoice.yaml
  • Loading branch information
nanobash authored Feb 29, 2024
1 parent c7086f4 commit 3cbe398
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions openapi/components/schemas/Invoice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ properties:
readOnly: true
type: integer
x-basic: true
orderId:
description: ID of the order.
readOnly: true
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
type:
- 'string'
- 'null'
subscriptionId:
type: string
description: |-
Expand Down
7 changes: 7 additions & 0 deletions openapi/components/schemas/StorefrontInvoice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ properties:
readOnly: true
type: integer
x-basic: true
orderId:
description: ID of the order.
readOnly: true
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
type:
- 'string'
- 'null'
subscriptionId:
type: string
description: |-
Expand Down

0 comments on commit 3cbe398

Please sign in to comment.