Get a book's publishing
const url = 'https://digize.com/api/v1/books/example/publishing';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/books/example/publishing \ --header 'x-api-key: <x-api-key>'A book’s Publish tab: how it prints (its spec, the Lulu SKU it makes with the trim, and the pages, estimated from its planned words until a build counts them), its store details and prices, its listings with each store’s checklist, and whether Lulu is connected.
Needs the books:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Done
object
The workspace’s, which prices are in.
object
BW black and white, FC colour throughout.
STD standard, PRE premium ink and paper handling.
PB paperback, CW casewrap hardcover, LW linen hardcover, CO coil, SS saddle stitch.
060UW444 60# white, 060UC444 60# cream, 080CW444 80# coated white, 070CW460 70# coated white.
The cover: M matte, G gloss.
How author copies ship unless an order says otherwise.
Lulu’s SKU: the book’s trim and this spec joined.
The SKU in words.
Why Lulu wouldn’t print it at the book’s pages, or null.
False while the book follows Books › Settings › Printing’s defaults.
object
True until a build counts the pages: estimated from the words the book’s shape plans.
The build that counted them.
What stores show and KDP and IngramSpark ask for. Prices are in the workspace currency’s minor units.
object
An ISBN-13, kept as its 13 digits; empty for none.
An ISBN-13, kept as its 13 digits; empty for none.
object
store the workspace’s own, lulu the Lulu Bookstore, amazon (KDP), ingramspark, or other.
Another store’s own name.
Its ID there: an ASIN at Amazon, the ISBN at IngramSpark.
live once readers can buy it there: the book is published.
The checklist steps ticked off.
The store’s checklist.
object
object
object
A sample book, built while nothing’s written: never printed.
Built from the book’s latest writing run.
object
Why the latest build can’t be printed at Lulu yet, when it can’t.
Whether the latest build can be sold as an ebook or exported for another printer, whatever Lulu’s SKU says.
object
Lulu’s checks of the printable build’s interior and cover. The first order waits until both pass.
object
Example
{ "status": "brief", "trim": "5x8", "print": { "color": "BW", "quality": "STD", "binding": "PB", "paper": "060UW444", "finish": "M", "linen": "N", "foil": "G", "shippingLevel": "MAIL" }, "listings": [ { "store": "store", "kind": "print", "status": "draft" } ], "build": { "coverRule": "lulu" }}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}