JavaScript API

Documentation of the JavaScript API that can be used to extend Discount Ninja's Promotion Engine.

The documentation below describes the API as of version 9.x of the script.

Documentation

  • Functions: documents all properties and functions available in the public API

  • Events: documents the events published and subscribed to by the Price Rule Engine

  • Objects: documents the objects returned by the functions and properties

Last updated