Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
model, external, database "model"
"Product Name"
"A descriptive description"
"SKU123"
"CPC123"
The unit code (e.g. kg, lbs, etc.). All unit codes can be found in the List Units endpoint.
"kg"
Using dataSource: external allows setting certain footprint.CO2e values. The values are computed all other dataSources.
ISO 8601 date
"2021-01-01T00:00:00.000Z"
ISO 8601 date
"2021-01-01T00:00:00.000Z"
Response
A product
"Product Name"
"https://app.variable.global/uploads/image.jpg"
Using dataSource: external allows setting certain footprint.CO2e values. The values are computed all other dataSources.
1.4
ISO 8601 date
"2021-01-01T00:00:00.000Z"
ISO 8601 date
"2021-01-31T23:59:59.000Z"
model, external, database "model"
"A descriptive description"
"SKU123"
"CPC123"
The unit code (e.g. kg, lbs, etc.). All unit codes can be found in the List Units endpoint.
"kg"
ISO 8601 date
"2021-01-01T00:00:00.000Z"
ISO 8601 date
"2021-01-01T00:00:00.000Z"