Square Catalog Import Preflight
Pricing
$0.02 / completed comparison
Square Catalog Import Preflight
Compare a Square catalog CSV export with an import draft. Flag changed prices, stock, SKUs, locations and missing items before you upload.
Pricing
$0.02 / completed comparison
Rating
0.0
(0)
Developer
Atesen Software
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
Compare your current Square item library export with the CSV you are about to import, and get a list of every risky or changed field before Square sees it: SKUs that lost leading zeros, items disabled at a location, location price changes, stock set to zero, missing tokens and rows that cannot be matched. Each completed comparison costs $0.02, whatever the file size.
How it works
- Export your current item library from Square as CSV.
- Paste that export in
currentCsvand your draft import indraftCsv. Both need the originalTokencolumn. Leavereplaceoff for a partial update. - Read the findings. Each one names the CSV line, item, variation, token, field, and the value before and after.
This is a file comparison. It makes no requests to Square and never writes to your item library. It cannot promise that Square will accept the draft. Replacement mode lists tokens the draft leaves out when both files can be matched without doubt; it does not guess what a missing location column will do during import.
Input
| Field | What it does |
|---|---|
currentCsv | Current Square item library export, up to 256 KiB and 20,000 rows |
draftCsv | The CSV you plan to import, same limits |
replace | true if the draft will replace the whole library, false (default) for a partial update |
{"currentCsv": "Token,Item Name,Variation Name,Description,SKU,Price,Price Downtown,Enabled Downtown\nDEMO-A,Ceramic Mug,Blue,,0012,25.00,25.00,Y","draftCsv": "Token,Item Name,Variation Name,Description,SKU,Price,Price Downtown,Enabled Downtown\nDEMO-A,Ceramic Mug,Blue,,12,25.00,2.50,N"}
Output
One report row per run. Real output for the example above (one finding shown in full):
{"recordType": "report","mode": "update","currentRows": 1,"draftRows": 1,"matchedRows": 1,"riskCount": 2,"uncertainCount": 0,"changeCount": 1,"notices": ["Stock check skipped. The draft has no quantity columns."],"findings": [{ "group": "risk", "kind": "SKU loses leading zeros", "file": "Draft", "line": 2, "name": "Ceramic Mug", "variation": "Blue", "token": "DEMO-A", "sku": "12", "field": "SKU", "before": "0012", "after": "12" },{ "group": "risk", "kind": "Item disabled at location", "field": "Enabled Downtown", "before": "Y", "after": "N" },{ "group": "change", "kind": "Location price changes", "field": "Price Downtown", "before": "25.00", "after": "2.50" }]}
Findings are grouped as risk (likely mistakes), uncertain (needs a person to decide) and change (intended edits worth a second look). Open the dataset JSON to see every finding.
If no report is written (empty or invalid input, a file over the limits, or a maximum cost per run below $0.02), the run writes one free status row that says what to fix, and charges nothing.
Use via API
Keep your token in the Authorization header, not in the URL:
curl -X POST "https://api.apify.com/v2/acts/atesen-software~square-catalog-import-preflight/run-sync-get-dataset-items" \-H "Authorization: Bearer $APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"currentCsv": "Token,Item Name,SKU,Price\nT-1,Mug,0012,25.00", "draftCsv": "Token,Item Name,SKU,Price\nT-1,Mug,12,25.00"}'
Pricing
Pay per event: $0.02 per completed comparison (event report), no matter how many findings. There is no start fee. Status rows for empty or invalid input and a too-low budget are free.
Data and privacy
The only data is what you paste. Apify keeps the input and the report in your own run storage. Use catalogs you are allowed to process and keep customer or employee details out of the CSVs. Column names follow Square's item import guide and location price overrides. This Actor is independent and is not made or endorsed by Square.
Built and maintained by Atesen Software