Add store-item Excel export/import for bulk price and stock updates.
Dashboard can download grouped product variants and re-upload to update price and stock. Also expose Content-Disposition for downloads and keep related product/customer API docs in sync. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
4a5780e74d
commit
7277817b6e
@@ -1,7 +1,7 @@
|
||||
# Meshkee CMS API — Project Context
|
||||
|
||||
> Living reference for developers and AI assistants working on this codebase.
|
||||
> Last updated: August 14, 2026
|
||||
> Last updated: August 18, 2026
|
||||
|
||||
## What This Project Is
|
||||
|
||||
@@ -504,6 +504,8 @@ PATCH /businesses/:businessId/store-items/variants/:variantId
|
||||
}
|
||||
```
|
||||
|
||||
**Bulk Excel (dashboard):** `GET /businesses/:businessId/store-items/export` downloads one row per variant (`variant_id`, names, variation, `price`, `stock`). `POST /businesses/:businessId/store-items/import` (multipart `file`) updates only price and stock. Empty price = call for price; empty stock = unlimited. Does not add or remove variants.
|
||||
|
||||
### Technical forms (product categories)
|
||||
|
||||
- One form per product category
|
||||
|
||||
Reference in New Issue
Block a user