Sample Files
Here are sample spreadsheets you can use to test the order import functionality:
Sample spreadsheet with basic columns: Orders_Sample.xlsx
Set payment terms for new orders: Orders_Sample_Payment_Terms.xlsx
General
ID
Description | Example Value |
Shopify order identifier |
|
If present, the ID will be used to identify existing orders for updates. When creating new orders, Altera will use this to group multiple rows together into a single order.
Name
Description | Example Value |
Order name/number |
|
The order name is used as a key to identify existing orders during import. Order names should be unique. If left empty, Shopify will generate the next sequential order number automatically.
Command
Description | Example Value |
Action to perform |
|
NEW: Create a new order (will fail if order already exists)
UPDATE: Update existing order (limited fields can be updated)
MERGE: Update existing order or create if not found
REPLACE: Delete and recreate the entire order with only data from the file
DELETE: Remove the order from the store
IGNORE: Skip this order during import
Send Receipt
Description | Example Value |
Send confirmation: TRUE, FALSE |
|
TRUE: Send order confirmation email to customer
FALSE: Do not send confirmation email (default)
Phone
Description | Example Value |
Contact phone number |
|
Phone number must include country code and be valid for the respective country. Can be different from the customer's phone number.
Description | Example Value |
Contact email address |
Contact email for the order. Can be different from the customer's email address. Must be a valid email format.
Note
Description | Example Value |
Internal order notes |
|
Internal notes about the order that are visible in Shopify Admin but not to customers.
Tags
Description | Example Value |
Order tags |
|
Comma-separated list of tags for filtering and organization purposes.
Tags Command
Description | Example Value |
Tag action |
|
MERGE: Add tags to existing tags (default)
DELETE: Remove the specified tags
REPLACE: Replace all existing tags with specified tags
Created At
Description | Example Value |
Order creation time - Export only |
|
The timestamp when the order was created. This field is export-only and cannot be imported. ISO-formatted timestamps are also supported.
Updated At
Description | Example Value |
Last modification time - Export only |
|
The timestamp when the order was last modified. This field is export-only and cannot be imported. ISO-formatted timestamps are also supported.
Processed At
Description | Example Value |
Order processing time |
|
The date and time when the order was processed. This appears in Shopify Admin and analytics reports. ISO-formatted timestamps are also supported.
Cancelled At
Description | Example Value |
Order cancellation time |
|
The timestamp when the order was cancelled. Empty if the order is not cancelled. ISO-formatted timestamps are also supported.
Currency
Description | Example Value |
Order currency |
|
Three-letter currency code in ISO 4217 format.
Source
Description | Example Value |
Order source/channel |
|
The channel where the order originated. When importing, you can set any custom value except Shopify reserved words (web, pos, iphone, android, shopify_draft_order).
Payment Status
Description | Example Value |
Payment status |
|
pending: Payments are pending (may fail)
authorized: Payments have been authorized
partially_paid: Order has been partially paid
paid: Payments have been paid
partially_refunded: Payments have been partially refunded
refunded: Payments have been refunded
voided: Payments have been voided
Fulfillment Status
Description | Example Value |
Order fulfillment status - Export only |
|
fulfilled: Every line item has been fulfilled
partial: At least one line item has been fulfilled
restocked: Every line item has been restocked and order cancelled
(empty): No fulfillments have been created
This field is export-only and cannot be imported.
Customer Information
Customer: ID
Description | Example Value |
Customer identifier |
|
Shopify-generated customer ID. If specified, the order will be linked to that customer. If empty, the app will search by email or phone.
Customer: Email
Description | Example Value |
Customer email |
Customer's email address. Used to find existing customers or create new ones if no customer ID is provided.
Customer: Phone
Description | Example Value |
Customer phone |
|
Customer's phone number with country code. Used as fallback to find existing customers if email is empty.
Customer: First Name
Description | Example Value |
Customer first name |
|
The customer's first name.
Customer: Last Name
Description | Example Value |
Customer last name |
|
The customer's last name.
Customer: Note
Description | Example Value |
Customer notes |
|
Notes about the customer visible in Shopify Admin.
Customer: State
Description | Example Value |
Customer status |
|
disabled: Customer is disabled (default until invited)
invited: Customer has been emailed an account invite
enabled: Customer accepted invite and created account
declined: Customer declined the email invite
Customer: Tax Exempt
Description | Example Value |
Tax exempt: TRUE, FALSE |
|
TRUE: Customer is exempt from taxes
FALSE: Customer is subject to normal tax rules
Addresses
Billing: First Name
Description | Example Value |
Billing address first name |
|
First name for the billing address.
Billing: Last Name
Description | Example Value |
Billing address last name |
|
Last name for the billing address. Required for billing address creation.
Billing: Company
Description | Example Value |
Billing company name |
|
Company name for billing address, if applicable.
Billing: Phone
Description | Example Value |
Billing phone number |
|
Phone number for billing address with country code.
Billing: Address 1
Description | Example Value |
Billing street address |
|
First line of billing address. Required for billing address creation.
Billing: Address 2
Description | Example Value |
Billing address line 2 |
|
Second line of billing address (optional).
Billing: City
Description | Example Value |
Billing city |
|
City for billing address. Required for billing address creation.
Billing: Province
Description | Example Value |
Billing province |
|
Province/state name for billing address. Must match Shopify's geographic classifier.
Billing: Province Code
Description | Example Value |
Billing province code |
|
Two-character province/state code.
Billing: Country
Description | Example Value |
Billing country |
|
Country name for billing address. Must match Shopify's geographic classifier. Required for billing address creation.
Billing: Country Code
Description | Example Value |
Billing country code |
|
Two-character country code for billing address.
Billing: Zip
Description | Example Value |
Billing zip code |
|
Postal/zip code for billing address.
Shipping: First Name
Description | Example Value |
Shipping address first name |
|
First name for the shipping address.
Shipping: Last Name
Description | Example Value |
Shipping address last name |
|
Last name for the shipping address.
Shipping: Company
Description | Example Value |
Shipping company name |
|
Company name for shipping address, if applicable.
Shipping: Phone
Description | Example Value |
Shipping phone number |
|
Phone number for shipping address with country code.
Shipping: Address 1
Description | Example Value |
Shipping street address |
|
First line of shipping address.
Shipping: Address 2
Description | Example Value |
Shipping address line 2 |
|
Second line of shipping address (optional).
Shipping: City
Description | Example Value |
Shipping city |
|
City for shipping address.
Shipping: Province
Description | Example Value |
Shipping province |
|
Province/state name for shipping address.
Shipping: Province Code
Description | Example Value |
Shipping province code |
|
Two-character province/state code.
Shipping: Country
Description | Example Value |
Shipping country |
|
Country name for shipping address.
Shipping: Country Code
Description | Example Value |
Shipping country code |
|
Two-character country code for shipping address.
Shipping: Zip
Description | Example Value |
Shipping zip code |
|
Postal/zip code for shipping address.
Line Items
Line: Type
Description | Example Value |
Line item type |
|
Line Item: Order line item
Discount: Order-level discount
Shipping Line: Shipping cost
Transaction: Payment transaction
Refund Line: Refunded line item
Refund Shipping: Refunded shipping
Fulfillment Line: Fulfilled line item
Ignore: Custom line for formulas (ignored by app)
Line: ID
Description | Example Value |
Line item identifier |
|
Unique identifier for the line item. Generated by Shopify for existing items, can be any unique number for new orders.
Line: Product ID
Description | Example Value |
Product identifier |
|
Shopify product ID for the line item. If not found, the app will try to match by handle or SKU.
Line: Product Handle
Description | Example Value |
Product handle |
|
Used as secondary method to identify products when Product ID is not available.
Line: Title
Description | Example Value |
Line item title |
|
The title of the order line item. Can be set independently of the linked product title.
Line: Variant ID
Description | Example Value |
Product variant ID |
|
Shopify variant ID for the line item. If not found, the app will try to match by SKU.
Line: Variant Title
Description | Example Value |
Product variant title |
|
The title of the product variant included in the line item.
Line: SKU
Description | Example Value |
Product SKU |
|
The SKU of the product variant. Used to identify products when ID and handle are not available.
Line: Quantity
Description | Example Value |
Item quantity |
|
The quantity of the line item purchased.
Line: Price
Description | Example Value |
Unit price |
|
The price of one line item unit.
Line: Discount
Description | Example Value |
Line item discount |
|
Discount amount applied to the line item. Negative value.
Line: Total
Description | Example Value |
Line item total - Export only |
|
Calculated as (Quantity × Price) + Discount. This field is export-only and cannot be imported.
Line: Grams
Description | Example Value |
Item weight |
|
Weight per line item in grams.
Line: Requires Shipping
Description | Example Value |
Requires shipping: TRUE, FALSE |
|
TRUE: Line item requires shipping
FALSE: Line item does not require shipping (e.g., digital products)
Line: Vendor
Description | Example Value |
Product vendor |
|
Vendor name of the product purchased.
Line: Name
Description | Example Value |
Line item name |
|
The full name of the line item, including variant details. This is typically the product title combined with variant options.
Line: Discount Allocation
Description | Example Value |
Discount allocation information |
|
Information about how discounts are allocated to this specific line item.
Line: Discount per Item
Description | Example Value |
Discount per unit item |
|
The discount amount applied per individual unit of this line item.
Line: Properties
Description | Example Value |
Custom line item properties |
|
Custom properties or attributes associated with the line item. Format as comma-separated key: value pairs with each key and value on a new line. When viewing the spreadsheet in Excel you may need to expand the row height to see the full value.
Line: Gift Card
Description | Example Value |
Gift card: TRUE, FALSE |
|
TRUE: Line item is a gift card
FALSE: Line item is a regular product
Line: Force Gift Card
Description | Example Value |
Force gift card: TRUE, FALSE |
|
TRUE: Force this line item to be treated as a gift card regardless of product type
FALSE: Use the product's default gift card setting
Line: Taxable
Description | Example Value |
Taxable: TRUE, FALSE |
|
TRUE: Line item is subject to tax
FALSE: Line item is tax-exempt
Line: Tax Total
Description | Example Value |
Total tax amount |
|
The total amount of tax applied to this line item across all tax rates.
Line: Tax 1 Title
Description | Example Value |
First tax name |
|
The name or title of the first tax applied to this line item.
Line: Tax 1 Rate
Description | Example Value |
First tax rate |
|
The rate (as a decimal) of the first tax applied to this line item. Example: 0.08 = 8%.
Line: Tax 1 Price
Description | Example Value |
First tax amount |
|
The monetary amount of the first tax applied to this line item.
Line: Tax 2 Title
Description | Example Value |
Second tax name |
|
The name or title of the second tax applied to this line item.
Line: Tax 2 Rate
Description | Example Value |
Second tax rate |
|
The rate (as a decimal) of the second tax applied to this line item. Example: 0.02 = 2%.
Line: Tax 2 Price
Description | Example Value |
Second tax amount |
|
The monetary amount of the second tax applied to this line item.
Line: Tax 3 Title
Description | Example Value |
Third tax name |
|
The name or title of the third tax applied to this line item.
Line: Tax 3 Rate
Description | Example Value |
Third tax rate |
|
The rate (as a decimal) of the third tax applied to this line item. Example: 0.01 = 1%.
Line: Tax 3 Price
Description | Example Value |
Third tax amount |
|
The monetary amount of the third tax applied to this line item.
Line: Fulfillable Quantity
Description | Example Value |
Quantity available for fulfillment |
|
The quantity of this line item that can still be fulfilled. This is typically the ordered quantity minus any already fulfilled quantity.
Line: Fulfillment Service
Description | Example Value |
Fulfillment service name |
|
The name of the fulfillment service responsible for fulfilling this line item. Common values include manual
, amazon
, shipwire
, etc.
Line: Fulfillment Status
Description | Example Value |
Line item fulfillment status |
|
fulfilled: Line item has been fulfilled
partial: Line item has been partially fulfilled
unfulfilled: Line item has not been fulfilled
(empty): No fulfillment status set
Line: Pre Tax Price
Description | Example Value |
Price before tax |
|
The price of the line item before any taxes are applied.
Transactions
Transaction: ID
Description | Example Value |
Transaction ID - Export only |
|
Shopify-generated transaction identifier. This field is export-only and cannot be imported.
Transaction: Kind
Description | Example Value |
Transaction type |
|
authorization: Amount reserved against funding source
capture: Transfer of authorized money
sale: Authorization and capture in one step
refund: Partial or full return of captured funds
void: Cancellation of a transaction
Transaction: Amount
Description | Example Value |
Transaction amount |
|
The amount of the transaction in the order currency.
Transaction: Currency
Description | Example Value |
Transaction currency |
|
Currency code for the transaction. Should match the order currency.
Transaction: Status
Description | Example Value |
Transaction status |
|
success: Transaction completed successfully
pending: Transaction is pending
failure: Transaction failed
error: Transaction error occurred
Transaction: Gateway
Description | Example Value |
Payment gateway |
|
The name of the payment gateway used for the transaction.
Fulfillments
Fulfillment: ID
Description | Example Value |
Fulfillment identifier |
|
Shopify-generated fulfillment ID. Used to group line items into fulfillments.
Fulfillment: Status
Description | Example Value |
Fulfillment status |
|
success: Fulfillment was successful
cancelled: Fulfillment was cancelled
Fulfillment: Tracking Company
Description | Example Value |
Shipping carrier |
|
Name of the tracking company. Must match Shopify's supported tracking companies. Read tracking information updates for how to change tracking information for existing orders.
Fulfillment: Tracking Number
Description | Example Value |
Tracking number |
|
Tracking number provided by the shipping company. Read tracking information updates for how to change tracking information for existing orders.
Fulfillment: Tracking URL
Description | Example Value |
Tracking URL |
|
URL for tracking the shipment provided by the shipping company. Read tracking information updates for how to change tracking information for existing orders.
Fulfillment: Location
Description | Example Value |
Fulfillment location |
|
Name of the location where the fulfillment is shipped from.
Fulfillment: Send Receipt
Description | Example Value |
Send notification: TRUE, FALSE |
|
If TRUE
, Shopify will send a notification email to the customer when the fulfillment is created or updated.
TRUE: Send fulfillment notification email to customer
FALSE: Do not send notification (default)
Payment Terms
Payment Terms: Type
Description | Example Value |
Payment terms |
|
The type of payment terms applied to the order. If you are using payment terms you need to use one of the following values:
Due on receipt: Payment due immediately upon receipt
Due on fulfillment: Payment due when order is fulfilled
Net 7: Payment due 7 days after invoice
Net 15: Payment due 15 days after invoice
Net 30: Payment due 30 days after invoice
Net 45: Payment due 45 days after invoice
Net 60: Payment due 60 days after invoice
Net 90: Payment due 90 days after invoice
Fixed date: Payment due on a specific fixed date
Shopify does not support custom 'Net X' payment terms. For example, 'Net 14' is not supported.
Payment Terms: Issued At
Description | Example Value |
The date from which 'Net X' payment terms are calculated |
|
The date and time when payment terms were issued to the customer. ISO-formatted timestamps are also supported. This field is used with the Net X
payment terms types. If you do not set this field, the app will use the current date.
Payment Terms: Due At
Description | Example Value |
When the payment is due |
|
The date when payment is due according to the payment terms. ISO-formatted timestamps are also supported. This field is only required if you use the Fixed date
payment terms type.
Payment Terms: Completed At
Description | Example Value |
Payment completion date - Export only |
|
The date and time when payment terms were completed or paid in full. Empty if payment is still pending. ISO-formatted timestamps are also supported.
Payment Terms: Overdue
Description | Example Value |
Payment terms overdue - Export only |
|
Indicates whether the payment for the order is past due.
TRUE: Payment is overdue based on the due date
FALSE: Payment is not overdue or has been completed
Refunds
Refund: ID
Description | Example Value |
Refund identifier |
|
Shopify-generated refund ID. Used to group refund lines together.
Refund: Note
Description | Example Value |
Refund reason |
|
Note explaining the reason for the refund.
Refund: Restock
Description | Example Value |
Restock items: TRUE, FALSE |
|
TRUE: Add refunded items back to inventory
FALSE: Do not restock items
Refund: Send Receipt
Description | Example Value |
Send notification: TRUE, FALSE |
|
TRUE: Send refund notification to customer
FALSE: Do not send notification (default)
Metafields and SEO
Metafields can be imported and exported with orders to store custom metadata and additional attributes.
For detailed information about working with metafields, see our Metafields guide.
Export Filters
You can use these filters to limit which orders are exported:
id
: Filter by order IDname
: Filter by order name/numbercreated_at
: Filter by creation dateupdated_at
: Filter by last update dateprocessed_at
: Filter by processing datetags
: Filter by order tagsstatus
: Filter by order status (open, closed, cancelled)payment_status
: Filter by payment statusfulfillment_status
: Filter by fulfillment statuscustomer_id
: Filter by customerbilling_country_code
: Filter by billing countryshipping_country_code
: Filter by shipping countryline_product_handle
: Filter by products in orderline_sku
: Filter by SKUs in order
Updating Orders
When updating existing orders, only a limited set of fields can be modified. Most order information becomes read-only after the order is created, but you can update these specific fields:
Supported Update Fields
The following fields can be updated on existing orders:
Note: Internal order notes
Tags: Order tags (use Tags Command to control merge/replace behavior)
Email: Contact email address
Shipping: First Name: Shipping address first name
Shipping: Last Name: Shipping address last name
Shipping: Company: Shipping company name
Shipping: Phone: Shipping phone number
Shipping: Address 1: Shipping street address
Shipping: Address 2: Shipping address line 2
Shipping: Zip: Shipping zip code
Shipping: Province: Shipping province/state name
Shipping: Province Code: Shipping province/state code
Fulfillment: ID: Fulfillment identifier
Fulfillment: Status: Fulfillment status
Fulfillment: Tracking Company: Shipping carrier
Fulfillment: Tracking Number: Tracking number
Fulfillment: Tracking URL: Tracking URL
Additional Details: Custom attributes for the order
Tracking Information Updates
When updating tracking information for fulfillments, the following logic applies:
If Fulfillment: ID is present: The specified fulfillment will have the tracking information added or updated
If no Fulfillment: ID is provided, but the order has existing fulfillments: The most recent fulfillment will be updated with the new tracking information
If no Fulfillment: ID is provided and the order has no existing fulfillments: A new fulfillment will be created for the order with the provided tracking information
This ensures that tracking information is always properly associated with the correct fulfillment, whether you're updating existing fulfillments or creating new ones.