Fix productGroupMetadata in examples

This commit is contained in:
Max Martens 2025-02-10 17:12:54 +01:00
parent 5fab4e8dcc
commit d87b3bb381

View File

@ -253,7 +253,7 @@ paths:
All details (that the calling touchpoint is allowed to see) for the 90% Discount F&F pilot product.\ All details (that the calling touchpoint is allowed to see) for the 90% Discount F&F pilot product.\
Even though this product has sellingPeriods for multiple touchpoints, only the currently active sellingPeriod and price for touchpointId 3 are returned. Even though this product has sellingPeriods for multiple touchpoints, only the currently active sellingPeriod and price for touchpointId 3 are returned.
This product has no child products, so its `productVariants` tree only has one layer of depth. This product has no child products, so its `productVariants` array is empty.
value: value:
{ {
"productId": 24, "productId": 24,
@ -500,7 +500,19 @@ paths:
"productCode": "HTM-30001-ML", "productCode": "HTM-30001-ML",
"gboPackageTemplateId": "30001", "gboPackageTemplateId": "30001",
"tapConnectProductCode": null, "tapConnectProductCode": null,
"productGroupMetadata": null, "productGroupMetadata": {
"productGroupMetadataId": "WIP",
"productGroupCode": "WIP",
"department": "WIP",
"costCenter": "WIP",
"costType": "WIP",
"description": "Work in Progress - will follow later, when FIKO is implemented",
"user": "WIP",
"documentCode": "WIP",
"timestampUpdated": "2024-09-03T15:07:53.470+00:00",
"validFrom": "2024-08-01T00:00:00.000+00:00",
"validUntil": "2025-08-01T00:00:00.000+00:00"
},
"productName": "HTM 20% Korting (losse maand)", "productName": "HTM 20% Korting (losse maand)",
"productDescription": "Reis een maand lang met 20% korting op je betaalpas bij HTM.", "productDescription": "Reis een maand lang met 20% korting op je betaalpas bij HTM.",
"validityPeriod": { "validityPeriod": {
@ -623,14 +635,14 @@ paths:
"gboPackageTemplateId": "30001", "gboPackageTemplateId": "30001",
"tapConnectProductCode": null, "tapConnectProductCode": null,
"productGroupMetadata": { "productGroupMetadata": {
"productGroupMetadataId": "501B17EF-36C4-4039-B92C-6517969B464E", "productGroupMetadataId": "WIP",
"productGroupCode": "PG001", "productGroupCode": "WIP",
"department": "Electronics", "department": "WIP",
"costCenter": "CC101", "costCenter": "WIP",
"costType": "TypeA", "costType": "WIP",
"description": "Group for electronic products", "description": "Work in Progress - will follow later, when FIKO is implemented",
"user": "2024-09-03T15:07:53.470+00:00", "user": "WIP",
"documentCode": "DOC001", "documentCode": "WIP",
"timestampUpdated": "2024-09-03T15:07:53.470+00:00", "timestampUpdated": "2024-09-03T15:07:53.470+00:00",
"validFrom": "2024-08-01T00:00:00.000+00:00", "validFrom": "2024-08-01T00:00:00.000+00:00",
"validUntil": "2025-08-01T00:00:00.000+00:00" "validUntil": "2025-08-01T00:00:00.000+00:00"