From 3cbe398357e7e31a16310546db5084ada69831b9 Mon Sep 17 00:00:00 2001 From: Tornike Nanobashvili Date: Thu, 29 Feb 2024 16:34:09 +0400 Subject: [PATCH] Add orderId to invoice (#1807) * Add orderId to Invoice.yaml * Add orderId to StorefrontInvoice.yaml --- openapi/components/schemas/Invoice.yaml | 7 +++++++ openapi/components/schemas/StorefrontInvoice.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/openapi/components/schemas/Invoice.yaml b/openapi/components/schemas/Invoice.yaml index ecb0c377c8..c6ac6943c2 100644 --- a/openapi/components/schemas/Invoice.yaml +++ b/openapi/components/schemas/Invoice.yaml @@ -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: |- diff --git a/openapi/components/schemas/StorefrontInvoice.yaml b/openapi/components/schemas/StorefrontInvoice.yaml index 8537206420..f4753ed157 100644 --- a/openapi/components/schemas/StorefrontInvoice.yaml +++ b/openapi/components/schemas/StorefrontInvoice.yaml @@ -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: |-