Reworked SE purchasedproducts endpoints, added vouchers and device to TP order and updated order CRUD deviceId -> externalDeviceId #56

Merged
maxmartens merged 6 commits from features/OVPAY2294-vouchers-in-orders into develop 2026-03-29 17:07:39 +00:00
2 changed files with 1357 additions and 64 deletions
Showing only changes of commit f193a1204b - Show all commits

View File

@ -57,13 +57,13 @@ paths:
required: false required: false
description: The id of the touch point where the order was initiated. description: The id of the touch point where the order was initiated.
- in: query - in: query
name: deviceId name: externalDeviceId
schema: schema:
type: string type: string
format: uuid format: uuid
maxmartens marked this conversation as resolved Outdated

Volgens mag deze eraf als we de aanpassing hebben voor db naar string en niet uuid hebben gedaan.

Volgens mag deze eraf als we de aanpassing hebben voor db naar string en niet uuid hebben gedaan.
example: "7a28bd54-7ca9-499a-a722-d15ab858ab99" example: "7a28bd54-7ca9-499a-a722-d15ab858ab99"
required: false required: false
description: The id of the device used to place the order. description: The external id of the device used to place the order.
- in: query - in: query
name: languageId name: languageId
schema: schema:
@ -141,7 +141,7 @@ paths:
"touchPointId": 1, "touchPointId": 1,
"name": "Perplex" "name": "Perplex"
}, },
"deviceId": "42e77532-d831-41da-b07a-7edb9bb7f004", "externalDeviceId": "42e77532-d831-41da-b07a-7edb9bb7f004",
"language": "language":
{ {
"languageId": 1, "languageId": 1,
@ -374,7 +374,7 @@ paths:
"customerProfileId": 1337, "customerProfileId": 1337,
"totalAmount": 121, "totalAmount": 121,
"touchPointId": 1, "touchPointId": 1,
"deviceId": "b8ca9fdf-0bb9-4e49-b48d-41e395563377", "externalDeviceId": "b8ca9fdf-0bb9-4e49-b48d-41e395563377",
"languageId": 1, "languageId": 1,
"createdOn": "2024-03-22T09:00:00", "createdOn": "2024-03-22T09:00:00",
"order_OrderStatus": "order_OrderStatus":
@ -486,7 +486,7 @@ paths:
"touchPointId": 1, "touchPointId": 1,
"name": "Perplex" "name": "Perplex"
}, },
"deviceId": null, "externalDeviceId": null,
"language": "language":
{ {
"languageId": 1, "languageId": 1,
@ -659,7 +659,7 @@ paths:
example: example:
{ {
"customerProfileId": 1337, "customerProfileId": 1337,
"deviceId": "fe68e624-b75f-48ca-a179-d5f86a8ab7d5", "externalDeviceId": "fe68e624-b75f-48ca-a179-d5f86a8ab7d5",
"totalAmount": 121, "totalAmount": 121,
"languageId": 1, "languageId": 1,
"lastUpdatedOn": "2024-03-22T09:00:00", "lastUpdatedOn": "2024-03-22T09:00:00",

File diff suppressed because it is too large Load Diff