Skip to main content
PATCH
/
v1
/
baas
/
entities
/
{entity_id}
Update Entity
curl --request PATCH \
  --url https://api-sandbox.y.uno/v1/baas/entities/{entity_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": {},
  "address": {},
  "entity_detail": {}
}
'
{
  "id": "ent_660e8400-e29b-41d4-a716-446655440000",
  "account_id": "550e8400-e29b-41d4-a716-446655440000",
  "merchant_entity_id": "merchant_user_12345",
  "national_entity": "INDIVIDUAL",
  "phone": {
    "country_code": "+1",
    "number": "2025559999"
  },
  "address": {
    "address_line_1": "456 Oak Ave",
    "city": "San Francisco",
    "state": "CA",
    "zip_code": "94103",
    "country": "US"
  },
  "entity_detail": {
    "individual": {
      "first_name": "Dee",
      "last_name": "Hock",
      "email": "john.updated@example.com",
      "date_of_birth": "1990-01-15"
    }
  },
  "created_at": "2026-02-01T10:00:00Z",
  "updated_at": "2026-02-01T12:30:00Z"
}

Path parameters

entity_id
string
required
The unique identifier of the entity to update.

Body

All fields are optional. Only include the fields you want to update.
phone
object
Updated phone details with country_code and number.
address
object
Updated address details.
entity_detail
object
Updated individual or business details.

Response

Returns the updated entity object with the same schema as Get Entity.
{
  "id": "ent_660e8400-e29b-41d4-a716-446655440000",
  "account_id": "550e8400-e29b-41d4-a716-446655440000",
  "merchant_entity_id": "merchant_user_12345",
  "national_entity": "INDIVIDUAL",
  "phone": {
    "country_code": "+1",
    "number": "2025559999"
  },
  "address": {
    "address_line_1": "456 Oak Ave",
    "city": "San Francisco",
    "state": "CA",
    "zip_code": "94103",
    "country": "US"
  },
  "entity_detail": {
    "individual": {
      "first_name": "Dee",
      "last_name": "Hock",
      "email": "john.updated@example.com",
      "date_of_birth": "1990-01-15"
    }
  },
  "created_at": "2026-02-01T10:00:00Z",
  "updated_at": "2026-02-01T12:30:00Z"
}