diff --git a/src/openapi/customers/customers-crud-v2.yaml b/src/openapi/customers/customers-crud-v2.yaml index 5fea95b..b15cea2 100644 --- a/src/openapi/customers/customers-crud-v2.yaml +++ b/src/openapi/customers/customers-crud-v2.yaml @@ -1011,24 +1011,12 @@ paths: schema: type: integer example: 2 - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/patchCustomerAddress" - examples: - updateAddressTypeId: - value: - address: - addressTypeId: 2 - required: true responses: "200": - description: Successfully modified a customer Address + description: Successfully deleted a customer Address content: application/json: - schema: - $ref: "#/components/schemas/patchCustomerProfileAddressResponse" + {} security: - default: [] x-auth-type: Application & Application User @@ -1652,6 +1640,25 @@ components: type: boolean addressType: type: integer + patchCustomerAddress: + type: object + properties: + street: + type: string + houseNumber: + type: integer + houseNumberSuffix: + type: string + postalCode: + type: string + city: + type: string + country: + type: string + isPreferred: + type: boolean + addressType: + type: integer customerPreferencesEntity: type: object properties: