DropStream’s Sales Channel File Exchange (SCFE) lets you send orders to DropStream as CSV files, for fulfillment by your warehouse. Use it when a sales channel has no direct API or app integration. DropStream picks up your order files from an FTP, FTPS, or SFTP folder. It writes shipment and inventory files back for your system to read.
How do I use DropStream SCFE?
To set up an SCFE connection, contact DropStream Support at support@getdropstream.com. Support configures the folders DropStream reads from and writes to.
File types
SCFE files are comma-delimited CSV text. Surround each value with double quotes; quotes are required when a value contains a comma.
| File | Direction | Contents |
|---|---|---|
| Order file | You → DropStream | Pick Header (PH) and Pick Detail (PD) records, one order or many per file |
| Shipment file | DropStream → you | One row per shipped line, with its tracking number |
| Inventory file | DropStream → you | A snapshot of available quantity per SKU |
There is one SCFE order file layout. It has no versions.
Order file format
Each order is one Pick Header (PH) record followed by its Pick Detail (PD) records, one per order line. Each record is one line in the file. A file can contain several orders, each a PH line followed by its PD lines.
DropStream imports every .csv file in the order folder, then moves or removes it so it isn’t imported twice.
"PH","SO-1001","PO-5521","Jane Smith","123 Main St","Apt 1","Springfield","IL","62629","US","Acme Corp","John Doe","234 Spring St","Suite 4","Chicago","IL","60007","US","Accounts Payable","UPS Ground","P","","2026-03-07T15:00:00Z","Web","Happy birthday!"
"PD","SO-1001","1","ROSES-1DOZ","2","68.90"
"PD","SO-1001","2","CHOCOLATES-BOX","1","45.67"
Pick Header (“PH”) record
The Pick Header carries order-level data. Fields are positional: send columns 1–25 in this order, leaving optional values empty (""). Columns 26 and 27 are optional and can be left off the line entirely. They’re used for order changes and cancellations.
| Pos | Field name | Required | Notes |
|---|---|---|---|
| 1 | Record Type | Y | Always "PH"
|
| 2 | ClientOrderNumber | Y | Your unique order number. PD records match on this value. |
| 3 | Customer PO Number | N | The customer’s purchase order number |
| 4 | Ship to Name | Y | Full name. DropStream splits it at the first space into first and last name. |
| 5 | Ship to Address1 | Y | |
| 6 | Ship to Address2 | N | |
| 7 | Ship to City | Y | |
| 8 | Ship to Province/State | Y | Standard US Postal Service or international code, e.g. "IL"
|
| 9 | Ship to Postal/Zip Code | Y | |
| 10 | Ship to Country | Y | ISO 3166 alpha-2 code, e.g. "US"
|
| 11 | Ship to Attention | N | Imported as the ship-to company |
| 12 | Bill to Name | N | Split into first and last name, like Ship to Name |
| 13 | Bill to Address1 | N | |
| 14 | Bill to Address2 | N | |
| 15 | Bill to City | N | |
| 16 | Bill to Province/State | N | Standard US Postal Service or international code |
| 17 | Bill to Postal/Zip Code | N | |
| 18 | Bill to Country | N | ISO 3166 alpha-2 code |
| 19 | Bill to Attention | N | Imported as the bill-to company |
| 20 | Ship Method | Y | Carrier and service level, e.g. "UPS Ground". |
| 21 | Ship Payment Type | N |
"P" Prepaid (default if blank)"C" Collect/Consignee"R" Bill Recipient"T" Third PartyAccepted, but not currently imported. |
| 22 | Ship Pay Account Number | N | Accepted, but not currently imported. |
| 23 | Order Date | N | UTC, "YYYY-MM-DDThh:mm:ssZ", e.g. "2026-03-07T15:00:00Z". Also accepted: "YYYY-MM-DD hh:mm:ss", "YYYY-MM-DD", "MM/DD/YYYY", "YYYYMMDD". |
| 24 | Order Source | N | Identifies the marketing channel, e.g. "Amazon"
|
| 25 | Gift Message | N | Printed on the packing slip |
| 26 | SourceUpdatedAt | N | When the order was last changed in your system, in UTC, e.g. "2026-03-07T18:20:00Z". Required in change files. Accepts the same date formats as Order Date. |
| 27 | CanceledAt | N | When the order was canceled in your system, in UTC. Leave empty unless the order is canceled. To send it, include column 26 as well. |
Pick Detail (“PD”) record
Each Pick Detail record is one order line. It must follow the PH record of the order it belongs to.
| Pos | Field name | Required | Notes |
|---|---|---|---|
| 1 | Record Type | Y | Always "PD"
|
| 2 | ClientOrderNumber | Y | Must match the ClientOrderNumber of a PH record earlier in the same file, or the file fails to import. |
| 3 | Order Line Sequence Number | N | Line identifier. If you sequence one line, sequence every line in the order. |
| 4 | Product Code | Y | The SKU. Product codes can’t contain a ~ (tilde). |
| 5 | Quantity Ordered | Y | e.g. "2"
|
| 6 | Unit Price | N | Decimal, no currency symbol, e.g. "123.45"
|
Order changes and cancellations
To change or cancel an order DropStream has already imported, put a change file in the changes folder inside your order folder. Support can configure a different changes folder. Change files use the same PH/PD layout as order files, but DropStream never imports a new order from them.
For each changed order, send the complete order as it now stands:
- A PH record with the same ClientOrderNumber as the original order, and SourceUpdatedAt (column 26) set to when the change was made.
- A PD record for every current line, not only the lines that changed. A line that’s left out is treated as removed from the order.
- To cancel the order, also set CanceledAt (column 27).
"PH","SO-1001","PO-5521","Jane Smith","456 Oak Ave","","Springfield","IL","62629","US","","John Doe","234 Spring St","Suite 4","Chicago","IL","60007","US","","UPS Ground","P","","2026-03-07T15:00:00Z","Web","","2026-03-07T18:20:00Z",""
"PD","SO-1001","1","ROSES-1DOZ","2","68.90"
"PH","SO-1002","PO-5522","John Doe","234 Spring St","","Chicago","IL","60007","US","","John Doe","234 Spring St","","Chicago","IL","60007","US","","UPS Ground","P","","2026-03-07T15:05:00Z","Web","","2026-03-07T18:25:00Z","2026-03-07T18:25:00Z"
"PD","SO-1002","1","PLAYSTATION-5","1","399.99"
In this example, order SO-1001 gets a new ship-to address and drops its second line, and order SO-1002 is canceled.
How DropStream handles change files:
- The latest change wins. DropStream applies a change only if its SourceUpdatedAt is later than the last change it applied to that order. Re-sending an older version of the order has no effect.
-
Change files stay in the folder until every order in the file has been applied. DropStream then moves the file to
changes/archive. Give each change file a new file name. - Order files can include column 26 too. It records when the order was last updated, so later changes are compared against it.
For what DropStream does with a change once it’s detected, see Order Modifications and Order Cancellations.
Shipment file format
When the warehouse ships an order, DropStream uploads a shipment file to your shipment folder. Files are named SHP_<unique id>.csv. The first line is a header row:
ClientOrderNumber,DateTimeShipped,ProductCode,QuantityShipped,TrackingNumber,ShipMethod
SO-1001,2026-03-08T16:00:01Z,ROSES-1DOZ,2,1Z0000000000000001,UPS - Ground
SO-1001,2026-03-08T16:00:01Z,CHOCOLATES-BOX,1,1Z0000000000000001,UPS - Ground
| Pos | Field name | Notes |
|---|---|---|
| 1 | ClientOrderNumber | The order number from the Pick Header |
| 2 | DateTimeShipped | UTC, YYYY-MM-DDThh:mm:ssZ
|
| 3 | ProductCode | The SKU shipped |
| 4 | QuantityShipped | Quantity of this SKU in this package |
| 5 | TrackingNumber | Tracking number of the package this line shipped in |
| 6 | ShipMethod | Carrier and service level, separated by " - ", e.g. UPS - Ground
|
A package with several SKUs produces several rows with the same tracking number. Values are quoted only when they contain a comma.
Inventory file format
DropStream uploads an inventory snapshot to your inventory folder. Files are named INV_<YYYYMMDDhhmmss>.csv. The first line is a header row:
ProductCode,QuantityAvailable
ROSES-1DOZ,42
CHOCOLATES-BOX,263
| Pos | Field name | Notes |
|---|---|---|
| 1 | ProductCode | The SKU |
| 2 | QuantityAvailable | Available quantity when the file was generated |
Comments
Please sign in to leave a comment.