post https://api.getgreenspark.com/v2/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
Responses
Fetching a widget that describes a given store’s impact settings for a selected product.
xxxxxxxxxx
14curl --request POST \
--url 'https://api.getgreenspark.com/v2/widgets/per-product-widget?lng=en' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"integrationSlug": "YOUR-SHOP-NAME",
"color": "green",
"productId": "PRODUCT ID",
"withPopup": false,
"style": "default",
"popupTheme": "light"
}
'
Try It!
to start a request and see the response here! Or choose an example: