deprecated

Create business

Creates a new business under the partner organization.

Body
required
application/json
  • externalId
    Type: string
    required

    Partner-defined business identifier

  • address
    Type: object nullable

    Business address

  • contact
    Type: object nullable

    Business contact information

  • dba
    Type: string nullable

    Doing business as

  • legalName
    Type: string nullable

    Legal business name

  • type
    enum nullable

    Business type

    values
    • CORPORATION
    • SOLE_PROPRIETORSHIP
    • PARTNERSHIP
  • website
    Type: string nullable

    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"
  }
}