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,17 +2014,15 @@ paths:
schema:
$ref: "#/components/schemas/unavailable"
example:
[
{
"addressTypeId": 1,
"street": "Kon. Julianaplein",
"houseNumber": 10,
"houseNumberSuffix": "a",
"postalCode": "2595 AA",
"city": "Den Haag",
"country": "NL",
},
]
{
"addressTypeId": 1,
"street": "Kon. Julianaplein",
"houseNumber": 10,
"houseNumberSuffix": "a",
"postalCode": "2595 AA",
"city": "Den Haag",
"country": "NL",
}
responses:
"201":
description: Created