Skip to main content
PUT
Set a dataset's impact indicators
Requires permission:
Impacts are keyed by canonical EN 15804+A2 indicator code — the same vocabulary the read endpoints return. Send only life-cycle stage values (A1A5, B1B7, C1C4, D); totals are computed server-side. The dataset must be in draft state, and indicators you omit are left unchanged.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

uuid
string<uuid>
required

Body

application/json

Impact indicators keyed by canonical EN 15804+A2 code (e.g. GWP-fossil, ODP, AP), case-insensitive. An unknown code returns 400. Indicators you omit are left unchanged.

{key}
object

Life-cycle stage values for one indicator — A1–A5, B1–B7, C1–C4, D — as numbers, numeric strings, or null (clears the stage). At least one stage is required. Sending an indicator replaces its full stage profile: any stage you omit is cleared, so send every stage you want kept. Totals (A1_A3, upstream, direct, downstream, productCarbonFootprint, totalCarbonFootprint) are derived server-side and ignored if sent.

Example:

Response

The updated dataset

uuid
string<uuid>
name
string
Example:

"Steel billet, hot rolled"

description
string
Example:

"A descriptive description"

notes
string
Example:

"Internal notes about this product"

sku
string
Example:

"SKU123"

syncId
string

An identifier to use when syncing data with other systems. Read more

Example:

"sync123"

cpcCode
string
Example:

"CPC123"

supplierPartId
string

The supplier's part identifier for this product.

Example:

"PART-123"

unit
string

The unit code (e.g. kg, lbs, etc.). All unit codes can be found in the List Units endpoint.

Example:

"kg"

weight
object

The user-declared weight of the product. On read responses, compare with the server-computed modeledWeight to mass-balance the product against its bill of materials.

packagingWeight
object

The user-declared weight of the product's packaging. On read responses, compare with the server-computed modeledPackagingWeight to mass-balance packaging against its bill of materials.

recycledPercent
number

The user-declared recycled content of the product as a percentage (0–100). A 0 is a declared zero; omit the field when undeclared. On read responses, compare with the server-computed modeledRecycledPercent.

Example:

30

footprint
object
deprecated

Deprecated — use impacts["GWP-fossil"]. Kept for backwards compatibility.

dataQualityIndicators
object
taxonomy
object

A reference to a taxonomy category, including its machine-readable path.

geoLocation
object
location
object
startDate
string

ISO 8601 date

Example:

"2021-01-01T00:00:00.000Z"

endDate
string

ISO 8601 date

Example:

"2021-01-01T00:00:00.000Z"

image
string
Example:

"https://app.variable.global/uploads/image.jpg"

impacts
object

Environmental impact indicators keyed by canonical code (e.g. GWP-fossil, ODP, AP). Which indicators appear is controlled by the impacts query parameter — by default only GWP-fossil is returned.

Example:
dataQualityRating
number
Example:

1.4

created
string

ISO 8601 date

Example:

"2021-01-01T00:00:00.000Z"

updated
string

ISO 8601 date

Example:

"2021-01-31T23:59:59.000Z"

supplier
object