Skip to main content
PATCH
/
v0
/
business
/
{business_id}
Update a Business
curl --request PATCH \
  --url https://api.sandbox.getasset.com/v0/business/{business_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "New Roofing Pros",
  "status": "active",
  "onboarding_date": "2023-12-25",
  "external_id": "1234567890"
}
'
{
  "data": {
    "tenant_id": "<string>",
    "name": "<string>",
    "industry": "Roofing Contractors",
    "entries_start": "2023-11-07T05:31:56Z",
    "entity_type": "c-corp",
    "fiscal_year": "<string>",
    "external_id": "<string>",
    "id": "<string>",
    "status": "active",
    "onboarding_date": "2023-12-25",
    "plan": "managed"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getasset.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

business_id
string<biz_string>
required

The id of the business

Example:

"biz_GA6EG2qFxA97NZHtxeLPUy"

Body

application/json
name
string | null

The updated name of the Business

Maximum string length: 255
Example:

"New Roofing Pros"

status
enum<string> | null

The updated status of the Business

Available options:
active,
inactive
Example:

"active"

onboarding_date
string<date> | null

The date the business was onboarded

external_id
string | null

The updated external ID of the Business

Maximum string length: 255
Example:

"1234567890"

Response

Successful Response

data
BusinessPublic · object
required