diff --git a/src/openapi/orders/orders-crud.yaml b/src/openapi/orders/orders-crud.yaml index 992f6c1..216dcd6 100644 --- a/src/openapi/orders/orders-crud.yaml +++ b/src/openapi/orders/orders-crud.yaml @@ -158,7 +158,13 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", + "orderLineTerms": + [ + { + "orderLineTermsId": "fe354db7-12ad-4fc1-bc63-a704c4e0d91e", + "termsUrl": "generalTermsAndConditions.pdf", + }, + ], "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatus": @@ -315,7 +321,8 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", + "orderLineTerms": + [{ "termsUrl": "generalTermsAndConditions.pdf" }], "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatusId": 4, @@ -475,7 +482,13 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", + "orderLineTerms": + [ + { + "orderLineTermsId": "fe354db7-12ad-4fc1-bc63-a704c4e0d91e", + "termsUrl": "generalTermsAndConditions.pdf", + }, + ], "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatus": @@ -680,7 +693,8 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", + "orderLineTerms": + [{ "termsUrl": "generalTermsAndConditions.pdf" }], "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatusId": 4, @@ -903,7 +917,7 @@ paths: required: false description: The quantity of products for this order line. - in: query - name: terms + name: termsUrl schema: type: string example: generalTermsAndConditions.pdf @@ -1002,7 +1016,13 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", + "orderLineTerms": + [ + { + "orderLineTermsId": "fe354db7-12ad-4fc1-bc63-a704c4e0d91e", + "termsUrl": "generalTermsAndConditions.pdf", + }, + ], "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatus": @@ -1072,7 +1092,6 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatusId": 4,