LemonStand Version 1 Has Been Discontinued
This documentation is for LemonStand Version 1. LemonStand is now offered as a cloud-based eCommerce platform.
You can try the new LemonStand and learn about upgrading here.
Accessing LemonStand API from third-party scripts
You can access LemonStand API from any PHP script by adding the following code to the script. The path in the include call should point to the index.php script in the LemonStand root directory.
$Phpr_InitOnly = true; include 'index.php';
This approach is not needed if you extend LemonStand with new modules.
Next: Extending the Discount Engine
Previous: LemonStand Module Templates
Return to Extending LemonStand