added extra scenario

This commit is contained in:
Mirjam Herald 2025-03-05 14:31:39 +01:00
parent c712184e9f
commit 5864d43b0f

View File

@ -144,9 +144,41 @@ paths:
}
]
}
List containing one product which can only be sold by touchpointId 4 (called by touchpointId 4):
List containing one product which can only be sold by touchpointId 3 (called by touchpointId 4):
summary: List containing one product which can only be sold by touchpointId 3 (called by touchpointId 4)
description: Product is still returned (because touchpointId 3 is part of same retailer) but no price, as touchpointId 4 is not allowed to sell this product.
value:
{
"Entries": [
{
"productId": 49,
"productCode": null,
"productName": "HTM Regio Vrij",
"productDescription": "Voor een vast bedrag onbeperkt reizen met EBS, HTM en RET in het gekozen gebied in de regio Rotterdam Den Haag.",
"productCategory": {
"productCategoryId": 3,
"isTravelProduct": true,
"name": "Afgekocht reisrecht"
},
"tokenTypes": null,
"sellableTouchpointIds": [
3
],
"amountInclTax": null,
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
"productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina",
"_links": {
"get_details": {
"href": "https://api.integratielaag.nl/abt/touchpoint/2.0/products/49",
"method": "GET"
}
}
}
]
}
List containing one product which can be sold by touchpointId 3 and 4 (called by touchpointId 4):
summary: List containing one product which can be sold by touchpointId 3 and 4 (called by touchpointId 4)
description: Product is returned
value:
{
"Entries": [
@ -167,6 +199,7 @@ paths:
}
],
"sellableTouchpointIds": [
3,
4
],
"amountInclTax": 300,