Orders Template

The Orders template for the import/export tools describes orders in your system, including their current status, the account that placed them, their total value, where they are shipped, the products they contain, and so on.

You cannot import orders using the Kibo eCommerce Import/Export tools. Importing orders is a complex process and must be done via the Kibo eCommerce API. Kibo eCommerce strongly recommends contacting your professional services representative if you want to import orders from a previous eCommerce solution to Kibo eCommerce. Refer to Order API documentation for more information and examples of importing orders using the API.

Orders template file content with example data

Access the Tools

With the Mozu Import-Export Application installed and enabled, go to Main > Fulfillment > Import/Export in Kibo eCommerce Admin.

Supported File Formats

  • CSV (.csv): Each sheet is a separate CSV file. For both imports and exports, sheets are compressed into a ZIP file. When importing, the ZIP file can have any file name but each individual CSV file name must match the export file name and the sheet. You can remove CSV files for data you do not want to import.

These CSV files should not be opened in Excel, as that may cause errors with their formatting. Instead, use a different CSV editing program to make changes to the data.

You should only use the default Windows zipper to zip the files, as using different software may cause errors. You can upload multiple files at once as long as they all are zipped.

Date Filters and Time Zones

When you export orders, you can use the date filters in combination with the time zone selector to accurately target the orders you want to export.

For example, you can use the time zone selector with a created date filter to export all completed orders created from 6am CSD on April 1st to 6am CSD on May 1st:

Orders import/export file options with callouts for the time zone and filters

The Order template supports the following date filters: Created Date, Submitted Date, and Modified Date.

The time zone selector automatically defaults to your local browser time, but you can select a different time zone as needed.

Template Key

For each sheet, we define each column and describe valid values for the column. Some values are not required for an import, but are required Kibo eCommerce data. For example, you do not have to specify a customer's FirstName every time you modify the customer account, but all customer accounts require a FirstName when they are created. If you have questions or concerns specific to your data, please contact your integration partner or Kibo eCommerce Support.

Information Provided for Each Sheet of the Template
Corresponding REST API ResourceEvery column in a sheet corresponds to a property in the Kibo eCommerce REST API. For each sheet, we provide a link to any API resources that contain properties in the sheet.
Column NameThe name of the column in the sheet.
DescriptionA description of the data a column contains.
Valid ValuesLists valid values for the column.

Sheets

Orders

Corresponding REST API Resource: commerce/orders

This sheet describes high-level details about orders, including who placed them, the current status, the sub-total, shipping status and location, and so on. The actual products included in an order are described on the OrderLineItems sheet.

Column NameDescriptionValid Values
SiteIdThe unique identifier for the site that took the order. This number can be found in the URL of the live site as well as some areas of the Admin, such as under System > Structure > Site, preceded by an "s-". For example: https://t0000.sandbox.mozu.com/Admin/s-11111/website in a sandbox environment.Any integer that is a valid site ID.
Order NumberThe order number that the customer sees on the storefront when they place the order.Any integer that is unique among all order numbers.
CheckoutIDThe unique identifier of the checkout.Any string that is a valid checkout ID.
Customer Account IDThe unique identifier for the customer account that placed the order.Any integer that is a unique customer account ID.
IP AddressThe IP address of the device used to place the order.Any integer.
CommentsAny notes that were entered and saved with the order. Comments can be entered by customers or through Admin.Any string.
StatusThe current status of the order.A string matching one of the following:
  • Pending
  • Submitted
  • Processing
  • Completed
  • Cancelled
  • Abandoned
  • Validated
  • Accepted
  • PendingReview
  • Errored
Shipping TotalThe calculated total shipping amount for the order, including tax. Kibo eCommerce uses a combination of shipping location, shipping method, and product information such as the package size and weight to calculate this total.Any decimal value.
TaxThe total calculated tax for the order. This value is the combined total of the Shipping Tax, the Handling Tax, and the Item Tax.Any decimal value.
TotalThe total calculated amount for the entire order, including all shipping and taxes.Any decimal value.
CurrencyThe currency for the monetary amounts.Any three-letter currency code. For example: USD.
Tax ExemptIndicates whether the order is tax exempt.A Boolean value, specified as TRUE or FALSE.
Sub TotalThe estimated subtotal for all items in the cart, excluding shipping or tax.Any decimal value.
Shipping TaxThe total calculated tax on the shipping charges for the order.Any decimal value.
Handling AmountThe handling cost for the order. This value includes all handling costs for each line item in the order, excluding taxes and discounts.Any decimal value. This value is not calculated for digital delivery or in-store pickup.
Handling TaxThe total calculated tax on the handling charges for the order.Any decimal value.
Item TaxThe total calculated tax on all the items in the order.Any decimal value.
Discounted Sub TotalThe subtotal for all items in the order, including costs associated with shopper-defined options or extras and any applied discounts.Any decimal value.
Discount TotalThe estimated total of all discounts applied to the order.Any decimal value.
Fee TotalThe calculated total of all fees incurred on the order.Any decimal value.
Shipment StatusThe current shipping, or fulfillment, status of the order.A string matching one of the following:
  • Fulfilled
  • NotFulfilled
  • PartiallyFulfilled
Payment StatusThe current payment status of the order.A string matching one of the following:
  • Unpaid
  • Pending
  • Paid
Return StatusThe status of the return, if the customer chose to return an item in the order. If there is no return associated with the order, this value is None.A string matching one of the following:
  • None
  • InProgress
  • ReturnedInFull
Shipping MethodThe shipping method the customer selected for the order.A string matching any shipping method you configured for the site in Kibo eCommerce. For example: FedEx 2Day or Flat Rate
Shipping Contact First NameThe first name of the person receiving the shipment or picking up the order.Any string.
Shipping Contact Last NameThe last name of the person receiving the shipment or picking up the order.Any string.
Shipping Contact EmailThe email address of the person receiving the shipment or picking up the order.Any string.
Shipping Address1The first line of the shipping address.Any string. Character limit: 200.
Shipping Address2The second line of the shipping address.Any string. Character limit: 200.
Shipping Address3The third line of the shipping address.Any string. Character limit: 200.
Shipping Address4The fourth line of the shipping address.Any string. Character limit: 200.
Shipping CityThe city or town name for the shipping address.Any string.
Shipping StateThe state, province, or territory for the shipping address, typically expressed as a two-letter code. For example, TX.Any string.
Shipping CountryThe 2-letter ISO country code for the country in the shipping address.Any 2-letter country code.
Shipping Postal CodeThe postal code or zip code for the shipping address.Any string. This can be a full 9-digit code with a dash or an international postal code.
Shipping Contact Home PhoneThe home phone number of the person receiving the shipment or picking up the order.Any string. This field supports spaces and characters.
Billing Contact First NameThe first name of the person getting billed for the order.Any string.
Billing Contact Last NameThe last name of the person getting billed for the order.Any string.
Billing Contact EmailThe email address of the person getting billed for the order.Any string.
Billing Address1The first line of the billing address.Any string. Character limit: 200.
Billing Address2The second line of the billing address.Any string. Character limit: 200.
Billing Address3The third line of the billing address.Any string. Character limit: 200.
Billing Address4The fourth line of the billing address.Any string. Character limit: 200.
Billing CityThe city or town name for the billing address.Any string.
Billing StateThe state, province, or territory for the billing address, typically expressed as a two-letter code. For example, TX.Any string.
Billing CountryThe 2-letter ISO country code for the country in the billing address.Any 2-letter country code.
Billing Postal CodeThe postal code or zip code for the billing address.Any string. This can be a full 9-digit code with a dash or an international postal code.
Billing Contact Home PhoneThe home phone number of the person getting billed for the order.Any string. This field supports spaces and characters.
Submitted OnThe date and time at which the order was submitted.A date and time in UTC format.

OrderLineItems

Corresponding REST API Resource: commerce/orders

This sheet describes the line items or products included in each order, including the quantity requested, the subtotal, any discounts, and so on. If an order contains multiple items, each item is a new line in the sheet.

Column NameDescriptionValid Values
Order NumberThe order number that the customer sees on the storefront when they place the order.Any integer that is unique among all order numbers.
Product CodeThe unique identifier for the product or line item. You use this code throughout Kibo eCommerce to refer to the product.Any number that is unique among all product codes in the master catalog. If the customer selects a product variation, this value is the code for the base product.
Product Variation CodeThe unique identifier for the variation of the product that the customer selected.Any string. For simplicity, this string is typically created by appending a hyphen and number to the ProductCode. For example, Product Code 133188 can have a Variation Code of 133188-1.
Product NameThe name of the product.Any string.
Item QtyThe quantity of the product that the customer ordered.Any integer.
Is TaxableIndicates whether the item is subject to taxation.A Boolean value. If empty, the item is taxable.
Sub TotalThe subtotal for just this item. This value does not include any taxes, shipping, or handling.Any decimal value.
Taxable TotalThe total monetary amount that is taxable for the item. This value is typically the same as the subtotal for the item, before any discounts are applied.Any decimal value.
Discount TotalThe total monetary amount of discounts applied to the item.Any decimal value.
TotalThe total for the item, including all taxes, fees, and discounts.Any decimal value.

OrderPayments

Corresponding REST API Resource: commerce/orders/payments

This sheet describes the payments that have been applied to an order. If multiple payments are applied to the same order, each payment appears on a new line in the spreadsheet.

Column NameDescriptionValid Values
Order NumberThe order number that the customer sees on the storefront when they place the order.Any integer that is unique among all order numbers.
Payment TypeThe type of payment applied to the order.A string matching one of the following:
  • CreditCard
  • Check
  • StoreCredit
  • A third-party payment provider such as PayPal or Amazon.
Payment WorkflowThe workflow in which the payment was processed. For most payment gateways, this will be Mozu.A string matching a supported workflow. For example:
  • Mozu
  • VisaCheckout
  • PayPalExpress2
  • PayWithAmazon
Mozu IdThe unique identifier for the payment in Kibo eCommerce. This is the Authorization ID that appears for the payment in Admin.A 32-character, case-insensitive, alphanumeric string.
External Reference IdThe external/third-party transaction ID for this payment. This field is used to store the transaction ID from a digital wallet, such as Visa Checkout. This value appears as the Reference ID for the payment in Admin.Any string that is a valid transaction ID from a third-party payment provider.
Card TypeThe type of credit card used for a credit card payment.A string such as VISA or AMEX.
Amount RequestedThe total amount originally requested for this payment.Any decimal value.
Amount CollectedThe total amount collected for this payment.Any decimal value.
Transaction HistoryTransaction information for the payment. If multiple interaction types (such as authorize and capture) occur for the payment, info for each type appears on a new line in the cell.A string in the format: [Transaction ID] - [Interaction Type] - [Amount Requested]. For example: 2222222222 - Authorized - 53.13

OrderPackages

Corresponding REST API Resource: commerce/orders/packages

This sheet describes the packages associated with an order for shipment or in-store pickup.

Column NameDescriptionValid Values
CodeThe unique identifier of the package.Any string. This string displays underneath the Package field in the Fulfillment tab of the Orders editor in Admin.
Fulfillment DateThe date and time when a shipment completes fulfillment by delivery to a customer's physical address or through in-store pickup.A date and time in UTC format.
Fulfillment Location CodeThe code that identifies the location used to fulfill the package, be it a physical store location for in-store pickup or a warehouse location that creates a shipment.Any string that matches an existing location code.
IdThe unique identifier of the package.This is a read-only, system-generated ID. If you are creating an import of a package, leave this field blank.
Order NumberThe order number that the customer sees on the storefront when they place the order.Any integer that is unique among all order numbers and matches an existing order number.
Package ItemsThe product codes and quantities of the products contained in the package.A string specifying the product codes and quantities in the following format: productCode, Qty : quantity. When specifying multiple products in a package, place each product on a new line. For example:

PSU-001-650W, Qty : 1
CPU-6800, Qty : 1
Package TypeSpecifies how the package is fulfilled.Either Shipping or Pickup.
Packaging TypeThe type of the physical package.Possible values include Tube, Letter, Pak, Carrier_Box_Small, Carrier_Box_Medium, Carrier_Box_Large, or Custom.
Shipment IdUnique identifier of the shipment associated with the package.This is a read-only, system-generated ID. If you are creating an import of a package, leave this field blank.

When a package is first created, it is not associated with a shipment, so this field may display blank in an export. However, once the CreatePackageShipments operation runs, it creates a shipment for the package (and any other packages that are part of the shipment) and generates shipping labels.
Shipment Method CodeThe unique identifier of the shipment method associated with the package.Any string that matches an existing shipment method code. This field corresponds to the Custom Code field in Admin when you navigate to System > Shipping > Carriers, and then click on an existing rate or on Create New Custom Rate.
Shipment Method NameThe name of the shipment method associated with the package.Any string that matches an existing shipment method name. This field corresponds to the Name field in Admin when you navigate to System > Shipping > Carriers, and then click on an existing rate or on Create New Custom Rate.
StatusThe fulfillment status of the package.A string matching one of the following:
  • Fulfilled
  • NotFulfilled
  • PartiallyFulfilled
Tracking NumberThe tracking number for the package, if applicable.Any string.