Update Material
Update new material
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"
An identifier to use when syncing data with other systems
"sync123"
"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 dataSource
s.
ISO 8601 date
"2021-01-01T00:00:00.000Z"
ISO 8601 date
"2021-01-01T00:00:00.000Z"
Response
model
, external
, database
"model"
"Material Name"
"A descriptive description"
"SKU123"
An identifier to use when syncing data with other systems
"sync123"
"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 dataSource
s.
"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"
ISO 8601 date
"2021-01-01T00:00:00.000Z"
ISO 8601 date
"2021-01-01T00:00:00.000Z"