/collection/imports/{id}Poll it after POST /collection/imports: queued, then matching (progress counts rows), then importing (progress counts the matched rows written), then complete, or failed with an error. One sent with review waits in review after matching until it’s committed (or cancelled after reviewUntil). The counts grow as it goes. Once it has added copies, undo says where to take them back. Polling an import that paused (a very large file) carries it on.
collector.getCollectionImport()collection:readX-Request-Ididstring (uuid)required200OKThe import.
A collection file sent to the API, matched and imported in the background: poll it until it’s complete.
idstring (uuid)requiredThe job’s id, which is also its import’s id (undo).
statusenumrequiredqueued, matching, importing, then complete or failed. An import asked for with review waits in review after matching, until it’s committed; cancelled when you cancel it, or don’t commit it within 7 days.
queuedmatchingreviewimportingcompletefailedcancelledformatenumrequiredWhat the header says the file is.
collectorclzlocggenericfileNamestring or nullrequiredoptionsobjectrequireddefaultStatusenumrequiredownedwishlistneedsReviewenumrequiredskipimportreviewbooleanrequiredIt waits for review after matching.
notFoundenumrequiredRows the catalog has no issue for: skipped, or added to it (as committed).
skipadd_to_catalogprogressobjectrequiredMatching counts rows; importing counts the matched rows written so far.
phaseenumrequiredqueuedmatchingreviewimportingdonedoneintegerrequiredtotalintegerrequiredcountsobjectrequiredSo far; final once complete.
rowsintegerrequiredRows after the header.
matchedintegerrequiredRows matched to a catalog issue, to import.
needsReviewintegerrequiredRows held back: more than one series could be meant.
notFoundintegerrequiredRows the catalog has no issue for (yet).
skippedintegerrequiredRows that aren’t a comic, or not in your collection or wishlist.
failedintegerrequiredRows whose copies couldn’t be added.
createdintegerrequiredCopies added (a row with a quantity adds that many).
existingintegerrequiredCopies already in your collection from an earlier import: not added again.
undoobject or nullrequiredOnce the import has added copies, for 30 days.
hrefstringrequiredPOST it to remove the copies this import added.
untilstring (date-time)requirederrorstring or nullrequiredWhy it failed, or was cancelled without you.
requestedAtstring (date-time)requiredstartedAtstring (date-time) or nullrequiredcommittedAtstring (date-time) or nullrequiredA reviewed import: when it was committed.
reviewUntilstring (date-time) or nullrequiredWhile it waits in review: when it’s cancelled unless you commit it.
completedAtstring (date-time) or nullrequiredunauthorized: Not signed in (no session or token, or an expired one).
not_found: Nothing at that address.
import_not_found: No import of yours with that id.
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).