diff --git a/src/openapi/customers/customers-crud-v2.yaml b/src/openapi/customers/customers-crud-v2.yaml index 0ff3cf3..22538fa 100644 --- a/src/openapi/customers/customers-crud-v2.yaml +++ b/src/openapi/customers/customers-crud-v2.yaml @@ -864,7 +864,7 @@ paths: patch: tags: - Customer - summary: Modify a customer element + summary: Modify a customer debtorStatus description: >- parameters: @@ -880,9 +880,30 @@ paths: schema: $ref: "#/components/schemas/customersEntity" examples: - customer: + customer debtorStatus: value: debtorStatusId: 2 + update full person: + value: + person: { + birthname: "Jan", + surname: "Jansen", + prefix: "de", + suffix: "jr", + dateOfBirth: "1970-01-01", + emailAddress: "TEST@TEST1.NL" + } + update completeEntity: + value: + debtorStatusId: 2 + person: { + birthname: "Jan", + surname: "Jansen", + prefix: "de", + suffix: "jr", + dateOfBirth: "1970-01-01", + emailAddress: "TEST@TEST1.NL" + } required: true responses: 201: @@ -1065,10 +1086,15 @@ paths: schema: $ref: "#/components/schemas/patchCustomerAddress" examples: - updateAddressTypeId: + fullAddress: value: address: - addressTypeId: 2 + street: Sesamstraat + houseNumber: 1 + houseNumberSuffix: A + postalCode: 1234 AB + city: Den Haag + country: NL required: true responses: 200: @@ -1161,7 +1187,14 @@ paths: application/json: schema: $ref: "#/components/schemas/phoneEntity" - examples: + examples: + updateFullPhoneEntity: + value: + phone: + phoneTypeId: 2 + number: 0701112233 + countryCode: 0031 + isPreferred: false updatePhoneTypeId: value: phone: @@ -1424,6 +1457,13 @@ paths: schema: $ref: "#/components/schemas/ovPayTokenEntity" examples: + updateFullToken: + value: + ovpaytoken: + alias: "ING pas mobiel" + tokenStatusId: 1 + replacedByTokenId: 8 + lastdigits: 4563 updateTokenAlias: value: ovpaytoken: @@ -1726,54 +1766,6 @@ paths: - default: [] x-auth-type: Application & Application User x-throttling-tier: Unlimited - /billingInformations/{billingInformationId}: - patch: - tags: - - Billing Information - summary: Update a billing information - description: >- - - parameters: - - name: billingInformationId - in: path - required: true - schema: - type: integer - example: 1 - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/billingInformationEntity" - examples: - updateBillingInformationAlias: - value: - billingInformation: - alias: "Mijn rekening details" - updateBillingInformation: - value: - billingInformation: - alias: "Mijn rekening details" - iban: "NL06RABO8902022560" - required: true - responses: - 200: - description: Successfully updated a customer billing information - content: - application/json: - example: - { - "billingInformationId": 1, - "customerProfileId": 1, - "iban": "NL06RABO8902022560", - "ascription": "J. Doe", - "alias": "Mijn rekening details", - "created": "2024-03-22T08:55:00", - } - security: - - default: [] - x-auth-type: Application & Application User - x-throttling-tier: Unlimited /directdebitmandates: get: tags: