Lulu Developer Forums

API Development Community

RSS Feed

Discount manager via API

  1. The discount functionality that the new discount manager has on the front end, is that something we can set via the API?

    Message edited by Yakov Shafranovich 3 years ago

  2. Josiah Gore3 years ago

    Yes indeed. The pricing section of the project data structure now supports an optional 'discount_percent' parameter. As on Lulu.com, this discount must be one of 0, 5, 10, 15, 20, 25, 30, 40, 50, 60, 75, or 100. The discount is applied in the Lulu marketplace, and the discounted price cannot be less than the base price of the book or eBook.

    The example project at the bottom of the Publication API Getting Started page now includes an example of setting a discount.

  3. Yakov Shafranovich3 years ago

    Thanks, that is great news!

[ Page 1 of 1 ]