Skip to main content

Order Fields

Each order contains details about the customer, items purchased, payments, fulfillment, and more.

Updated this week

Sample Files

Here are sample spreadsheets you can use to test the order import functionality:

General

ID

Description

Example Value

Shopify order identifier

12345678

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

#1001

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

MERGE

  • 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

FALSE

  • TRUE: Send order confirmation email to customer

  • FALSE: Do not send confirmation email (default)

Phone

Description

Example Value

Contact phone number

+13125550123

Phone number must include country code and be valid for the respective country. Can be different from the customer's phone number.

Email

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

Priority shipping requested

Internal notes about the order that are visible in Shopify Admin but not to customers.

Tags

Description

Example Value

Order tags

wholesale, urgent

Comma-separated list of tags for filtering and organization purposes.

Tags Command

Description

Example Value

Tag action

REPLACE

  • 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

2024-12-05 06:12:35 -0500

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

2024-12-05 06:12:35 -0500

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

2024-12-05 06:12:35 -0500

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

2024-12-05 06:12:35 -0500

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

USD

Three-letter currency code in ISO 4217 format.

Source

Description

Example Value

Order source/channel

online_store

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

paid

  • 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

  • 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

987654

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

+13125550123

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

Jane

The customer's first name.

Customer: Last Name

Description

Example Value

Customer last name

Smith

The customer's last name.

Customer: Note

Description

Example Value

Customer notes

VIP customer

Notes about the customer visible in Shopify Admin.

Customer: State

Description

Example Value

Customer status

enabled

  • 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

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

John

First name for the billing address.

Billing: Last Name

Description

Example Value

Billing address last name

Smith

Last name for the billing address. Required for billing address creation.

Billing: Company

Description

Example Value

Billing company name

Smith Inc.

Company name for billing address, if applicable.

Billing: Phone

Description

Example Value

Billing phone number

+13125550123

Phone number for billing address with country code.

Billing: Address 1

Description

Example Value

Billing street address

123 Main St

First line of billing address. Required for billing address creation.

Billing: Address 2

Description

Example Value

Billing address line 2

Suite 100

Second line of billing address (optional).

Billing: City

Description

Example Value

Billing city

New York

City for billing address. Required for billing address creation.

Billing: Province

Description

Example Value

Billing province

New York

Province/state name for billing address. Must match Shopify's geographic classifier.

Billing: Province Code

Description

Example Value

Billing province code

NY

Two-character province/state code.

Billing: Country

Description

Example Value

Billing country

United States

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

US

Two-character country code for billing address.

Billing: Zip

Description

Example Value

Billing zip code

10001

Postal/zip code for billing address.

Shipping: First Name

Description

Example Value

Shipping address first name

John

First name for the shipping address.

Shipping: Last Name

Description

Example Value

Shipping address last name

Smith

Last name for the shipping address.

Shipping: Company

Description

Example Value

Shipping company name

Smith Inc.

Company name for shipping address, if applicable.

Shipping: Phone

Description

Example Value

Shipping phone number

+1-555-0123

Phone number for shipping address with country code.

Shipping: Address 1

Description

Example Value

Shipping street address

123 Main St

First line of shipping address.

Shipping: Address 2

Description

Example Value

Shipping address line 2

Suite 100

Second line of shipping address (optional).

Shipping: City

Description

Example Value

Shipping city

New York

City for shipping address.

Shipping: Province

Description

Example Value

Shipping province

New York

Province/state name for shipping address.

Shipping: Province Code

Description

Example Value

Shipping province code

NY

Two-character province/state code.

Shipping: Country

Description

Example Value

Shipping country

United States

Country name for shipping address.

Shipping: Country Code

Description

Example Value

Shipping country code

US

Two-character country code for shipping address.

Shipping: Zip

Description

Example Value

Shipping zip code

10001

Postal/zip code for shipping address.

Line Items

Line: Type

Description

Example Value

Line item type

Line Item

  • 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

728763138063

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

200005386255

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

tshirt-with-picture-of-me

Used as secondary method to identify products when Product ID is not available.

Line: Title

Description

Example Value

Line item title

Tshirt With Picture Of Me

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

1834691428367

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

Red / XS

The title of the product variant included in the line item.

Line: SKU

Description

Example Value

Product SKU

SKU-1234567

The SKU of the product variant. Used to identify products when ID and handle are not available.

Line: Quantity

Description

Example Value

Item quantity

2

The quantity of the line item purchased.

Line: Price

Description

Example Value

Unit price

29.99

The price of one line item unit.

Line: Discount

Description

Example Value

Line item discount

-5.00

Discount amount applied to the line item. Negative value.

Line: Total

Description

Example Value

Line item total - Export only

54.98

Calculated as (Quantity × Price) + Discount. This field is export-only and cannot be imported.

Line: Grams

Description

Example Value

Item weight

250

Weight per line item in grams.

Line: Requires Shipping

Description

Example Value

Requires shipping: TRUE, FALSE

TRUE

  • TRUE: Line item requires shipping

  • FALSE: Line item does not require shipping (e.g., digital products)

Line: Vendor

Description

Example Value

Product vendor

Nike

Vendor name of the product purchased.

Line: Name

Description

Example Value

Line item name

Tshirt With Picture Of Me - Red

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

5.00

Information about how discounts are allocated to this specific line item.

Line: Discount per Item

Description

Example Value

Discount per unit item

2.50

The discount amount applied per individual unit of this line item.

Line: Properties

Description

Example Value

Custom line item properties

Color: Red, Size: Large, Gift: TRUE

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

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

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

  • TRUE: Line item is subject to tax

  • FALSE: Line item is tax-exempt

Line: Tax Total

Description

Example Value

Total tax amount

4.20

The total amount of tax applied to this line item across all tax rates.

Line: Tax 1 Title

Description

Example Value

First tax name

State Tax

The name or title of the first tax applied to this line item.

Line: Tax 1 Rate

Description

Example Value

First tax rate

0.08

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

2.40

The monetary amount of the first tax applied to this line item.

Line: Tax 2 Title

Description

Example Value

Second tax name

County Tax

The name or title of the second tax applied to this line item.

Line: Tax 2 Rate

Description

Example Value

Second tax rate

0.02

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

0.60

The monetary amount of the second tax applied to this line item.

Line: Tax 3 Title

Description

Example Value

Third tax name

City Tax

The name or title of the third tax applied to this line item.

Line: Tax 3 Rate

Description

Example Value

Third tax rate

0.01

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

0.30

The monetary amount of the third tax applied to this line item.

Line: Fulfillable Quantity

Description

Example Value

Quantity available for fulfillment

2

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

manual

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

  • 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

25.00

The price of the line item before any taxes are applied.

Transactions

Transaction: ID

Description

Example Value

Transaction ID - Export only

280328273935

Shopify-generated transaction identifier. This field is export-only and cannot be imported.

Transaction: Kind

Description

Example Value

Transaction type

sale

  • 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

123.99

The amount of the transaction in the order currency.

Transaction: Currency

Description

Example Value

Transaction currency

USD

Currency code for the transaction. Should match the order currency.

Transaction: Status

Description

Example Value

Transaction status

success

  • success: Transaction completed successfully

  • pending: Transaction is pending

  • failure: Transaction failed

  • error: Transaction error occurred

Transaction: Gateway

Description

Example Value

Payment gateway

paypal

The name of the payment gateway used for the transaction.

Fulfillments

Fulfillment: ID

Description

Example Value

Fulfillment identifier

311117676559

Shopify-generated fulfillment ID. Used to group line items into fulfillments.

Fulfillment: Status

Description

Example Value

Fulfillment status

success

  • success: Fulfillment was successful

  • cancelled: Fulfillment was cancelled

Fulfillment: Tracking Company

Description

Example Value

Shipping carrier

FedEx

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

1234567890

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

https://www.fedex.com/fedextrack/?trknbr=1234567890

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

Main Warehouse

Name of the location where the fulfillment is shipped from.

Fulfillment: Send Receipt

Description

Example Value

Send notification: TRUE, FALSE

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

Net 30

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

2024-12-05 06:12:35 -0500

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

2024-12-05 06:12:35 -0500

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

2024-12-05 06:12:35 -0500

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

FALSE

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

123123123

Shopify-generated refund ID. Used to group refund lines together.

Refund: Note

Description

Example Value

Refund reason

Customer requested return

Note explaining the reason for the refund.

Refund: Restock

Description

Example Value

Restock items: TRUE, FALSE

TRUE

  • TRUE: Add refunded items back to inventory

  • FALSE: Do not restock items

Refund: Send Receipt

Description

Example Value

Send notification: TRUE, FALSE

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 ID

  • name: Filter by order name/number

  • created_at: Filter by creation date

  • updated_at: Filter by last update date

  • processed_at: Filter by processing date

  • tags: Filter by order tags

  • status: Filter by order status (open, closed, cancelled)

  • payment_status: Filter by payment status

  • fulfillment_status: Filter by fulfillment status

  • customer_id: Filter by customer

  • billing_country_code: Filter by billing country

  • shipping_country_code: Filter by shipping country

  • line_product_handle: Filter by products in order

  • line_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:

  1. If Fulfillment: ID is present: The specified fulfillment will have the tracking information added or updated

  2. If no Fulfillment: ID is provided, but the order has existing fulfillments: The most recent fulfillment will be updated with the new tracking information

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

Did this answer your question?