A list of all customer addresses pulled into the state
Optional
auth_Defaults to empty string forcing the smi handles the auth via cookie.
For ajax or iframe styles, auth_url points to an actual merchant url
This object represents the current customer who is logged into your site that is viewing the SMI
A mapping of order public IDs to discount codes
A mapping of order item public IDs to discount codes
This object represents the environment that the application is currently running in. You typically will not need to interact with this object unless you're instructed to by an Ordergroove representative.
URL of the legacy Ordergroove API cluster that the SMI is using to retrieve data.
https://api.ordergroove.com
URL of the Ordergroove REST API cluster that the SMI is using to retrieve data.
https://restapi.ordergroove.com
The name of the Ordergroove environment where the SMI is currently running.
URL of the Ordergroove offer endpoint that the SMI is using to fetch offer data.
https://offers.ordergroove.com
URL of the Ordergroove tracking endpoint that handles front-end events.
https://collect.ordergroove.com
A mapping of external product IDs to max incentives structured by type
A flag will be true if SMI is loading content, or false once done
This value will represent the current locale being set on the website. The value is pulled form the lang attribute of the html node. For example
en
This value is used to identify you as the merchant and is the same value that you would find under the customer.public_id key above.
A list of popups notifications
A mapping of external product IDs to offer IDs
A list of all customer order items pulled into the state
This array represents the list of all of the customer's orders.
A list of all customer payments pulled into the state
A list of products pulled into the state for current subscriptions and order items
A list of all of the customer's subscriptions.
The Redux state contains all the objects available in the Subscription Manager templates.