Create Material
Create a new material
Documentation Index
Fetch the complete documentation index at: https://docs.variable.global/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
"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.
A reference to a taxonomy category, including its machine-readable path.
ISO 8601 date
"2021-01-01T00:00:00.000Z"
ISO 8601 date
"2021-01-01T00:00:00.000Z"
model, external "model"
Response
A material
"Material 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.
A reference to a taxonomy category, including its machine-readable path.
ISO 8601 date
"2021-01-01T00:00:00.000Z"
ISO 8601 date
"2021-01-01T00:00:00.000Z"
model, external "model"
"https://app.variable.global/uploads/image.jpg"
1.4
ISO 8601 date
"2021-01-01T00:00:00.000Z"
ISO 8601 date
"2021-01-31T23:59:59.000Z"