added additional Query params for issuedVoucher CRUD

This commit is contained in:
Mirjam Herald 2026-06-16 12:01:37 +02:00
parent 90bb7c11b5
commit 25788e0976
2 changed files with 14 additions and 0 deletions

View File

@ -1102,6 +1102,12 @@ paths:
format: uuid format: uuid
example: 058a1af7-897f-45d5-b691-9cc9161e387f example: 058a1af7-897f-45d5-b691-9cc9161e387f
description: The id of the purchased product. 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 - in: query
name: voucherCode name: voucherCode
schema: schema:
@ -1117,6 +1123,14 @@ paths:
explode: false explode: false
required: false required: false
description: The moest recent status id of the voucher. 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: responses:
"200": "200":
description: OK description: OK

0
src/trip.json Normal file
View File