Get a price quote for offsetting air freight shipment carbon emissions. Will return the amount of CO₂e to offset and total price.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
If present, will use pricing appropriate for the subaccount with given id.
Quote Parameters
Mass of freight, in kg
100
Distance of air freight shipment, in km
100
Optional ID of the portfolio to use for the quote. The quote will be for an order fulfilled from this portfolio. If not specified, the account's default portfolio will be used.
"a23bF6"
Optional source of the quote. Defaults to api if not specified, otherwise must be one of api or checkout.
Use api if the eventual order will be placed via the Order API. Use checkout if the order will be placed using the Checkout Session API.
"api"
"checkout"