OVPAY-2442 - Nested product entity for GET /voucherdefinitions.

This commit is contained in:
Bas Boterman 2026-02-13 12:42:30 +01:00
parent 5e2b646a30
commit a71aa2e4df

View File

@ -48,13 +48,13 @@ paths:
No products / Empty list: No products / Empty list:
summary: No products / Empty list summary: No products / Empty list
description: No products description: No products
value: { "Entries": [] } value: { "voucherDefinitions": [] }
List containing one voucher definition (called by touchpointId 1001): List containing one voucher definition (called by touchpointId 1001):
summary: List containing one voucher definition (called by touchpointId 10010011) summary: List containing one voucher definition (called by touchpointId 10010011)
description: TODO description: TODO
value: value:
{ {
"Entries": "voucherDefinitions":
[ [
{ {
"productId": 1002, "productId": 1002,
@ -72,7 +72,13 @@ paths:
"isTravelProduct": false, "isTravelProduct": false,
"name": "Voucher", "name": "Voucher",
}, },
"requiredProducts": [2], "requiredProducts": [
{
"productId": 126,
"productName": "HTM-30001",
"productDescription": "Reis met 20% korting op je betaalpas bij HTM.",
},
],
"mandatoryCustomerDataItems": "mandatoryCustomerDataItems":
[ [
{ {