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