deprecated
Create business
Creates a new business under the partner organization.
Body
required
application/json
- Type: stringexternal
Id requiredPartner-defined business identifier
- Type: object nullableaddress
Business address
- Type: object nullablecontact
Business contact information
- Type: string nullabledba
Doing business as
- Type: string nullablelegal
Name Legal business name
- enum nullabletype
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: string nullablewebsite
Business website
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/businesses
curl https://api-sandbox.tryslatehq.com/businesses \
--request POST \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_SECRET_TOKEN' \
--data '{
"externalId": "biz_123",
"legalName": "Acme Corp",
"dba": "Acme",
"website": "https://acme.com",
"type": "PARTNERSHIP",
"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"
}
}'
{
"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"
}
}