What problem does it solve?
CSV imports streamline bulk loading of card purchases into SlabLedger from PSA spreadsheets, Shopify exports, and direct cert entries, reducing manual data entry and errors.
Core Features & Use Cases
- PSA Import: Use endpoint POST /api/purchases/import-psa with header detection and tolerant parsing. Supports fields like cert number, listing title, grade, price paid, date, etc.
- Shopify Import: Endpoint POST /api/purchases/import-external; requires handle and title; cert resolution via cert number, cert, or sku; tag parsing; price fields; image handling; deduplication.
- Cert Entry: Endpoint POST /api/purchases/import-certs; JSON body with certNumbers; dedup, etc.
See references/csv-formats.md for detailed column requirements and example rows.
Quick Start
Prepare a CSV in the PSA, Shopify, or cert-entry formats and POST it to the appropriate API endpoint to begin importing.