post deprecatedhttps://api.getgreenspark.com/widgets/per-product-widget
Fetching a widget that describes a given store’s impact settings for a selected product.
Log in to see full request history

Widget example

Popup example
Responses
Fetching a widget that describes a given store’s impact settings for a selected product.
Widget example
Popup example
xxxxxxxxxx
12curl --request POST \
--url 'https://api.getgreenspark.com/widgets/per-product-widget?lng=en' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"shopUniqueName": "YOUR-SHOP-NAME",
"color": "green",
"productId": "PRODUCT ID",
"withPopup": false
}
'
Try It!
to start a request and see the response here! Or choose an example: