Lulu Developer Forums

API Feature Requests

RSS Feed

Auto calculate book price

  1. Is there a way to auto calculate price when creating a book? It doesn't seem to make sense that we have to put the price ourselves.

    A 143 page, perfectbound, A5, BW book comes up to $7.36 in the web based book creator, while the minimum through the api is $33.10.
    Am I missing something?

    Message edited by invadermedia 3 years ago

  2. invadermedia3 years ago

    I've been doing some more testing and I now see how it works. The amount over printing fees is added to "Your Revenue".
    It worked properly on a publisher grade test I did.

    What confused me is when I uploaded an A5 and the price remained at $33.10 (the price I entered through the api) and the printing cost/"your revenue" was not calculated. So when I added it to cart it added at $33.10 and did not minus My Revenue cost. I'll do more testing and see if I can figure out whats causing this error.

  3. invadermedia3 years ago

    It appears to be working properly. Looks like it was the pdf I was uploading was causing problems. You can delete this thread.

  4. Daniel Wideman3 years ago

    Hi invadermedia,

    Thanks for the feedback! I don't want to delete your posts, because I suspect other users may encounter the same confusion. In fact, we're already working on APIs for calculating the manufacturing cost and creator royalty, and I will post planned release dates as soon as they're available. I've updated the "Getting Started" documentation where pricing is discussed and added the following intro:

    "The value specified in total_price is the customer-facing purchase price of your product in the Lulu Marketplace. The manufacturing cost of the book is auto-calculated based on book type, size/binding, paper type, color/B&W, and page count. Currently, you can use our Cost Calculator (http://www.lulu.com/calculators/bookCalc.php) to compute the manufacturing cost. The creator royalty is 80% of the net proceeds (difference between purchase price and manufacturing cost). Creators can purchase their own products at manufacturing cost when logged in under the account which published the product. In this case, no creator royalty is paid. Coming Soon: APIs for calculating manufacturing cost and creator royalty."

    Please keep the feedback and suggestions coming--we appreciate it! How is your application coming along? We'd like to hear more about what you're building and how we can help.

    Cheers,
    ~Daniel Wideman
    Senior Product Manager, Lulu Publishing

  5. Off Exploring3 years ago

    It would be great if we could get shipping prices from the API too. Passing in the book quantity and destination country and getting an array back with shipping method, price and if it's tracked or not would be absolutely fantastic.

[ Page 1 of 1 ]