DHIL-3364 - Added externalOrderId and externalOrderLineId.

This commit is contained in:
bboterm committed 2024-10-11 13:58:05 +02:00
1 parent d75990a34d
commit a7793e7da6
2 files changed
+432 -2

No files matched your search

+24
View File
@@ -13,6 +13,14 @@ paths:
summary: P1. Find orders.
description: Find orders.
parameters:
- in: query
name: externalOrderId
schema:
type: string
format: uuid
example: 26ce08bc-0443-465f-9cd2-a7143f33eed0
required: false
description: The order id in the external system.
- in: query
name: orderNumber
schema:
@@ -116,6 +124,7 @@ paths:
[
{
"orderId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d",
"externalOrderId": "bac3958b-804a-43e3-b5f7-0b0fffaae5b7",
"orderNumber": "123456",
"customerProfileId": 1337,
"totalAmount": 121,
@@ -143,6 +152,7 @@ paths:
[
{
"orderLineId": "7a7a9d1a-3fc8-4058-a28b-082860aaa311",
"externalOrderLineId": "f5fddff0-7fbd-4285-bccb-e584f431ea69",
"productId": 1,
"productName": "HTM Maandkorting 20%",
"productCode": "HTM-MND-20",
@@ -295,6 +305,7 @@ paths:
$ref: "#/components/schemas/unavailable"
example:
{
"externalOrderId": "bac3958b-804a-43e3-b5f7-0b0fffaae5b7",
"orderNumber": "123456",
"customerProfileId": 1337,
"totalAmount": 121,
@@ -312,6 +323,7 @@ paths:
"orderLines":
[
{
"externalOrderLineId": "f5fddff0-7fbd-4285-bccb-e584f431ea69",
"productId": 1,
"productName": "HTM Maandkorting 20%",
"productCode": "HTM-MND-20",
@@ -441,6 +453,7 @@ paths:
example:
{
"orderId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d",
"externalOrderId": "f5fddff0-7fbd-4285-bccb-e584f431ea69",
"orderNumber": "123456",
"customerProfileId": 1337,
"totalAmount": 121,
@@ -467,6 +480,7 @@ paths:
[
{
"orderLineId": "7a7a9d1a-3fc8-4058-a28b-082860aaa311",
"externalOrderLineId": "f5fddff0-7fbd-4285-bccb-e584f431ea69",
"productId": 1,
"productName": "HTM Maandkorting 20%",
"productCode": "HTM-MND-20",
@@ -683,6 +697,7 @@ paths:
$ref: "#/components/schemas/unavailable"
example:
{
"externalOrderLineId": "f5fddff0-7fbd-4285-bccb-e584f431ea69",
"productId": 1,
"productName": "HTM Maandkorting 20%",
"productCode": "HTM-MND-20",
@@ -857,6 +872,14 @@ paths:
example: 4ea492ff-8ffc-4a4e-901e-59f05e854285
required: false
description: The id of the order line.
- in: query
name: externalOrderLineId
schema:
type: string
format: uuid
example: 4e333615-6ecd-4b68-a4f8-4f66f6af9be1
required: false
description: The id of the order line in the external system.
- in: query
name: productId
schema:
@@ -999,6 +1022,7 @@ paths:
{
"orderLineId": "7a7a9d1a-3fc8-4058-a28b-082860aaa311",
"orderId": "7ec1c3ae-0112-4aaf-adb9-c2436234fec6",
"externalOrderLineId": "4e333615-6ecd-4b68-a4f8-4f66f6af9be1",
"productId": 1,
"productName": "HTM Maandkorting 20%",
"productCode": "HTM-MND-20",