Merge pull request 'feature/OVPAY-1126' (#2) from feature/OVPAY-1126 into develop

Reviewed-on: #2
This commit is contained in:
Bas Boterman 2024-11-07 12:42:22 +00:00
commit f45d83e3e3
2 changed files with 1010 additions and 98 deletions

View File

@ -671,6 +671,14 @@ paths:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: { "orderId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d" } example: { "orderId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d" }
delete:
summary: RFU. Delete an order.
description: Delete an order.
tags:
- Order
responses:
"200":
description: OK
/orders/{orderId}/statuses: /orders/{orderId}/statuses:
parameters: parameters:
- in: path - in: path
@ -1158,6 +1166,14 @@ paths:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: { "orderLineId": "ee82686a-a9f6-4888-b336-8e2aab6f4e13" } example: { "orderLineId": "ee82686a-a9f6-4888-b336-8e2aab6f4e13" }
delete:
summary: RFU. Delete an order line.
description: Delete an order line.
tags:
- Order Line
responses:
"200":
description: OK
/orderlines/{orderLineId}/accountingstatuses: /orderlines/{orderLineId}/accountingstatuses:
parameters: parameters:
- in: path - in: path
@ -1988,8 +2004,8 @@ paths:
required: true required: true
description: The id of the customer on the order. description: The id of the customer on the order.
post: post:
summary: P3. Add one or more addresses to a customer of the order. summary: P3. Add an addresses to a customer of the order.
description: Add one or more addresses to a customer of the order. description: Add an addresses to a customer of the order.
tags: tags:
- Customer - Customer
requestBody: requestBody:
@ -1998,17 +2014,15 @@ paths:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
[ {
{ "addressTypeId": 1,
"addressTypeId": 1, "street": "Kon. Julianaplein",
"street": "Kon. Julianaplein", "houseNumber": 10,
"houseNumber": 10, "houseNumberSuffix": "a",
"houseNumberSuffix": "a", "postalCode": "2595 AA",
"postalCode": "2595 AA", "city": "Den Haag",
"city": "Den Haag", "country": "NL",
"country": "NL", }
},
]
responses: responses:
"201": "201":
description: Created description: Created

File diff suppressed because it is too large Load Diff