The Footprint endpoint calculates and returns the carbon footprint(s) for one or more products within a single transaction, given a well-formed JSON request containing required properties, as shown in the examples below.
Note that all footprint requests must include your API key from your Cooler .
Parameters
KEY
TYPE
DESCRIPTION
EXAMPLE
productName*
string
name or title of the product
Samsung A7 Galaxy
productDescription*
string
*product description
Keep up with life with your fast paced life with a phone that fits you, like the Samsung Galaxy A14 5G from Total by Verizon. With the speed of 5G and a powerful Galaxy processor, you can experience your day virtually lag-free.
productPrice*
number
price of the product
500
postalCode
string
postal code of the product when it ships to the customer or your store