update_business
PATCH /v1/businesses/{id}: changes the fields sent.
Changes the fields sent. In metadata, null removes a key. contacts replaces the list. monitoring replaces the schedule, and null stops it. Changing a screened field, such as legal_name, screens it again. To change addresses, people, corporate owners or registrations, use their own endpoints.
Request body
application/json
| Field | Type | Description |
|---|---|---|
legal_name | string | |
external_id | string | Your id for the business. Unique among your businesses. |
trade_names | array of string | |
entity_type | llc, corporation, partnership, sole_proprietorship, nonprofit, trust, government, other | |
formation | object | Where and when the business says it was formed. |
contacts | array of object | Sending it replaces the list. |
website | string | |
description | string | |
industry | string | |
country | string | ISO 3166-1 alpha-2. |
metadata | object | Your own data, up to 16 KB. |
monitoring | object or null | Screens again every |
Where and when the business says it was formed.
| Field | Type | Description |
|---|---|---|
jurisdiction | object | |
date | string |
| Field | Type | Description |
|---|---|---|
countryrequired | string | ISO 3166-1 alpha-2, such as |
state | string | The ISO 3166-2 subdivision code without the country, such as |
| Field | Type | Description |
|---|---|---|
typerequired | tel, email | |
valuerequired | string | A phone number in international form ( |
Screens again every interval_days, for the kinds of each part. Each run is priced as any screening. Nothing runs while the business is rejected, closed or deleted.
| Field | Type | Description |
|---|---|---|
interval_daysrequired | integer | |
business | array of string | |
people | array of string | |
corporate_owners | array of string | |
addresses | array of string | |
next_run_at | string |
Responses
The business.
| Status | Type and when |
|---|---|
400 |
|
401 |
|
404 |
|
Every error has the same shape; see Errors.
Examples
curl -X PATCH 'https://api.finic.ai/v1/businesses/string' \ -H "Authorization: Bearer $FINIC_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "website": "example.com", "metadata": { "tier": "gold" }}'{ "legal_name": "string", "external_id": "string", "trade_names": [ "string" ], "entity_type": "llc", "formation": { "jurisdiction": { "country": "string", "state": "string" }, "date": "2019-08-24" }, "contacts": [ { "type": "tel", "value": "string" } ], "website": "string", "description": "string", "industry": "string", "country": "string", "metadata": {}, "monitoring": { "interval_days": 1, "business": [ "string" ], "people": [ "string" ], "corporate_owners": [ "string" ], "addresses": [ "string" ], "next_run_at": "2019-08-24T14:15:22Z" }, "id": "string", "status": "pending", "screenings": { "property1": { "id": "string", "state": "pending", "reason": "string" }, "property2": { "id": "string", "state": "pending", "reason": "string" } }, "verification": { "id": "string", "business_id": "string", "status": "pending", "outcome": "approved", "score": 0, "reasons": [ {} ], "checks": [ { "part": "business", "kind": "string", "subject_type": "string", "subject_id": "string", "required": true } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z" }, "possible_duplicates": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}