Skip to content

Get a book's publishing

GET
/api/v1/books/{id}/publishing
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.

id
required
string
>= 1 characters <= 64 characters

Done

Media typeapplication/json
object
bookId
required
string
status
required
string
Allowed values: brief briefing interviewing generating editing ready published
trim
required
string
Allowed values: 5x8 5.5x8.5 6x9 7x10 8.5x11
currency
required

The workspace’s, which prices are in.

string
print
required
object
color
required

BW black and white, FC colour throughout.

string
Allowed values: BW FC
quality
required

STD standard, PRE premium ink and paper handling.

string
Allowed values: STD PRE
binding
required

PB paperback, CW casewrap hardcover, LW linen hardcover, CO coil, SS saddle stitch.

string
Allowed values: PB CW LW CO SS
paper
required

060UW444 60# white, 060UC444 60# cream, 080CW444 80# coated white, 070CW460 70# coated white.

string
Allowed values: 060UW444 060UC444 080CW444 070CW460
finish
required

The cover: M matte, G gloss.

string
Allowed values: M G
linen
required
Any of:
string
Allowed values: N G R B T F
foil
required
Any of:
string
Allowed values: G B W
shippingLevel
required

How author copies ship unless an order says otherwise.

string
Allowed values: MAIL PRIORITY_MAIL GROUND_HD GROUND_BUS GROUND EXPEDITED EXPRESS
podPackageId
required

Lulu’s SKU: the book’s trim and this spec joined.

string
label
required

The SKU in words.

string
problem
required

Why Lulu wouldn’t print it at the book’s pages, or null.

string | null
saved
required

False while the book follows Books › Settings › Printing’s defaults.

boolean
pages
required
object
count
required
integer
>= -9007199254740991 <= 9007199254740991
estimated
required

True until a build counts the pages: estimated from the words the book’s shape plans.

boolean
words
required
integer
>= -9007199254740991 <= 9007199254740991
buildId
required

The build that counted them.

string | null
metadata
required

What stores show and KDP and IngramSpark ask for. Prices are in the workspace currency’s minor units.

object
description
required
string
<= 4000 characters
keywords
required
Array<string>
<= 7 items
bisac
required
Array<string>
<= 3 items
series
required
string
<= 200 characters
seriesNumber
required
Any of:
integer
>= 1 <= 999
isbn
required

An ISBN-13, kept as its 13 digits; empty for none.

string
<= 20 characters
ebookIsbn
required

An ISBN-13, kept as its 13 digits; empty for none.

string
<= 20 characters
printPrice
required
Any of:
integer
<= 100000000
ebookPrice
required
Any of:
integer
<= 100000000
listings
required
Array<object>
object
id
required
string
bookId
required
string
store
required

store the workspace’s own, lulu the Lulu Bookstore, amazon (KDP), ingramspark, or other.

string
Allowed values: store lulu amazon ingramspark other
kind
required
string
Allowed values: print ebook
label
required

Another store’s own name.

string
storeLabel
required
string
url
required
string | null
externalId
required

Its ID there: an ASIN at Amazon, the ISBN at IngramSpark.

string | null
price
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
currency
required
string
status
required

live once readers can buy it there: the book is published.

string
Allowed values: draft live
productId
required
string | null
exportKey
required
string | null
checklist
required

The checklist steps ticked off.

Array<string>
steps
required

The store’s checklist.

Array<object>
object
id
required
string
title
required
string
detail
required
string
done
required
boolean
liveAt
required
Any of:
string format: date-time
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
lulu
required
object
connected
required
boolean
sandbox
required
boolean
build
required
Any of:
object
id
required
string
pages
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
sample
required

A sample book, built while nothing’s written: never printed.

boolean
podPackageId
required
string | null
coverRule
required
Any of:
string
Allowed values: lulu kdp
createdAt
required
string format: date-time
generation
required
integer
>= -9007199254740991 <= 9007199254740991
current
required

Built from the book’s latest writing run.

boolean
printable
required
object
ok
required
boolean
problem
required

Why the latest build can’t be printed at Lulu yet, when it can’t.

string | null
sellable
required

Whether the latest build can be sold as an ebook or exported for another printer, whatever Lulu’s SKU says.

object
ok
required
boolean
problem
required
string | null
check
required
Any of:

Lulu’s checks of the printable build’s interior and cover. The first order waits until both pass.

object
buildId
required
string
podPackageId
required
string
pages
required
integer
>= -9007199254740991 <= 9007199254740991
sandbox
required
boolean
interior
required
object
id
required
string
status
required
string | null
done
required
boolean
ok
required
boolean
errors
required
Array<string>
pageCount
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
cover
required
object
id
required
string
status
required
string | null
done
required
boolean
ok
required
boolean
errors
required
Array<string>
pageCount
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
startedAt
required
string
checkedAt
required
string

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).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}