Add address as single entity to order customer.

This commit is contained in:
Bas Boterman 2024-11-07 10:36:13 +01:00
parent e242e4db54
commit 989b47a2d1

View File

@ -2004,8 +2004,8 @@ paths:
required: true
description: The id of the customer on the order.
post:
summary: P3. Add one or more addresses to a customer of the order.
description: Add one or more addresses to a customer of the order.
summary: P3. Add an addresses to a customer of the order.
description: Add an addresses to a customer of the order.
tags:
- Customer
requestBody:
@ -2014,7 +2014,6 @@ paths:
schema:
$ref: "#/components/schemas/unavailable"
example:
[
{
"addressTypeId": 1,
"street": "Kon. Julianaplein",
@ -2023,8 +2022,7 @@ paths:
"postalCode": "2595 AA",
"city": "Den Haag",
"country": "NL",
},
]
}
responses:
"201":
description: Created