Beans offers a comprehensible and very easy to use API to help integrate with your custom online store.
The storefront integration helps you integrate Beans on your online store. This script will display information to your customers (for example the loyalty program page) and also track customers' interactions (for example tracking referrals).
Webhooks are a simple way for Beans to be notified when a new event happens in your store (for example when a customer completes an order). They are used by Beans to perform event-based actions such as rewarding a customer after a purchase.