PUT
/
v1
/
accounts
/
{id}
curl --request PUT \
  --url https://platform.thena.ai/v1/accounts/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "description": "<string>",
  "source": "hubspot",
  "accountOwnerId": "USER123",
  "logo": "https://example.com/logo.png",
  "status": "STATUS123",
  "classification": "CLASSIFICATION123",
  "health": "HEALTH123",
  "industry": "INDUSTRY123",
  "secondaryDomain": "example.com",
  "annualRevenue": 1000000,
  "employees": 100,
  "website": "https://example.com",
  "billingAddress": "123 Main St, Town, State, USA 12345",
  "shippingAddress": "123 Main St, Town, State, USA 12345",
  "customFieldValues": [
    {}
  ],
  "addExistingUsersToAccountContacts": true,
  "metadata": {},
  "name": "Example",
  "primaryDomain": "example.com"
}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "source": "hubspot",
  "logo": "<string>",
  "statusId": "<string>",
  "status": "<string>",
  "statusConfiguration": {},
  "classificationId": "<string>",
  "classification": "<string>",
  "classificationConfiguration": {},
  "healthId": "<string>",
  "health": "<string>",
  "healthConfiguration": {},
  "industryId": "<string>",
  "industry": "<string>",
  "industryConfiguration": {},
  "primaryDomain": "<string>",
  "secondaryDomain": "<string>",
  "accountOwner": "<string>",
  "accountOwnerId": "<string>",
  "accountOwnerEmail": "<string>",
  "accountOwnerAvatarUrl": "<string>",
  "annualRevenue": 123,
  "employees": 123,
  "website": "<string>",
  "billingAddress": "<string>",
  "shippingAddress": "<string>",
  "customFieldValues": [
    "<string>"
  ],
  "metadata": {},
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

x-api-key
string
header
required

Enter your API key

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

Operation successful

The response is of type object.