List a book's listings
GET
/api/v1/books/listings
const url = 'https://digize.com/api/v1/books/listings';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/listings \ --header 'x-api-key: <x-api-key>'Where books sell: each listing’s store and format, its address and ID there, its price, whether it’s live, and its store’s checklist. One book’s, or every book’s.
Needs the books:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”bookId
string
Responses
Section titled “Responses”Done
Media typeapplication/json
object
data
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
kind
required
string
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
currency
required
string
status
required
live once readers can buy it there: the book is published.
string
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
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
Example
{ "data": [ { "store": "store", "kind": "print", "status": "draft" } ]}What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
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
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
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
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
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}