Read an order sheet and show what an import would do, without saving anything
POST
/v1/orders/csv/previewFactory API keyBase URL api.skuflo.ioMultipart field file (csv or xlsx, up to 2 MB and 5000 rows). Returns the sheet's headers, the column mapping (your last one, else suggested), and every row checked: bad quantities, missing SKUs, SKUs not in your product list (when you have one), and order numbers already on file. Rows sharing an order number make one order; rows with a PO number but no order number make one order per PO; the rest make one order. Orders without a number get an automatic one.
Query parameters#
| Name | Type | Description |
|---|---|---|
mappingoptional | string, max 2000 | JSON object mapping order fields (order_no, po_number, sku, description, colour, product_type, qty, pieces) to the file's headers |
retailer_idoptional | string | · |
Responses#
| Status | Meaning |
|---|---|
| 200 | Success. An example body is in the column on the right. |