# Product

#### The Product object

| **id**  `string`         | Unique identifier for the object                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **name**  `string`       | The name of the product                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **rate**  `float`        | Emission rate per product unit                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **skus** `string`        | Comma-separated list of Product SKUs or other internal identifiers                                                                                                                                                                                                                                                                                                                                                                                                     |
| **shippable**  `boolean` | Whether this product has shipping emissions                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **factors**  `object`    | <p>Object containing an array of one or more Product Factor objects.<br><br><strong>Note:</strong> A Product Factor object is defined as follows:</p><p><code>{</code></p><p>   <code>factorId: "...",</code></p><p>   <code>value: 1.2</code></p><p><code>}</code><br>The <code>value</code> attribute of the Product Factor object is quantity applied to the <code>rate</code> attribute of the <strong>Factor</strong> corresponding to <code>factorId</code>.</p> |
| **updatedAt** `string`   | Time of Product update                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **createdAt** `object`   | Time of Product creation                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **active**  `boolean`    | Whether this product can be used when creating an [**Estimate**](https://carbonlink.gitbook.io/carbonlink-api/core/api-reference/estimate)                                                                                                                                                                                                                                                                                                                             |

```typescript
// Example:
{
  id: "prod_12345678",
  name: "Road Bike - 2023 Model",
  kgCO2e: 123.45,
  shippable: true,
  sector: 'Ground Transportation',
  category: "Bicycle",
  factors: [
    {
        factorId: "fct_123...",
        value: 1.23
    },
    {
        factorId: "fct_456...",
        value: 34.51
    },
    ...
  ],
  active: true,
}
```
