---
title: "Update a Counterparty"
method: PUT
path: "/api/counterparties/counterparty/{id}"
tags: ["Counterparties"]
---

# Update a Counterparty

`PUT /api/counterparties/counterparty/{id}`

Updates an existing counterparty with partial data. Note: You cannot change the type (individual <-> business).

## Path parameters

- `id` string, uuid, required

## Headers

- `on-behalf-of` string

## Request body

- UpdateCounterpartyRequestBody
  - `counterparty` union — Partial update of counterparty information. Cannot change type (individual <-> business).
    - UpdateIndividualCounterpartyInfo
      - `email` string, email — Email address for the counterparty. Must be unique within the organization.
      - `firstName` string — The first name of the individual
      - `lastName` string — The last name(s) of the individual
      - `physicalAddress` PhysicalAddressVerification
        - `address1` string, required — Primary street address, including building number and street name
        - `address2` string — Secondary address line (apartment, suite, unit, floor, etc.)
        - `city` string, required — City or locality
        - `country` string, required — ISO 3166-1 alpha-2 country code
        - `postalCode` string, required — Postal code for the address
        - `subDivision` string, required — State or province. ISO 3166-2 subdivision code (minus the country prefix) for the state
      - `type` 'individual', required
    - UpdateBusinessCounterpartyInfo
      - `email` string, email — Email address for the counterparty. Must be unique within the organization.
      - `name` string
      - `physicalAddress` PhysicalAddressVerification
        - `address1` string, required — Primary street address, including building number and street name
        - `address2` string — Secondary address line (apartment, suite, unit, floor, etc.)
        - `city` string, required — City or locality
        - `country` string, required — ISO 3166-1 alpha-2 country code
        - `postalCode` string, required — Postal code for the address
        - `subDivision` string, required — State or province. ISO 3166-2 subdivision code (minus the country prefix) for the state
      - `type` 'business', required

## Response `200`

The updated counterparty

- union
  - IndividualCounterparty
    - `createdAt` string, required
    - `email` string, email
    - `firstName` string, required — The first name of the individual
    - `id` string, uuid, required
    - `lastName` string, required — The last name of the individual
    - `physicalAddress` PhysicalAddressInput, required
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `country` string, required — ISO 3166-1 alpha-2 country code. See: GET /utilities/countries/{fiatRailCode}
      - `state` string, required — State or province. ISO 3166-2 subdivision code (minus the country prefix) for the state. See: GET /utilities/countries/{fiatRailCode}
      - `zip` string, required
    - `type` 'individual', required
    - `updatedAt` string, required
  - BusinessCounterparty
    - `createdAt` string, required
    - `email` string, email
    - `id` string, uuid, required
    - `name` string, required
    - `physicalAddress` PhysicalAddressInput, required
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `country` string, required — ISO 3166-1 alpha-2 country code. See: GET /utilities/countries/{fiatRailCode}
      - `state` string, required — State or province. ISO 3166-2 subdivision code (minus the country prefix) for the state. See: GET /utilities/countries/{fiatRailCode}
      - `zip` string, required
    - `type` 'business', required
    - `updatedAt` string, required

## Other responses

- `401` — Unauthorized
- `403` — SignedAgreementRequiredException

---

[API](https://skmtc.net/muralpay/apis/mural-api.md) · [All operations](https://skmtc.net/muralpay/apis/mural-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/muralpay/mural-api/revisions/437d277f5948/schema)
