Skip to main content
PATCH
Update an entity

Authorizations

api-key
string
header
required

Path Parameters

entityId
string
required

An entity id (ent_) or the sentinel me (the partner's sole entity).

Body

application/json

All fields optional; only supplied fields are updated. The compliance-sensitive fields legalName, legalAddress and taxInfo are immutable once the entity is created; supplying any of them returns a 400.

name
string
phoneNumber
string
businessType
enum<string>
Available options:
partnership,
sole-proprietorship,
llc,
corporation,
trust,
non-profit,
municipality
industry
object
contact
object

Organization-level point of contact (a person). First and last name must be at least 2 characters and contain only letters, spaces, hyphens, dots or commas.

website
string
description
string
address
object
externalId
string

Your own unique identifier for the resource. Unique per partner per resource type (reusing one returns 409 DUPLICATE_EXTERNAL_ID). Distinct from the Idempotency-Key header, which dedupes the request rather than identifying the resource.

Maximum string length: 255
Pattern: ^[A-Za-z0-9_-]+$
metadata
object

Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 50 keys; each key 1 to 40 chars and may not contain square brackets ([ ], reserved for the metadata[key] filter); value ≤100 chars. Filterable via metadata[key].

owner
object

The account owner's personal details.

Response

The updated entity.

id
string
required

Opaque entity id (ent_)

type
enum<string>
required
Available options:
business
externalId
string
metadata
object

Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 50 keys; each key 1 to 40 chars and may not contain square brackets ([ ], reserved for the metadata[key] filter); value ≤100 chars. Filterable via metadata[key].

createdAt
string<date-time>
updatedAt
string<date-time>
name
string
businessType
string
taxInfo
object
phoneNumber
string
contact
object

Contact as returned in responses; fields may be absent when the stored record is incomplete.

website
string
description
string
address
object

Address as returned in responses; fields may be absent when the stored record is incomplete.

Address as returned in responses; fields may be absent when the stored record is incomplete.

industry
object
owner
object