PATCH
/
api
/
2023-01
/
companies
/
{id}
curl --request PATCH \
  --url https://api.buildr.com/api/2023-01/companies/{id} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "company": {
    "name": "ACME Corp.",
    "description": "A long time partner",
    "phone": "555-555-5555",
    "website": "https://www.example.com",
    "address": {
      "street_address": "123 Main St",
      "street_address2": "Apt 1",
      "city": "Los Angeles",
      "state": "CA",
      "zip": "90001",
      "country": "US"
    },
    "company_category_id": "773",
    "industry_id": "785"
  }
}'
{
  "company": {
    "id": "753",
    "created_at": "2023-02-14T18:13:00Z",
    "updated_at": "2023-04-03T20:16:30Z",
    "description": "A long time partner",
    "name": "ACME Corp.",
    "phone": "555-555-5555",
    "website": "https://www.example.com",
    "address": {
      "street_address": "123 Main St",
      "street_address2": "Apt 1",
      "city": "Los Angeles",
      "state": "CA",
      "zip": "90001",
      "country": "US"
    },
    "created_by": {
      "id": "953",
      "created_at": "2023-02-14T18:13:00Z",
      "updated_at": "2023-04-03T20:16:30Z",
      "first_name": "Russell",
      "last_name": "Westbrook",
      "name": "Russell Westbrook",
      "email": "russell.westbrook@example.com"
    },
    "company_category": {
      "id": "773",
      "created_at": "2023-02-14T18:13:00Z",
      "updated_at": "2023-04-03T20:16:30Z",
      "name": "Developer"
    },
    "industry": {
      "id": "785",
      "created_at": "2023-02-14T18:13:00Z",
      "updated_at": "2023-04-03T20:16:30Z",
      "name": "Hospitality"
    },
    "import": {
      "id": "456",
      "created_at": "2023-02-14T18:13:00Z",
      "updated_at": "2023-04-03T20:16:30Z",
      "name": "<string>"
    },
    "custom_fields": {}
  }
}

Headers

Authorization
string
required

Path Parameters

id
string
required

Body

application/json
company
object

Response

200 - application/json
company
object
required