/scans/{id}/addAdds the chosen (or top) candidate as a copy, with the session’s defaults and the scan’s draft. The body is optional: index adds another candidate, draft sets copy fields. Adding twice answers the same copy.
receive receives the book from one of the collector’s Whatnot purchases instead (Receive mode): the copy takes the purchase’s date, seller, order and price, joins the collector’s receive session (undone as one import), and the purchase is marked received once it holds every book. A scan already added is linked to the purchase.
collector.addScan()scans:writecollection:writeIdempotency-KeyX-Request-Ididstring (uuid)requiredThe scan’s id.
at most 64 characters
object
indexinteger0–20
draftobjectgradenumber or null0.5–10
grading_companyenum or nullcgccbcspsapgxegshgaothercert_numberstring or nullat most 64 characters
label_typestring or nullat most 40 characters
page_qualityenum or nullwhiteoff_white_to_whiteoff_whitecream_to_off_whitecreamlight_tantanbrittleis_signedbooleansignaturesarray of stringat most 12 items
signature_authenticationenum or nullcgc_signature_seriescbcs_verifiedpsa_dnacoawitnessedunverifiedpurchase_price_centsinteger or null0–1000000000
acquired_onstring or nulllocationstring or nullat most 120 characters
tagsarray of stringat most 30 items
notesstring or nullat most 8000 characters
receiveobjectlineIdstring (uuid)requiredacquiredOnstring or nullexpectedinteger or null1–500
200OKThe scan, and the copy it was added as.
object
itemIdstring (uuid)requiredThe copy in the collection.
invalid_requestinvalid_jsoninvalid_idempotency_keyinvalid_candidateinvalid_copyinvalid_receipt
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
invalid_idempotency_key: The Idempotency-Key isn’t 1–255 visible ASCII characters.
invalid_candidate: The chosen candidate doesn’t name a book.
invalid_copy: The copy fields aren’t valid together.
invalid_receipt: receive isn’t valid (a lot of more than 500 books).
unauthorized: Not signed in (no session or token, or an expired one).
not_foundscan_not_foundpurchase_not_found
not_found: Nothing at that address.
scan_not_found: No scan of yours with that id.
purchase_not_found: receive.lineId isn’t one of the collector’s purchases.
idempotency_in_progressno_matchpurchase_not_receivablecopy_already_linkedcollection_limitimport_rate_limitedstill_matching
idempotency_in_progress: The first request with this key is still running.
no_match: Nothing to add: the scan matched no book.
purchase_not_receivable: The purchase isn’t waiting to be received (received, refunded, canceled or not a comic).
copy_already_linked: The scan’s copy came from another purchase.
collection_limit: The collection is at its row ceiling.
import_rate_limited: Too many imports and receive sessions started in the last hour.
still_matching: The scan is still being matched; try again shortly.
payload_too_large: The body is over 1,048,576 bytes, this operation’s limit.
idempotency_key_reused: This key was used for a different request.
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).