Controlling the widget via API Please see this Github repo for detailed examples of how to control the widget using the Widget API. https://github.com/Frill-co/frill-widget-examples/tree/master/api