From 25788e097658d88c0a130977acdce543af271576 Mon Sep 17 00:00:00 2001 From: Herald Date: Tue, 16 Jun 2026 12:01:37 +0200 Subject: [PATCH] added additional Query params for issuedVoucher CRUD --- src/openapi/products/purchased_products-crud.yaml | 14 ++++++++++++++ src/trip.json | 0 2 files changed, 14 insertions(+) create mode 100644 src/trip.json diff --git a/src/openapi/products/purchased_products-crud.yaml b/src/openapi/products/purchased_products-crud.yaml index 00ce1a6..c093198 100644 --- a/src/openapi/products/purchased_products-crud.yaml +++ b/src/openapi/products/purchased_products-crud.yaml @@ -1102,6 +1102,12 @@ paths: format: uuid example: 058a1af7-897f-45d5-b691-9cc9161e387f description: The id of the purchased product. + - in: query + name: productId + schema: + type: integer + example: 1 + description: The id of the product and the issuedVouchers related to it - in: query name: voucherCode schema: @@ -1117,6 +1123,14 @@ paths: explode: false required: false description: The moest recent status id of the voucher. + - in: query + name: orderBy + schema: + type: string + enum: [PurchasedProductCreatedOn, PurchasedProductLastUpdatedOn] + explode: false + required: false + description: The ordering of the issuedVouchers in the list responses: "200": description: OK diff --git a/src/trip.json b/src/trip.json new file mode 100644 index 0000000..e69de29