cURL
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" } '
{ "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" } }
The access token received from the authorization server in the OAuth 2.0 flow.
The id of the business
"biz_GA6EG2qFxA97NZHtxeLPUy"
The updated name of the Business
255
"New Roofing Pros"
The updated status of the Business
active
inactive
"active"
The date the business was onboarded
Successful Response
Show child attributes