CRM CompaniesUpdate a company

Update a company

curl -X PATCH "https://api.talkturo.com/api/crm/companies/123e4567-e89b-12d3-a456-426614174000" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "John Doe",
  "website": "example_string",
  "industry": "example_string",
  "phone": "+1-555-0123",
  "address": "123 Main St"
}'
{
  "success": true,
  "company": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "John Doe",
    "website": "example_string",
    "industry": "example_string",
    "phone": "+1-555-0123",
    "address": "123 Main St"
  }
}
PATCH
/crm/companies/{id}
PATCH
Base URLstring

Target server for requests. Edit to use your own host.

API Key (cookie: sb-access-token)
sb-access-tokenstring
Required

Authenticated Talkturo web session cookie (Supabase httpOnly session). Browser clients typically send this automatically after sign-in. Related refresh cookies may also be present depending on the client.

Authenticated Talkturo web session cookie (Supabase httpOnly session). Browser clients typically send this automatically after sign-in. Related refresh cookies may also be present depending on the client.
path
idstring
Required

Company ID

Format: uuid
Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

path
parameterstring
Required

API Key for authentication. Authenticated Talkturo web session cookie (Supabase httpOnly session). Browser clients typically send this automatically after sign-in. Related refresh cookies may also be present depending on the client.

Path Parameters

Responses

successboolean
companyobject