/stores/{storeId}/import/previewParse an inventory CSV (up to 2 MB) and match every row against the catalog. Nothing is saved: commit the rows you confirm with import/commit.
collector.previewInventoryImport()store:inventory:writeX-Request-IdstoreIdstring (uuid)requiredobject
csvstringrequired1–2000000 characters
200OKEvery row, parsed and matched.
An inventory CSV, parsed and matched against the catalog. Nothing is saved.
rowsarray of objectrequiredlineintegerrequiredThe CSV line (the header is line 1).
inputobjectrequiredtitlestring or nullrequirednumberstring or nullrequiredyearinteger or nullrequiredpublisherstring or nullrequiredvariantstring or nullrequiredfieldsobjectrequiredpriceCentsinteger or nullrequiredquantityintegerrequiredgradenumber or nullrequiredgradingCompanyenum or nullrequiredcgccbcspsapgxegshgaothercertNumberstring or nullrequiredlabelTypestring or nullrequiredpageQualityenum or nullrequiredwhiteoff_white_to_whiteoff_whitecream_to_off_whitecreamlight_tantanbrittleisSignedbooleanrequiredsignaturesarray of stringrequiredconditionNotesstring or nullrequiredskustring or nullrequiredshelfLocationstring or nullrequiredstatusenumrequiredactivehiddenerrorsarray of stringrequiredwarningsarray of stringrequiredmatchobjectrequiredstatusenumrequiredmatchedambiguousnot_foundinvalidchosenKeystring or nullrequirededitionIdstring (uuid) or nullrequiredcolumnsarray of objectrequiredheaderstringrequiredfieldenum or nullrequiredtitlenumberyearpublishervariantgradegradingCompanycertNumberlabelTypepageQualitysignedpricequantityskushelfLocationnotesstatustotalRowsintegerrequiredtruncatedbooleanrequiredOnly the first rows were read.
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
unauthorized: Not signed in (no session or token, or an expired one).
not_found: Nothing at that address.
payload_too_large: The body is over 4,194,304 bytes, this operation’s limit.
csv_columns: The CSV lacks the columns needed (title, number, price…).
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).