diff --git a/src/openapi/products/SE-products-SE.yaml b/src/openapi/products/SE-products-SE.yaml index c8cd23d..55f1f3f 100644 --- a/src/openapi/products/SE-products-SE.yaml +++ b/src/openapi/products/SE-products-SE.yaml @@ -65,7 +65,7 @@ paths: "productDescription": null, "productCategory": null, "tokenTypes": [], - "sellableTouchPointIds": [], + "sellableTouchpointIds": [], "amountInclTax": null, "imageReference": null, "productPageUrl": null, @@ -95,7 +95,7 @@ paths: "name": "Barcode" }, "tokenTypes": [], - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 1, 2 ], @@ -128,7 +128,7 @@ paths: "name": "Barcode" }, "tokenTypes": [], - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 3, 4 ], @@ -162,7 +162,7 @@ paths: }, "tokenTypes": [], "sellableTouchpointIds": [ - 4 + 3 ], "amountInclTax": null, "imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg", @@ -176,6 +176,44 @@ paths: } ] } + 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": [ + { + "productId": 126, + "productCode": null, + "productName": "HTM-30001", + "productDescription": "Reis met 20% korting op je betaalpas bij HTM.", + "productCategory": { + "productCategoryId": 1, + "isTravelProduct": true, + "name": "Kortingsabonnement" + }, + "tokenTypes": [ + { + "tokenTypeId": 1, + "name": "EMV" + } + ], + "sellableTouchpointIds": [ + 3, + 4 + ], + "amountInclTax": 300, + "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/abtserviceengine/2.0/products/126", + "method": "GET" + } + } + } + ] + } List containing multiple products (called by touchpointId 3): summary: List containing multiple products (called by touchpointId 3) description: Only products that have active SellingPeriods for touchpoint 3 and/or 4 (part of same retailer) are returned @@ -193,7 +231,7 @@ paths: "name": "Barcode" }, "tokenTypes": [], - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 3, 4 ], @@ -223,7 +261,7 @@ paths: "name": "EMV" } ], - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 3, 4 ], @@ -2095,7 +2133,7 @@ components: name: type: string example: EMV - sellableTouchPointIds: + sellableTouchpointIds: type: array items: type: integer diff --git a/src/openapi/products/SE-products-TP.yaml b/src/openapi/products/SE-products-TP.yaml index aa34da5..fe42ee4 100644 --- a/src/openapi/products/SE-products-TP.yaml +++ b/src/openapi/products/SE-products-TP.yaml @@ -65,7 +65,7 @@ paths: "productDescription": null, "productCategory": null, "tokenTypes": [], - "sellableTouchPointIds": [], + "sellableTouchpointIds": [], "amountInclTax": null, "imageReference": null, "productPageUrl": null, @@ -95,7 +95,7 @@ paths: "name": "Barcode" }, "tokenTypes": [], - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 1, 2 ], @@ -128,7 +128,7 @@ paths: "name": "Barcode" }, "tokenTypes": [], - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 3, 4 ], @@ -162,7 +162,7 @@ paths: }, "tokenTypes": [], "sellableTouchpointIds": [ - 4 + 3 ], "amountInclTax": null, "imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg", @@ -176,6 +176,44 @@ paths: } ] } + 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": [ + { + "productId": 126, + "productCode": null, + "productName": "HTM-30001", + "productDescription": "Reis met 20% korting op je betaalpas bij HTM.", + "productCategory": { + "productCategoryId": 1, + "isTravelProduct": true, + "name": "Kortingsabonnement" + }, + "tokenTypes": [ + { + "tokenTypeId": 1, + "name": "EMV" + } + ], + "sellableTouchpointIds": [ + 3, + 4 + ], + "amountInclTax": 300, + "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/126", + "method": "GET" + } + } + } + ] + } List containing multiple products (called by touchpointId 3): summary: List containing multiple products (called by touchpointId 3) description: Only products that have active SellingPeriods for touchpoint 3 and/or 4 (part of same retailer) are returned @@ -193,7 +231,7 @@ paths: "name": "Barcode" }, "tokenTypes": [], - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 3, 4 ], @@ -223,7 +261,7 @@ paths: "name": "EMV" } ], - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 3, 4 ], @@ -2095,7 +2133,7 @@ components: name: type: string example: EMV - sellableTouchPointIds: + sellableTouchpointIds: type: array items: type: integer diff --git a/src/openapi/products/products-crud-v2.2.yaml b/src/openapi/products/products-crud-v2.2.yaml index bea0651..dfdd8f1 100644 --- a/src/openapi/products/products-crud-v2.2.yaml +++ b/src/openapi/products/products-crud-v2.2.yaml @@ -74,7 +74,7 @@ paths: "name": "EMV" } ], - "sellableTouchPointIds": null, + "sellableTouchpointIds": null, "amountInclTax": null, "imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg", "productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina" @@ -98,7 +98,7 @@ paths: "name": "Barcode" }, "tokenTypes": null, - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 1, 2, 3, @@ -127,7 +127,7 @@ paths: "name": "Barcode" }, "tokenTypes": null, - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 3, 4 ], @@ -159,7 +159,7 @@ paths: "name": "EMV" } ], - "sellableTouchPointIds": null, + "sellableTouchpointIds": null, "amountInclTax": null, "imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg", "productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina" @@ -175,7 +175,7 @@ paths: "name": "Barcode" }, "tokenTypes": null, - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 1, 2, 3, @@ -201,7 +201,7 @@ paths: "name": "EMV" } ], - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 1, 2 ], @@ -225,7 +225,7 @@ paths: "name": "EMV" } ], - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 3, 4 ], @@ -252,7 +252,7 @@ paths: "name": "Barcode" }, "tokenTypes": null, - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 3, 4 ], @@ -276,7 +276,7 @@ paths: "name": "EMV" } ], - "sellableTouchPointIds": [ + "sellableTouchpointIds": [ 3, 4 ], @@ -2126,7 +2126,7 @@ components: name: type: string example: EMV - sellableTouchPointIds: + sellableTouchpointIds: type: array items: type: integer