• Register

Penguin Random House Developer Blog

Enhanced API v1.3.14 released

On Wednesday May 2, 2018, version 1.3.14 of the Enhanced PRH API was released to production. If you encounter any problems with your applications as a result of these changes, please contact us at api@penguinrandomhouse.com.

Version 1.3.14 release notes

This version includes a new feature for PRH.com where multiple sort and dir parameters may be supplied to generated additional ORDER BY clause entries.

We also added a new endpoint /works/views/also-purchased which mimics /works/{workId}/views/also-purchased except that it can take multiple workId or isbn parameters. A companion to that, /works/views/also-purchased-by-category, performs an indentical query with the only difference being that it executes the request separately for each catUri supplied and returns a map of responses, one for each category. See ticket RHAPI-922 for more details.

And finally, a reworking of the query behind the /works/views/sales-display view fixes some problems that had been reported with it previously.

Bug

  • [RHAPI-921] - /views/sales-display - Sort not properly applied when start/rows parameters are used
  • [RHAPI-931] - After adding filter parameter for Top-Selling in test API endpoint, Record count is not giving correct count
  • [RHAPI-937] - Errors reported in listImprints

New Feature

  • [RHAPI-914] - Implement second-level sorting on API results
  • [RHAPI-922] - Ability to pull copurchase data from multiple ISBNs and screen by category
  • [RHAPI-932] - Add support for the showCovers=true parameter for /series/???/views/series-display