- syncListings pages active listings, fetches each listing's inventory, and upserts Products (one per size variation, collapsing colour). Title/description/price/tags/SKU/quantity and etsyListingId are updated; printingCost/costOfGoods are preserved (user-owned). Old titles are kept as aliases so historical order matching still works. - POST /api/etsy/sync-catalog endpoint; Settings gains a 'Sync Catalog' button that refreshes products after running. - Uses existing listings_r scope (no reconnect needed). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||