> For the complete documentation index, see [llms.txt](https://tri.gitbook.io/tri-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tri.gitbook.io/tri-doc/constellation-scope-3/update-company.md).

# Update Company

## Reporting Company - Update

<mark style="color:purple;">`PATCH`</mark> <https://sandbox.triangle.digital/api/v2/reporting\\_company/{tcfd\\_id}>

**Headers**

<table data-full-width="true"><thead><tr><th>Name</th><th>Value</th></tr></thead><tbody><tr><td>Content-Type</td><td><code>application/json</code></td></tr></tbody></table>

**Body**

<table data-full-width="true"><thead><tr><th width="253">Name</th><th width="133">Type</th><th width="330">Description</th><th>Example</th></tr></thead><tbody><tr><td><code>hash</code></td><td>string</td><td>API key</td><td>fk5f0iuy-rr06-j4x3-i75b-fy2s67s4ilo1</td></tr><tr><td><code>contact_name_first</code></td><td>string</td><td>Contact name first</td><td>Alex</td></tr><tr><td><code>contact_name_last</code></td><td>string</td><td>Contact name last</td><td>Smith</td></tr><tr><td><code>contact_email</code></td><td>string</td><td>Contact email</td><td>alex.smith@triangle.digital</td></tr><tr><td><code>company_carbon_info</code></td><td>boolean</td><td>Do you have a company carbon information?</td><td>true/false</td></tr><tr><td><code>allocation</code></td><td>float</td><td>Allocation (%)</td><td>55.0</td></tr><tr><td><code>year</code></td><td>integer</td><td>Filter by year</td><td>2025</td></tr><tr><td><code>category_1</code></td><td>float</td><td>Stationary Combustion</td><td>12.0</td></tr><tr><td><code>category_2_1</code></td><td>float</td><td>Mobile Combustion - Upstream transportation and distribution</td><td>14.0</td></tr><tr><td><code>category_2_2</code></td><td>float</td><td>Mobile Combustion - Business Travel</td><td>12.1</td></tr><tr><td><code>category_2_3</code></td><td>float</td><td>Mobile Combustion - Employee Commuting</td><td>91.1</td></tr><tr><td><code>category_3</code></td><td>float</td><td>Facilities and Refrigerating</td><td>41.4</td></tr><tr><td><code>category_4_1</code></td><td>float</td><td>Fleet - Capital goods</td><td>42.2</td></tr><tr><td><code>category_4_2</code></td><td>float</td><td>Fleet - Upstream transportation and distribution</td><td>86.1</td></tr><tr><td><code>category_5</code></td><td>float</td><td>Waste Generation</td><td>24.1</td></tr><tr><td><code>category_6</code></td><td>float</td><td>Purchased Electricity</td><td>120.4</td></tr><tr><td><code>category_7</code></td><td>float</td><td>Purchased Natural Gas</td><td>41.24</td></tr><tr><td><code>category_8</code></td><td>float</td><td>Purchased Steam/Heating/Cooling</td><td>45.12</td></tr><tr><td><code>category_9</code></td><td>float</td><td>Category 1 - Purchased Goods and Services</td><td>5.24</td></tr><tr><td><code>category_10</code></td><td>float</td><td>Category 2 - Capital Goods</td><td>90.1</td></tr><tr><td><code>category_11</code></td><td>float</td><td>Category 3 - Fuel- and energy-related activities</td><td>84.15</td></tr><tr><td><code>category_12</code></td><td>float</td><td>Category 4 - Upstream Transportation and Distribution</td><td>90.45</td></tr><tr><td><code>category_13</code></td><td>float</td><td>Category 5 - Waste Generated in Operations</td><td>90.0</td></tr><tr><td><code>category_14</code></td><td>float</td><td>Category 6 - Business Travel</td><td>100.42</td></tr><tr><td><code>category_15</code></td><td>float</td><td>Category 7 - Employee Commuting</td><td>89.45</td></tr><tr><td><code>category_16</code></td><td>float</td><td>Category 8 - Upstream Leased Assets</td><td>1.0</td></tr><tr><td><code>category_17</code></td><td>float</td><td>Category 9 - Downstream Transportation and Distribution</td><td>0.0</td></tr><tr><td><code>category_18</code></td><td>float</td><td>Category 10 - Processing of Sold Products</td><td>0.0</td></tr><tr><td><code>category_19</code></td><td>float</td><td>Category 11 - Use of Sold Products</td><td>100.40</td></tr><tr><td><code>category_20</code></td><td>float</td><td>Category 12 - End-of-life Treatment of Sold Products</td><td>29.10</td></tr><tr><td><code>category_21</code></td><td>float</td><td>Category 13 - Downstream Leased Assets</td><td>89.45</td></tr><tr><td><code>category_22</code></td><td>float</td><td>Category 14 - Franchises</td><td>100.0</td></tr><tr><td><code>category_23</code></td><td>float</td><td>Category 15 - Financed Emissions</td><td>100.1</td></tr><tr><td><code>category_24</code></td><td>float</td><td>Land Use &#x26; Forestry</td><td>590.15</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="200" %}

```json
{  
  "message": "Updated successfully."
  "success": true,
  "data": {
    "tcfd_id": "BBR6C54ADF1C74G6817E9B20BD1C1"
  },
  "operations_count": 1
}
```

{% endtab %}

{% tab title="400" %}

```json
{  
  "message": "Updated unsuccessfully."
  "success": false,
  "data": {
    "errors": {
      "tcfd_id": "Reporting Company with ID 'BBR6C54ADF1C74G6817E9B20BD1C1' do not exist."
    }
  }
}
```

{% endtab %}
{% endtabs %}
