Skip to content
Developersskuflo.iov1Changelog

Read an order sheet and show what an import would do, without saving anything

POST/v1/orders/csv/previewFactory API keyBase URL api.skuflo.io

Multipart 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.

Try it now

Query parameters#

NameTypeDescription
mappingoptionalstring, max 2000JSON object mapping order fields (order_no, po_number, sku, description, colour, product_type, qty, pieces) to the file's headers
retailer_idoptionalstring·

Responses#

StatusMeaning
200Success. An example body is in the column on the right.

Other errors#

StatusMeaning
401No key, or the key is not recognised.
402billing_required. Reading always works, but this is a write and stops once a trial ends or a plan is cancelled.
403The key is valid but its role cannot do this.
429More than 600 requests a minute. Wait retry-after seconds.