Shopify Orders Import

Excel Sheet Name

Orders

Columns Available For Export And Import

Base Columns

Column Allowed Values Description / Example Value
ID Number ID is automatically generated number by Shopify to identify the item.
It is filled in by an Export.
When creating new Orders, leave this value empty.

11920047631
Name Text Name of the Order.

Shopify allows several orders to have the same name, however, the app uses the Name as the “key” to identify the existing order. So it works in a similar way as Handle for Products.

When you are importing an order with the same Name that already exists in your store, then the app will try to update or replace it.

When migrating orders from one Shopify store to another, this Name field is the only way to tell that the order is the same as in the other store.

To be safe, be sure to have your Order names unique when importing.

#1049
Command
  • NEW
  • UPDATE
  • REPLACE
  • DELETE
When importing Order, it tells the app, what to do with it.

  • NEW: will try to create a new Order with the provided details. If such Order will already exist (with the same ID or same Name), then Order creation will fail.
  • UPDATE: not yet implemented, so existing Orders cannot be updated yet. To change existing Order for now, please, use the REPLACE command.
  • REPLACE: at first, if such Order with provided ID or Name exists, then the app will delete it. After that, it will create a new one. If an existing Order will not be found, then still the app will create a new Order.
  • DELETE: the app will delete the existing Order, which is found by ID or Name. If such order will not be found, then this order import will fail. This DELETE command can be very handy, when Orders need to be deleted in bulk, or when such orders need to be deleted, which cannot be deleted through the Shopify Admin.
REPLACE
Number Number Order number.

49
Note Text Order notes.

Can be a large text going over several lines.

Here I can write any notes I need for the Order.
Tags Comma Separated List Tags allow you to add additional elements or “properties” to your order, which you can use for filtering.

Urgent, To Review
Created At Date & Time This column will only be exported.

It will be automatically set to the time when the Order was actually created. When migrating from another store, this time will always be the time of migration.

2018-02-06 23:03:00 UTC
Updated At Date & Time This column will only be exported.

It will be automatically updated, whenever you change the Order data.

2018-02-06 23:03:00 UTC
Cancelled At Date & Time This column will show the time when the order was canceled.

It will be empty if the order is not canceled.

2018-02-06 23:03:00 UTC
Cancel Reason Text Shows the reason, why the order was canceled.

It will be empty if the order is not canceled.

When the order is canceled, the cancel reason will be one of the following:

  • customer: The customer changed or canceled the order.
  • fraud: The order was fraudulent.
  • inventory: Items in the order were not in inventory.
  • declined: The order was canceled because the payment has been declined.
  • other: The order was canceled for a reason not in the list above.
Processed At Date & Time This column will show the time when the original order was created.

When migrating from the other system, you can set this field to a date, when the order was created in the source system, and Shopify will show that date as order creation date.

2015-01-01 00:00:00 UTC
Closed At Date & Time This column will show the time when the order was archived.

2018-02-07 23:03:00 UTC
Currency Corrency code in ISO 4217 format Currency of the Order.

USD
Source Text When exported, will have the original channel, where the order came from, like: web, pos, iphone, android, shopify_draft_order.

When importing, you cannot set any of those values – it will be set to the name of the app that imported the order.

shopify_draft_order
User ID Number Shopify internal user ID, who created the order.

When importing, Shopify will set it to the ID of the user who initiated the import.

Only exported.

118774735
Cart Token Hash For orders that were initiated through the shopping cart, this will be the reference to the cart from which the order was created.

When importing, this value cannot be set.

Only exported.

68778783ad298f1c80c3bafcddeea
Token Hash Token key, how the order is identified in the Shopify system.

It’s unique to all stores. You cannot set its value, it is always set by Shopify. Token is used in the Order status URL.

Only exported.

11a70068657e9f32ddcd11b7da8d797c
Order Status URL URL The URL, where a customer can view their order status.

Only exported.

https://checkout.shopify.com/20255113/orders/11a70068657e9f32ddcd11b7da8d797c
Weight Total grams Total weight of the ordered items, in grams.

Only exported.

4000
Price: Total Line Items Currency Total price of all line items. This is calculated from actual line items, and cannot be set as a value in the import.

Only exported.

1200
Price: Subtotal Currency Value of the order, including discounts, but before shipping and taxes.

Only exported.

1000
Tax 1: Title
Tax 2: Title
Tax 3: Title
Text Title of each applied tax.

Each order can have up to 3 different taxes applied, therefore all those are split into separate tax columns.

VAT
Tax 1: Rate
Tax 2: Rate

Tax 3: Rate
Number The rate of the tax applied.

0.21
Tax 1: Price
Tax 2: Price
Tax 3: Price
Currency The calculated tax in the order currency.

210.00
Tax: Included
  • TRUE
  • FALSE
Tells whether the order subtotal has taxes included or not.

TRUE
Tax: Total Currency Total amount of the tax applied on the order.

300.43
Price: Total Currency Total amount of the order, including line items, discounts, shipping cost, and taxes.

1300.43
Payment: Status
  • pending
  • authorized
  • partially_paid
  • paid
  • partially_refunded
  • refunded
  • refunded
Financial status of the order. Can be one of the following:

  • pending: The finances are pending. Payment might fail in this state. Check again to confirm whether or not the finances have been paid successfully.
  • authorized: The finances have been authorized.
  • partially_paid: The finances have been partially paid.
  • paid: The finances have been paid.
  • partially_refunded: The finances have been partially refunded.
  • refunded: The finances have been refunded.
  • voided: The finances have been voided.

Only exported.

When importing, it is set automatically from the order actual payment details. For example, to have the refunded status, you need to have all the transactions actually refunded.

paid
Payment: Processing Method
  • checkout
  • direct
  • manual
  • offsite
  • express
The method used to process the payment. Can be one of the following:

  • checkout – payment was done by the client at the Checkout.
  • direct – paid directly from the Order in the Shopify Admin, but using the actual customer payment method, for example, charged the credit card or paid by PayPal.
  • manual – marked as paid manually from the Order in the Shopify Admin, without collecting any actual payment through the Shopify.
  • offsite – paid by Shopify POS.
  • express – paid by PayPal Express.

Only exported.

The method is deduced by the actual transactions on the order.

direct
Order Fulfillment Status
  • <empty>
  • fulfilled
  • partial
Summarized status of the order fulfillment.

Can be one of the following:

  • <empty>: There are no fulfillments done on the order yet.
  • partial: Order is fulfilled partially, meaning that at least one item has been shipped.
  • fulfilled: All line items are fulfilled or returned. There is nothing more to fulfill.
fulfilled
Additional Details Lines of “name: value” Additional details collected on the order from customer – either from the product page, or from checkout page.

Each added property will be shown as “<name>: <value>”, and will include all of those properties as several lines inside the Excel cell.

Whe prepared in the same format, those details also can be imported.

Those are visible in Shopify Admin, on each Order, section “Additional Details”. This section shows only if there are any details added, otherwise it’s not visible there.

Read more about collecting additional data for orders:

Gift wrapped: yes
Door code: 1234

Customer Columns

Each Order can have one customer or no customer at all.

When importing Orders with Customer data, Shopify will link them by Email to existing customers, or create new Customers if they don’t exist yet.

Column Allowed Values Description / Example Value
Customer: ID Number Shopify generated Customer ID. If specified existing customer ID from that store, Order will be linked to that customer.

If you don’t have an ID, then leave it empty, and Shopify will link to existing customer by Customer Email.

1234567890
Customer: Email E-mail Customer e-mail who purchased the Order.

Will link to existing store Customer, or create new, if such doesn’t exist.

someone@example.com
Customer: Phone Phone Number Phone number must be full – with the country code and must be valid for the respective country.

You can prefix phone numbers with ‘ (apostrophe) to allow Excel to show the + (plus) sign. But the + (plus sign) is not required.

'+15417543000
Customer: First Name Text The first name of the Customer.

John
Customer: Last Name Text The last name of the Customer.

Smith
Customer: Note Text Whatever is written on the Customer card, accessible from Shopify Admin.

Your notes go here.
Customer: Orders Count Number Total count of orders made by this Customer.

Only exported.

100
Customer: State
  • disabled
  • invited
  • enabled
  • declined
The Customer status – one of those:

  • disabled: customers are disabled by default until they are invited.
  • invited: the customer has been emailed an invite to create an account.
  • enabled: the customer accepted the email invite and created an account.
  • declined: the customer declined the email invite to create an account. If Customer has declined your invitation, you cannot generate new Account Activation URL.
enabled
Customer: Total Spent Amount Total amount the customer has spent at the moment of the export.

Only exported.

1024.99
Customer: Tags Comma Separated List Tags allow you to add additional elements or “properties” to your Customer, which you can use for filtering, for developing some additional logic for those Customers in your Store Theme.

Friend, Migrated
Customer: Accepts Marketing
  • TRUE
  • FALSE
Whether Customer accepted that he can be sent Marketing e-mails.

TRUE

Customer Billing Address Columns

All the following fields will be shown in the Order in the Billing Address block. When imported, will be added as one of the addresses for the Customer, too.

Column Allowed Values Description / Example Value
Billing: First Name Text The first name of the Customer in the Billing Address.

John
Billing: Last Name Text The last name of the Customer.

Smith
Billing: Company Text Company name, if billing address is a company.

Smith Inc.
Billing: Phone Phone Number Phone number to use for this address.

'+15417543002
Billing: Address 1 Text Address 1st line.

Calvin Street 5
Billing: Address 2 Text Address 2nd line.

2nd Floor
Billing: Zip Zip Zip number of the address. Shopify doesn’t check its correctness.

ZIP-1234
Billing: City Text City name. Is not checked, so it’s possible to enter any city name.

Dough
Billing: Province Province Name Province names are checked against Shopify geographic classifier. If provided province will not be valid, then Shopify will accept it, but it will be empty on the customer card.

If you are not sure, what are available values, go to Shopify Admin, edit the Address, and click the drop-down to choose the Province for chosen Country.

If Province Code is filled, this can be left empty, then Province will be set from there.

Ontario
Billing: Province Code Province Code In Shopify classifier there are Province Codes. If provided province code will not be valid, then Shopify will accept it, but it will be empty on the customer card.

If Province is filled, this can be left empty, then Province will be set from there.

ON
Billing: Country Country Name Country names are checked against Shopify geographic classifier. If the provided country will not be valid, then Shopify will accept it, but it will be empty on the customer card.

If you are not sure, what are available values, go to Shopify Admin, edit the Address, and click the drop-down to choose the Country.

If Country Code is filled, this can be left empty, then Country will be set from there.

Canada
Billing: Country Code Country Code Country international code, consisting of 2 letters.

If Country is filled, this can be left empty, then Country will be set from there.

CA

Customer Shipping Address Columns

All the following fields will be shown in the Order in the Shipping Address block. When imported, will be added as one of the addresses for the Customer, too.

Those columns are the same, as for Billing Address, just the column name starts with “Shipping: …”, so those will not be repeated here.

Customer Browser Related Columns

All the following columns can just be exported, but they provide valuable information about the customer, the source the customer came from, even the marketing campaign.

Column Allowed Values Description / Example Value
Browser: IP IP Address The IP address of the customer at the moment of purchase.

159.148.78.222
Browser: Width Number Width of the customer browser window, in pixels.

1024
Browser: Height Number Height of the customer browser window, in pixels.

768
Browser: User Agent Text Full user agent string of the customer browser. From this string, it is possible to reconstruct further details like the used browser and the operating system.

There are different online resources that allow decoding this information, for example: https://useragentapi.com

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7
Browser: Landing Page URL The first page the client landed on your site, before making the purchase. This allows you to analyze, which pages are the ones that drive most purchases eventually, and also allows you to draw conclusions about the effectiveness of your marketing efforts.

https://yourdomain.com/products/this-nice-tshirt-page
Browser: Referrer URL The site, where your customer came from when eventually made a purchase order. This allows you to understand, what are your most valuable traffic sources.

https://www.google.com?g=398798234
Browser: Referrer Domain Domain Since the Referrer URLs will be listed with all the URL parameters, it might be hard to conclude, which of the traffic sources give the most valuable traffic. That’s why this field contains just the domain of the referrer so that you can group them together when doing your analysis.

google.com
Browser: Search Keywords Text Keywords used in the search engines, when your store was found, which led to the order. This is an even deeper insight into how your customers find your store, and which keywords sell.

blue tshirt with thousand colors
Browser: Ad URL URL The destination URL that was included in your Ad. This allows you to know and measure, which URLs from your ad campaigns are most effective to produce orders.

https://yourdomain.com/some-page
Browser: UTM Source Text Source, extracted from UTM parameter “utm_source”.

For AdWords campaigns, those parameters are set automatically, but you can also send traffic to your store by filling them according to your needs.

Read more about UTM parameters here: https://ga-dev-tools.appspot.com/campaign-url-builder/

google
Browser: UTM Medium Text Medium, extracted from UTM parameter “utm_medium”.

cpc
Browser: UTM Campaign Text Campaign, extracted from UTM parameter “utm_campaign”.

spring_sale
Browser: UTM Term Text Term, extracted from UTM parameter “utm_term” – identifies the paid search keywords entered by the customer, when showing your ad campaign.

tshirt
Browser: UTM Content Text Content, extracted from UTM parameter “utm_content” – identifies the ad variation, or the specific element or version you are testing for your campaign.

button-a

Line Item Columns

Each Order must have at least one line item.

Column Allowed Values Description / Example Value
Line: Type
  • Line Item
  • Discount
  • Shipping Line
  • Transaction
  • Refund Line
  • Refund Shipping
  • Fulfillment Line
An order consists of “Line Items”, where each of them as a certain line type. That allows to group items together in a fashion that can be reconciled with actual order data, and most importantly – cross-check that all amounts match.

Some of the line types will have details in the Line Item columns, but some will have details in their own respective columns.

  • Line Item: Order line item.
  • Discount: Discount which is applied to the whole order. An Order can have only one discount line.
  • Shipping Line: Shipping cost of the whole order. An Order can have only one shipping line.
  • Transaction: Indicating that in this line the transaction columns are filled. Each transaction line represents one actual transaction for the Order. See more details in the Transaction Columns section. If the transaction is a refund transaction, then it can reference several refund lines – through common refund columns.
  • Refund Line: Line items that belong to a certain refund. Must have the same attributes filled for line items, and show the quantity and totals in reverse – depending on how much is being refunded. Also, the Refund Columns need to be filled for each refund line. One Order can have many refunds, with many refund lines per refund.
  • Refund Shipping: If you need to refund the Shipping Line, then those details need to be entered in this line. One refund can combine refund lines and refund shipping lines. Shipping can be refunded several times until the refunded amount fully exhausts the initial shipping line amount.
  • Fulfillment Line: Indicates that in this line the Fulfillment details are written. Each Order can have several Fulfillments. And each Fulfillment can have several Fulfillment Lines – one line per Line Item being fulfilled. An Order can have additional fulfillments until all line items fulfillable quantities are fulfilled completely.
Line Item
Line: ID Number The line identifier.

When exporting, the Shopify generated IDs will be used. Also, when importing, the IDs will be re-mapped to new IDs, which Shopify will generate.

Some lines need ID, some don’t, depending on the line type:

  • Line Item: each will have its own Line ID, generated by Shopify. When creating a new Order, can leave empty.
  • Discount: has no Line ID
  • Shipping Line: has an ID, generated by Shopify. When creating a new Order, can leave empty.
  • Transaction: has no Line ID, because Transaction ID is stored in the “Transaction: ID” column.
  • Refund Line: has the same ID as the Line Item that is being refunded. That allows to precisely match line items and refund lines in reports. When creating a new Order, can leave empty.
  • Refund Shipping: has a specific ID taken from the shipping refund entry. When creating a new Order, can leave empty.
  • Fulfillment Line: has the same ID as the Line Item that is being fulfilled. That allows to precisely match line items and fulfillment lines in reports. When creating a new Order, can leave empty.
728763138063
Line: Product ID Number Product ID of the line item, generated by Shopify – if the line item is a product.

Line items can be custom, without a link to the Product, in that case, the Product ID will be empty.

When importing an Order, can have a real product ID from the store. If such ID will not be found in the store (e.g. when copying Orders from another store), then the app will try to match it by “Line: Product Handle” column value.

200005386255
Line: Product Handle Text This is the secondary way, how to identify the product if it can’t be found by Product ID. It is used in cases when copying orders from one store to another, which have the same Products – then the right product will be linked to the order by the Handle.

tshirt-with-picture-of-me
Line: Title Text Has a different value, depending on the Line Type:

  • Line Item: the title of the Order line item. When importing, even if the actual linked product will have a different title, the Order line item title will be set to this one.
  • Discount: “percentage” or “fixed_amount”. Used only in the export. Import always assumes the fixed_amount type of discount.
  • Shipping Line: the shipping title written in free form.
  • Transaction: empty
  • Refund Line: must match the “Line: Title” of the line item that is being refunded, because it is used as part the key identifying the refunded line item.
  • Refund Shipping: empty
  • Fulfillment Line: must match the “Line: Title” of the item that is being fulfilled, because it is used as part the key identifying the fulfilled line item.
Tshirt With Picture Of Me
Line: Name Text Has a different value, depending on the Line Type:

  • Line Item: full name of the Order line item, which includes the variant title. Formatted: <product title> – <variant title>. When importing – it will be saved, but will not be visible anywhere on the Order screen.
  • Discount: the free text comment that was written for the discount. If the discount code was used, then it will be here.
  • Shipping Line: the shipping code, usually has value “custom”.
  • Transaction: empty
  • Refund Line: in export will match the line item name. In import can be anything – it will be saved, but will not be visible anywhere on the Order screen.
  • Refund Shipping: empty
  • Fulfillment Line: in export will match the line item name. In import can be anything – it will be saved, but will not be visible anywhere on the Order screen.
Tshirt With Picture Of Me - Red / XS
Line: Variant ID Number Variant ID of the line item, generated by Shopify – if the line item is a product.

In case of the custom line item, this ID will be empty.

When importing an Order, can have a real variant ID from the store. If such ID will not be found in the store for that product (e.g. when copying Orders from another store), then the app will try to match it by “Line: SKU” column value.

1834691428367
Line: Variant Title Text Has a different value, depending on the Line Type:

  • Line Item: the title of the product variant included in the line item.
  • Discount: empty
  • Shipping Line: the shipping source, usually “shopify”.
  • Transaction: empty
  • Refund Line: must match the “Line: Variant Title” of the line item that is being refunded, because it is used as part the key identifying the refunded line item.
  • Refund Shipping: empty
  • Fulfillment Line: must match the “Line: Variant Title” of the item that is being fulfilled, because it is used as part the key identifying the fulfilled line item.
Red / XS
Line: SKU Text Has a different value, depending on the Line Type:

  • Line Item: the SKU of the product variant included in the line item.
  • Discount: empty
  • Shipping Line: empty
  • Transaction: empty
  • Refund Line: must match the “Line: SKU” of the line item that is being refunded, because it is used as part the key identifying the refunded line item.
  • Refund Shipping: empty
  • Fulfillment Line: must match the “Line: SKU” of the item that is being fulfilled, because it is used as part the key identifying the fulfilled line item.
SKU-1234567
Line: Quantity Number Has a different value, depending on the Line Type:

  • Line Item: the quantity of the line item purchased.
  • Discount: empty
  • Shipping Line: empty
  • Transaction: empty
  • Refund Line: the quantity restocked back if a refund is done with restocking. The number is negative.
  • Refund Shipping: empty
  • Fulfillment Line: the quantity being fulfilled in that particular line of fulfillment. The number is negative.

Having positive and negative quantities in their respective lines allows summing this quantity column and will always give a quantity that still needs to be either fulfilled or refunded. Good for reporting.

100
Line: Price Currency Has a different value, depending on the Line Type:

  • Line Item: the price of one line item purchased.
  • Discount: empty
  • Shipping Line: the price of the shipping applied to the order.
  • Transaction: empty
  • Refund Line: must match the “Line: Price” of the line item that is being refunded, because it is used as part the key identifying the refunded line item.
  • Refund Shipping: the amount of shipping being refunded. Positive number.
  • Fulfillment Line: must match the “Line: Price” of the item that is being fulfilled, because it is used as part the key identifying the fulfilled line item.
5.49
Line: Discount Currency Has a different value, depending on the Line Type:

  • Line Item: line item discount. Can be entered only through Shopify Admin, and will be filled for the export. When importing, this value will be automatically added to the order discount, because Shopify doesn’t allow setting line item discounts through API. The amount is negative.
  • Discount: the whole order discount amount. The amount is negative.
  • Shipping Line: empty
  • Transaction: empty
  • Refund Line: empty
  • Refund Shipping: empty
  • Fulfillment Line: empty

Amounts in this column are organized so that you can sum all discount column per order, and get the correct total discount value for that Order.

49.00
Line: Total Currency Has a different value, depending on the Line Type:

  • Line Item: line item total as Quantity * Price + Discount (because Discount is negative).
  • Discount: the whole order discount amount. The amount is negative.
  • Shipping Line: the price of the shipping applied to the Order.
  • Transaction: empty
  • Refund Line: refunded line item total as “refunded quantity” * Price (result will be negative because refunded quantity is negative).
  • Refund Shipping: the total amount of shipping being refunded. Negative number.
  • Fulfillment Line: empty

Amounts in this column are organized so that you can sum all Line Totals per order, and get the correct total value for that Order. If the order is fully refunded, then the sum of all total lines for that Order must be 0.

500.00
Line: Grams Number Has a different value, depending on the Line Type:

  • Line Item: weight per line item sold (weight of one item).
  • Discount: empty
  • Shipping Line: empty
  • Transaction: empty
  • Refund Line: must match the “Line: Grams” of the item that is being refunded, because it is used as part the key identifying the fulfilled line item.
  • Refund Shipping: empty
  • Fulfillment Line: must match the “Line: Grams” of the item that is being fulfilled, because it is used as part the key identifying the fulfilled line item.
250
Line: Requires Shipping
  • TRUE
  • FALSE
Has a different value, depending on the Line Type:

  • Line Item: TRUE if the line item requires shipping.
  • Discount: empty
  • Shipping Line: empty
  • Transaction: empty
  • Refund Line: TRUE if the line item requires shipping.
  • Refund Shipping: empty
  • Fulfillment Line: TRUE if the line item requires shipping.
TRUE
Line: Vendor Text Vendor name of the product purchased.

Puma
Line: Gift Card
  • TRUE
  • FALSE
TRUE if the line item is a gift card.

FALSE
Line: Taxable
  • TRUE
  • FALSE
TRUE if the line item is taxable.

TRUE
Line: Tax 1 Title
Line: Tax 2 Title
Line: Tax 3 Title
Text Title of each applied tax.

Each order can have up to 3 different taxes applied, therefore all those are split into separate tax columns.

VAT
Line: Tax 1 Rate
Line: Tax 2 Rate
Line: Tax 3 Rate
Decimal Number The rate of the tax applied.

0.21
Line: Tax 1 Price
Line: Tax 2 Price
Line: Tax 3 Price
Currency The calculated tax in the order currency.

105.00
Line: Fulfillable Quantity Number The quantity of the line item that is still left to be fulfilled.

Only exported. For import this is calculated from actual fulfillments.

50
Line: Fulfillment Service
  • manual
  • amazon
  • shipware
  • <other privider handle>
Service provider handle who is doing the fulfillment.

To find out the handle, easiest is to enter one through the Shopify Admin, and then look in the export file.

Line: Fulfillment Status
  • fulfilled
  • partial
  • <empty>
Summary of the line item fulfillment status:

  • fulfilled: line item is fulfilled completely
  • partial: part of line item is fulfilled
  • <empty>: line item is not started to fulfill

Shipping Origin Columns

Shipping origin columns extend the rows of line type “Line Item” with additional information – the location and the warehouse from where the line items are being shipped. It can only be exported, as it is tied to the shipping provider actually used.

To be used for reporting and tracking of shipments.

Column Allowed Values Description / Example Value
Shipping Origin: Name Text The shipping origin name. If no shipping provider us used, then this will be the Shopify store contact address.
Shipping Origin: Country Code Text 2 character country code
Shipping Origin: Province Code Text 2 character province code
Shipping Origin: City Text Name of the city
Shipping Origin: Address 1 Text Address line 1
Shipping Origin: Address 2 Text Address line 2
Shipping Origin: Zip Text Zip code

Refund Columns

Refund columns extend the rows of line type “Refund Line”, and contain additional data about refunds.

Column Allowed Values Description / Example Value
Refund: ID Number The ID of the refund, generated by Shopify. Only exported.

When importing, need to be the same number for all the refund lines that belong to the same Refund. This number will be used to link those refund lines together and include them in that refund transaction.

1000
Refund: Created At Date & Time Date and time when the refund was created and processed.

2018-02-06 23:03:00 UTC
Refund: Note Text Note attached to the refund, usually explaining the refund reason.

Agreed with customer.
Refund: Restock
  • TRUE
  • FALSE
TRUE if the line items are being restocked. Meaning that quantities are increased back in stock.

TRUE

Transaction Columns

Transaction columns extend the rows of line type “Transaction”, and contain data about transactions.

Column Allowed Values Description / Example Value
Transaction: ID Number The ID of the transaction, generated by Shopify. Only exported.

When the transaction for a refund is created, it needs to have also the column “Refund: ID” filled with the same refund ID that was assigned to all refund line items. That way the transaction is linked to the refund.

280328273935
Transaction: Kind
  • authorization
  • sale
  • capture
  • refund
  • void
  • authorization: represents an amount reserved against the cardholder’s funding source. Money does not change hands until an authorization is captured by “capture” transaction. There can be only one authorization transaction per Order.
  • capture: transfer of the money that was reserved during the authorization stage. There can be several capture transactions per order, until they reach the total sum of authorization transaction.
  • sale: an authorization and capture performed together in a single step, usually by pressing the “Paid” button in the Shopify Admin. In this case there will be no associated card transaction. There can be only one sale transaction per Order.
  • refund: a partial or full return of captured funds. A refund can only happen after a capture or sale transaction, and cannot exceed their amount. There can be several refund transactions – one per Refund.
  • void: cancellation of a transaction.
Transaction: Created At Date & Time Date and time when the transaction was created. Only exported.

When importing, the transaction will be dated at the moment when it is being imported.

2018-02-06 23:03:00 UTC
Transaction: Amount Currency The transaction amount.

For the capture transactions, the amount can be less than authorization amount, so there can be several capture transactions.

For refund transactions the transaction amount can be different from the line items total amount being refunded, because sometimes there can be non-full refunds, or refunds that are bigger than the cost of line items.

Transaction: Currency Corrency code in ISO 4217 format The currency of the transaction.

Since the Shopify store can operate in just one currency, it’s best to have the transaction currency the same as the Order currency, and as the Store default currency. Shopify doesn’t do any currency conversions.

USD
Transaction: Status
  • success
  • pending
  • failure
  • error
The transaction status is mainly for the export.

When importing, there is no point importing transactions with statuses other than success.

Transaction: Message Text Transaction comment generated by the Shopify. Usually the name of the reply of the used payment gateway. Only exported.

Bogus Gateway: Forced success
Transaction: Gateway Text The name of the used payment gateway. Only exported.

bogus
Transaction: Test
  • TRUE
  • FALSE
TRUE if this is a test transaction.

FALSE
Transaction: Authorization Number Authorization code provided by the payment gateway. Only exported.

53433
Transaction: Error Code
  • incorrect_number
  • invalid_number
  • invalid_expiry_date
  • invalid_cvc
  • expired_card
  • incorrect_cvc
  • incorrect_zip
  • incorrect_address
  • card_declined
  • processing_error
  • call_issuer
  • pick_up_card
The error code, indicating the reason for failed transaction. The same codes for any payment gateway. Only exported.

expired_card
Transaction: CC AVS Result One character The Response code from AVS the address verification system. The code is a single letter; see this chart for the codes and their definitions. Only exported.
Transaction: CC Bin Number The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer’s credit card. This is made up of the first few digits of the credit card number. Only exported.

1
Transaction: CC CVV Result One character The Response code from the credit card company indicating whether the customer entered the card security code, a.k.a. card verification value, correctly. The code is a single letter or empty string; see this chart for the codes and their definitions.
Only exported.
Transaction: CC Number Masked Card Number The customer’s credit card number, with most of the leading digits masked with •. Only exported.

•••• •••• •••• 4242
Transaction: CC Company Text The name of the company who issued the customer’s credit card. Only exported.

Visa

Risk Columns

Each Order has an associated fraud risk evaluation from Shopify or other risk assessment service, which is exported to risk those columns.

Column Allowed Values Description / Example Value
Risk: Source Text The source of the risk assessment.

Shopify
Risk: Score Decimal number A number between 0 and 1 that is assigned to the order. The closer the score is to 1, the more likely it is that the order is fraudulent.

0.5
Risk: Recommendation
  • cancel
  • investigate
  • accept
Suggested recommendation for the action to take on the Order in terms of mitigating the risk:

  • cancel: This order should be cancelled by the merchant.
  • investigate: This order might be fraudulent and needs further investigation.
  • accept: This check found no indication of fraud.
Risk: Cause Cancel
  • TRUE
  • FALSE
This will indicate that this risk was severe enough to force cancellation of the order.
Risk: Message Text A message explaining the risk.

This order came from an anonymous proxy.

Fulfillment Columns

Each Order can have none, one or many fulfillments, which are essentially – the deliveries of ordered line items. Each fulfillment can contain one or many line items of different quantities.

Column Allowed Values Description / Example Value
Fulfillment: ID Number Fulfillment ID generated by Shopify.

Is used to group together line items into fulfillments. Those columns need to be filled for the Line: Type “Fulfillment Line”.

Rows with the same Fulfillment ID will be grouped into the same fulfillment.

When importing, you can invent your own Fulfillment ID, which will allow you to group line items into fulfillments.

311117676559
Fulfillment: Status
  • pending
  • open
  • success
  • cancelled
  • error
  • failure

 

The status of the fulfillment. Valid values are:

  • pending: The fulfillment is pending.
  • open: The fulfillment has been acknowledged by the service and is in processing.
  • success: The fulfillment was successful.
  • cancelled: The fulfillment was cancelled.
  • error: There was an error with the fulfillment request.
  • failure: The fulfillment request failed.
Fulfillment: Created At Date & Time Date and time when the fulfillment was created. Only exported.

When importing, the fulfillment will be dated at the moment when it is being imported.

2018-02-06 23:03:00 UTC
Fulfillment: Tracking Company Text The name of the tracking company – either empty or written exactly as in this list:

  • 4PX
  • APC
  • Amazon Logistics UK
  • Amazon Logistics US
  • Australia Post
  • Bluedart
  • Canada Post
  • China Post
  • Correios
  • DHL Express
  • DHL eCommerce
  • DHL eCommerce Asia
  • DPD
  • Delhivery
  • Eagle
  • FSC
  • FedEx
  • FedEx UK
  • GLS
  • Globegistics
  • Japan Post
  • New Zealand Post
  • Newgistics
  • PostNord
  • Purolator
  • Royal Mail
  • Sagawa (EN)
  • Sagawa (JA)
  • TNT
  • TNT Post
  • UPS
  • USPS
  • Yamato (EN)
  • Yamato (JA)
FedEx
Fulfillment: Shipment Status
  • confirmed
  • in_transit
  • out_for_delivery
  • delivered
  • failure
The status of the shipment.

delivered
Fulfillment: Tracking Number Text Tracking number provided by the shipping company.

112345Z2345
Fulfillment: Tracking URL URL The URL to track the shipment.

If provided, then it will be imported as given.

If empty, then Shopify will generate it from the tracking company and tracking number combination.

http://track-chinapost.com/startairmail.php?code=112345Z2345

Metafields

Read more detailed documentation on Metafields page.

Good To Know

  • You can only create new or replace existing Orders (by putting the same Name). At the moment you cannot yet update data of existing orders.
  • To import several line items to Order, just repeat the row with the same ID or Name.
  • When importing Orders from scratch, start by the minimal fields, and grow it up from there, using the REPLACE command.
  • Minimal fields are the Name and Line Item Title and Price.