deprecated

Update business

Path Parameters
  • id
    Type: stringFormat: uuid
    required

    Business UUID

Body
application/json
  • address
    Type: object

    Business address

  • contactEmail
    Type: string

    Contact email

  • contactFullName
    Type: string

    Contact full name

  • contactPhone
    Type: string Pattern: ^\+(?:[0-9]){6,14}[0-9]$

    Contact phone standard e164 format

  • dba
    Type: string

    Doing business as

  • legalName
    Type: string

    Legal business name

  • type
    enum

    Business type

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

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