Emission estimate
An emission estimate result. The value returned is in CO2e – it accounts for both CO2 and non-CO2 emissions.
The Emission estimate object
string^[0-9]+(\.[0-9]+)?$required
enumrequired
Unit, t
for tonne, kg
for kilogram, g
for gram, mg
for milligram
Enum:
- mg
- g
- kg
- t
object
An arbitrary dictionary (key-value pairs) to store application-specific information.
Lune doesn't use this information for order processing. Its purpose is for the API clients to be able to attach arbitrary information (to an order for example) and then retrieve it.
string
Account-unique identifier provided by the client.
idempotency_key
has two purposes:
- Clients can safely retry estimate requests without accidentally performing the same operation multiple times.
- Clients can use
idempotency_key
to reconcile estimates with entities on their system.
{
"mass": {
"amount": "40.501",
"unit": "t"
},
"idempotency_key": "5bd808a954e"
}