---
title: "UpdateProprietorNameResponse"
url: "https://developer.pexa.co.uk/apis/workspace-v1-v1/versions/32819e5a-6411-493b-abe8-00b7c7ca6c77/schemas/UpdateProprietorNameResponse"
---

> Full API specification: https://developer.pexa.co.uk/apis/workspace-v1-v1/versions/32819e5a-6411-493b-abe8-00b7c7ca6c77.md

# UpdateProprietorNameResponse

Response for UPDATE_PROPRIETOR_NAME action. Returns the updated proprietor details after the Lodgement domain updated the proprietor.

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Workspace
  version: v1.3.0
servers:
  - url: https://api.pexa.co.uk
    description: API Gateway URL
components:
  schemas:
    UpdateProprietorNameResponse:
      type: object
      required:
        - proprietorId
        - type
      allOf:
        - type: object
          required:
            - action
          discriminator:
            propertyName: action
            mapping:
              UPDATE_PARTY_NAME: "#/components/schemas/UpdatePartyNameResponse"
              SET_AS_INCOMING_PROPRIETOR: "#/components/schemas/SetAsIncomingProprietorResponse"
              SET_AS_OUTGOING_PROPRIETOR: "#/components/schemas/SetAsOutgoingProprietorResponse"
              UPDATE_PROPRIETOR_NAME: "#/components/schemas/UpdateProprietorNameResponse"
              UPDATE_OUTGOING_PROPRIETOR_NAME: "#/components/schemas/UpdateOutgoingProprietorNameResponse"
          description: Response for title reconciliation actions
          properties:
            action:
              type: string
              description: The action that was performed
      description: >
        Response for UPDATE_PROPRIETOR_NAME action.

        Returns the updated proprietor details after the Lodgement domain
        updated the proprietor.
      properties:
        proprietorId:
          type: string
          format: uuid
          description: ID of the proprietor whose name was updated
        type:
          type: string
          description: Type of proprietor whose name was updated (INDIVIDUAL or
            ORGANISATION)
        proprietorDetails:
          type: object
          description: Updated proprietor details (type-specific fields)
          properties:
            forenames:
              type: string
              description: Updated forenames (INDIVIDUAL only)
            surname:
              type: string
              description: Updated surname (INDIVIDUAL only)
            organisationName:
              type: string
              description: Updated organisation name (ORGANISATION only)
            registrationNumber:
              type: string
              description: Updated registration number (ORGANISATION only)
```
