- CSV (delimiters are auto-detected)
- Excel (table format the same as Standard CSV)
- JSON Lines (single-line or multi-line JSON objects delimited by newlines)
Order - Standard CSV
The header row defines which columns are used and each following line should consist of the order data, SKU and quantity for one order item. If the order contains multiple items they can be specified using additional rows and the order data can be either repeated (it will be ignored) or omitted as long as the ‘order_ref’ column is not omitted since it is used to group the order items together. See Order Properties for the supported field names and values.To group multi-product orders together for CSV imports either the
unique_id
or the order_ref
must be supplied unless there is only one order per file. When the unique_id
is supplied with no order_ref
then the unique_id
will be used to group rows. When the order_ref
is supplied with no unique_id
then the order_ref
will be used to group rows. If both unique_id
and order_ref
are supplied then the unique_id
will be used to group rows.Order Custom Fields can be used in Order Imports. To add an Order Custom Field, add the field’s code to the header with a prefix symbol.There are two types of prefixes:
- Prefix with
#
when the values are identified by “id”. See Enumerated Order Custom Field Options article section for how to find the “id”. - Prefix with
@
when the values uploaded are numeric values or text.
For fields that allow multiple values, separate each value with the pipe character
|
.order_import_sample.csv
Order - Standard JSON
Importing orders in JSON format should follow the order.create inputs exactly.order_import_sample.json
Product - Standard CSV
The header row should contain all field names and each following row contains product data. Each row must specify a SKU at minimum. See Product Properties for the supported field names and values. If a field supports multiple values such as ‘hts_country_code’ or ‘special_other’ then multiple values can be assigned by specifying values separated by the ‘pipe’ character: |product_import_sample.csv
Product - Standard JSON
Importing products in JSON format should follow the product.create inputs exactly.product_import_sample.json
Delivery - Standard CSV
The “id” field is only used to group multiple lines into a single delivery. If importing a single delivery it can be blank, but if importing multiple deliveries it should be unique for each separate delivery in the CSV file. When using Delivery Imports themerchant_ref
values must be unique to the delivery_type
specified. i.e.: Merchant Ref supplied to three new ASNs should not match former ASNs already in the system, nor the ASNs within the upload file.
Since an import can create multiple items at once the System uses the Merchant Ref to check for duplicates. Example: Upload a file with 10 different ASNs. After importing, the System states that of the ten, five had errors and five successfully imported. Correct those five, whether that is in the file or by adding a SKU to the System, etc. With the corrections made, import the same file but have the System handle duplicates by Dropping them. This way the same file can be reused without accidentally entering a duplicate ASN. Allowing the focus to be on fixing the ASNs that failed instead of needing to also make a new file to import the ASNs.
See Delivery Properties for the supported field names and values.
delivery_import_sample.csv
Delivery - Standard JSON
Importing deliveries in JSON format should follow the delivery.create inputs exactly.delivery_import_sample.json
Bill of Materials - Standard CSV
The “id” field is only used to group multiple lines into a single bill of materials. If importing a single bill of materials it can be blank, but if importing multiple bills of materials it should be unique for each separate bill of materials in the CSV file. The header row should contain all field names and each following row contains bill of materials data. Each row must specify a SKU at minimum. See BOM Properties for the supported field names and values.bom_import_sample.csv
Bill of Materials - Standard JSON
Importing bill of materials in JSON format should follow the bom.create inputs exactly.bom_import_sample.json