deprecated
Update business
Path Parameters
- Type: stringFormat: uuididrequired
Business UUID
Body
application/json
- Type: objectaddress
Business address
- Type: stringcontact
Email Contact email
- Type: stringcontact
Full Name Contact full name
- Type: stringcontact
Phone Pattern: ^\+(?:[0-9]){6,14}[0-9]$Contact phone standard e164 format
- Type: stringdba
Doing business as
- Type: stringlegal
Name Legal business name
- enumtype
Business type
values- C
O R P O R A T I O N - S
O L E _ P R O P R I E T O R S H I P - P
A R T N E R S H I P
- Type: stringwebsite
Business website
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for put/businesses/{id}
curl https://api-sandbox.tryslatehq.com/businesses/123e4567-e89b-12d3-a456-426614174000 \
--request PUT \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_SECRET_TOKEN' \
--data '{
"legalName": "Acme Corp",
"type": "PARTNERSHIP",
"dba": "Acme",
"website": "https://acme.com",
"contactFullName": "John Doe",
"contactEmail": "john@acme.com",
"contactPhone": "+15551234567",
"address": {
"address1": "123 Main St",
"address2": null,
"city": "San Francisco",
"postalCode": "94105",
"country": "US",
"state": "CA"
}
}'
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalId": "biz_123",
"legalName": "Acme Corp",
"dba": "Acme",
"type": "PARTNERSHIP",
"website": "https://acme.com",
"address": {
"address1": "123 Main St",
"address2": null,
"city": "San Francisco",
"postalCode": "94105",
"country": "US",
"state": "CA"
},
"contact": {
"fullName": "John Doe",
"email": "john@acme.com",
"phone": "+15551234567"
}
}