API Reference
Log In
API Reference

Spend level widget

Fetching a widget that describes a given store’s spend level impact settings.

Log in to see full request history
247

Widget example

578

Popup example

Query Params
string
Defaults to en

Set the widget's language. Currently supported languages are: English (en), German (de)

Body Params
string
required
Defaults to YOUR-SHOP-NAME

The name of your store as it is saved in Greenspark. For example: example.myshopify.com

string
required
Defaults to green

Set the widget colour. Current options include: "beige" | "green" | "blue" | "white" | "black"

string
required
Defaults to USD

This is the customer or shop currency. For example: "USD" | "GBP" | "EUR" | "AUD" | "NZD"

boolean
Defaults to false

Adds a popup for the response, triggered by clicking on the widget

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json