Shopify fields list — Porter Metrics docs
Fields Reference · Shopify

Shopify Fields List

155 fields · 0 dimensions · 0 metrics · 7 groups

155 of 155
Field nameLabelCategoryDescription
dateDateTimeDate.
date_timeDate and TimeTimeThe date and time of the order.
day_of_weekDay of week (Mon – Sun)TimeDay of week (Mon – Sun).
hourHourTimeHour.
monthMonthTimeMonth.
month_dayMonth DayTimeMonth Day of the creation of the order.
quarterQuarterTimeQuarter.
weekWeekTimeWeek.
yearYearTimeYear.
year_monthMonth and yearTimeMonth and year.
year_quarterQuarter and yearTimeQuarter and year.
year_weekWeek and yearTimeWeek and year.
average_order_valueAverage order valueOrdersThe average value of a staff’s sales.
customersTotal CustomersOrdersCount of customers
discount_codeDiscount CodeOrdersDiscount code provided by the customer.
financial_statusFinancial StatusOrdersFinancial status of the order that can be shown to the merchant. This field does not capture all the possible details of an order’s financial state and should only be used for display summary purposes.
fulfillment_statusFulfillment StatusOrdersFulfillment status for the order that can be shown to the merchant. This field does not capture all the possible details of an order’s fulfillment state. It should only be used for display summary purposes.
landing_page_urlLanding Page URLOrdersURL of the first page the customer landed on for the session before an order is made.
order_canceled_dateOrder Canceled DateOrdersThe date when the order was canceled in format. This fields returns null if the order wasn’t canceled.
order_channelChannelOrdersName of the channel that this sub channel belongs to.
order_channel_app_nameChannel app nameOrdersName of the channel app.
order_closed_dateOrder Closed DateOrdersDate time when the order closed. If the order is not closed, then this field returns null.
order_creation_dateOrder Creation DateOrdersThe date the order was created.
order_current_total_weightOrder Current Total WeightOrdersThe total weight of the order after returns, in grams.
order_idOrder IDOrdersGlobally unique identifier of an order
order_is_closedOrder Is ClosedOrdersWhether the order is closed.
order_is_confirmedOrder Is ConfirmedOrdersWhether inventory has been reserved for the order
order_is_editedOrder Is EditedOrdersWhether the order has had any edits applied.
order_is_fully_paidOrder is Fully PaidOrdersWhether the order has been paid in full.
order_is_refundableOrder is RefundableOrdersWhether the order can be refunded.
order_is_testIs TestOrdersWhether the order is a test order.
order_nameOrder NameOrdersUnique identifier for the order that appears on the order. For example, #1000 or _Store1001. This value is not unique across multiple stores.
order_noteOrder NoteOrdersContents of the note associated with the order.
order_payment_gateway_namesOrder Payment Gateway NamesOrdersA list of the names of all payment gateways used for the order.
order_processed_dateOrder Processed DateOrdersThe date when the order was processed.
order_requires_shippingOrder Requires ShippingOrdersWhether any line item on the order requires physical shipping.
order_risk_levelOrder Risk LevelOrdersThe likelihood that an order is fraudulent. Valid values are HIGH, LOW and MEDIUM.
order_tagsOrder TagsOrdersA comma separated list of tags associated with the order.
order_taxes_estimatedOrder Taxes EstimatedOrdersWhether taxes on the order are estimated. Many factors can change between the time a customer places an order and the time the order is shipped, which could affect the calculation of taxes. This field returns false when taxes on the order are finalized and aren’t subject to any changes.
order_total_weightOrder Total WeightOrdersThe total weight of the order before returns, in grams.
order_updated_dateOrder Updated DateOrdersThe date the order was last updated.
ordersOrdersOrdersCount of the orders.
physical_location_namePhysical Location NameOrdersThe name of the physical location.
referral_codeReferral CodeOrdersMarketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: ref, source, or r. For example, if the URL is myshopifystore.com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2.
referrer_urlReferrer URLOrdersWebpage where the customer clicked a link that sent them to the online store. For example, https://randomblog.com/page1 or android-app://com.google.android.gm.
sale_action_typeSale action typeOrdersThe type of order action that the sale represents.
sale_agreement_reasonSale agreement reasonOrdersThe reason the agreement was created.
sale_line_typeSale line typeOrdersThe line type assocated with the sale.
sale_quantityNumber Of Sold ItemsOrdersThe number of units either ordered or intended to be returned.
shipping_address_1Shipping Address 1OrdersThe first line of the address. Typically the street address or PO Box number.
shipping_address_2Shipping Address 2OrdersThe second line of the address. Typically the number of the apartment, suite, or unit.
shipping_cityShipping CityOrdersThe name of the city, district, village, or town.
shipping_coordinatesShipping CoordinatesOrdersThe latitude and longitude coordinates of the customer address.
shipping_countryShipping CountryOrdersThe name of the country.
shipping_country_codeShipping Country CodeOrdersThe two-letter code for the country of the address. For example, US.
shipping_country_iconShipping Country IconOrdersCountry icon.
shipping_country_icon_urlShipping Country Icon UrlOrdersCountry icon url.
shipping_latitudeShipping LatitudeOrdersThe latitude coordinate of the customer address.
shipping_longitudeShipping LongitudeOrdersThe longitude coordinate of the customer address.
shipping_provinceShipping ProvinceOrdersThe region of the address, such as the province, state, or district.
shipping_province_codeShipping Province CodeOrdersThe two-letter code for the region. For example, ON.
shipping_titleShipping titleOrdersThe title of the shipping line.
shipping_zip_codeShipping ZIP CodeOrdersThe zip or postal code of the address.
utm_campaignUTM CampaignOrdersThe name of a marketing campaign.
utm_contentUTM ContentOrdersIdentifies specific content in a marketing campaign. Used to differentiate between similar content or links in a marketing campaign to determine which is the most effective.
utm_mediumUTM MediumOrdersThe medium of a marketing campaign, such as a banner or email newsletter.
utm_sourceUTM SourceOrdersSource from which the customer visited the store, such as a platform (Facebook, Google), email, direct, a website domain, QR code, or unknown.
utm_source_descriptionUTM Source DescriptionOrdersDescribes the source explicitly.
utm_source_typeUTM Source TypeOrdersDescribes the source explicitly for first or last session.
utm_termUTM TermOrdersPaid search terms used by a marketing campaign.
average_orders_per_customerAverage Orders per CustomerCustomerAverage number of orders per customer.
cogs_minus_returnsCOGS (Minus Refunds)CustomerCOGS minus refunds.
cost_per_orderCost Per OrderCustomerCost per order.
customer_accepts_marketingCustomer Accepts MarketingCustomerWhether the customer agreed to receive marketing materials.
customer_creation_dateCustomer Creation DateCustomerThe date when the customer was added to the store.
customer_display_nameCustomer Display NameCustomerThe full name of the customer, based on the values for first_name and last_name. If the first_name and last_name are not available, then this falls back to the customer’s email address, and if that is not available, the customer’s phone number.
customer_emailCustomer EmailCustomerThe customer’s email address.
customer_first_nameCustomer First NameCustomerThe customer’s first name.
customer_idCustomer IDCustomerGlobally unique identifier for the customer.
customer_imageCustomer ImageCustomerThe image associated with the customer.
customer_image_urlCustomer Image URLCustomerThe image associated with the customer.
customer_last_nameCustomer Last NameCustomerThe customer’s last name.
customer_last_order_dateCustomer Last Order DateCustomerThe customer’s last order creation date.
customer_lifetime_durationCustomer Lifetime DurationCustomerThe amount of time since the customer was first added to the store. Example: ‘about 12 years’.
customer_orders_countCustomer Orders CountCustomerThe number of orders that the customer has made at the store in their lifetime.
customer_phoneCustomer PhoneCustomerThe customer’s phone number.
customer_stateCustomer StateCustomerThe state of the customer’s account with the shop.
customer_tagsCustomer TagsCustomerA comma separated list of tags that have been added to the customer.
customer_tax_exemptCustomer Tax ExemptCustomerWhether the customer is exempt from being charged taxes on their orders.
customer_total_spentCustomer Total SpentCustomerThe total amount that the customer has spent on orders in their lifetime.
customer_typeCustomer TypeCustomerWhether the customer is placing their first order (First-time) or is a returning customer (Returning).
customer_verified_emailCustomer Verified EmailCustomerWhether the customer has verified their email address. Defaults to true if the customer is created through the Shopify admin or API.
gross_profitGross ProfitCustomerGross profit.
new_customersNew CustomersCustomerCount of customers placing their first order (First-time).
new_customers_aovNew Customers AOVCustomerAverage order value of customers placing their first order (First-time).
new_customers_cost_of_goods_soldNew Customers COGSCustomerCost of goods sold of customers placing their first order (First-time).
new_customers_gross_salesNew Customers Gross SalesCustomerGross sales of customers placing their first order (First-time).
new_customers_gross_sales_percentNew Customers Gross Sales %CustomerGross sales of customers placing their first order (First-time) over total gross sales.
new_customers_net_salesNew Customers Net SalesCustomerNet sales of customers placing their first order (First-time).
new_customers_net_sales_percentNew Customers Net Sales %CustomerNet sales of customers placing their first order (First-time) over total gross sales.
new_customers_ordersNew Customer OrdersCustomerCount of orders from customers placing their first order (First-time).
new_customers_ratioNew Customers %CustomerRatio of new customers to total customers.
new_customers_total_salesNew Customers Total SalesCustomerTotal sales of customers placing their first order (First-time).
new_customers_total_sales_percentNew Customers Total Sales %CustomerTotal sales of customers placing their first order (First-time) over total sales.
purchase_frequencyPurchase FrequencyCustomerPurchase frequency.
returning_customersRepeat CustomersCustomerCount of returning customers.
returning_customers_aovRepeat Customers AOVCustomerAverage order value of returning customers.
returning_customers_cost_of_goods_soldRepeat Customers COGSCustomerCost of goods sold of returning customers.
returning_customers_gross_profitRepeat Customers Gross ProfitCustomerGross profit of returning customers.
returning_customers_gross_salesRepeat Customers Gross SalesCustomerGross sales of returning customers.
returning_customers_gross_sales_percentRepeat Customers Gross Sales %CustomerGross sales of returning customers over total gross sales.
returning_customers_net_salesRepeat Customers Net SalesCustomerNet sales of returning customers.
returning_customers_net_sales_percentRepeat Customers Net Sales %CustomerNet sales of returning customers over total net sales.
returning_customers_ordersRepeat Customer OrdersCustomerCount of orders from returning customers.
returning_customers_ratioRepeat Customers %CustomerRatio of returning customers to total customers.
returning_customers_total_salesRepeat Customers Total SalesCustomerTotal sales of returning customers.
returning_customers_total_sales_percentRepeat Customers Total Sales %CustomerTotal sales of returning customers over total sales.
zero_dollar_orders0$ OrdersCustomerCount of orders with a zero dollar value.
product_creation_dateProduct Creation DateProductThe date when the product was created.
product_descriptionProduct DescriptionProductA stripped description of the product, single line with HTML tags removed.
product_idProduct IDProductGlobally unique identifier of the product.
product_imageProduct ImageProductThe Image object associated to the line item’s variant.
product_image_urlProduct Image UrlProductThe Image object associated to the line item’s variant.
product_price_rangeProduct Price RangeProductThe price range of the product with prices formatted as decimals.
product_seo_descriptionProduct SEO descriptionProductSEO Description.
product_seo_titleProduct SEO titleProductSEO Title.
product_statusProduct StatusProductThe product status. This controls visibility across all channels.
product_tagsProduct TagsProductA comma separated list of tags associated with the product.
product_titleProduct TitleProductTitle of the product.
product_typeProduct TypeProductThe product type specified by the merchant.
product_vendorProduct VendorProductName of the vendor who made the variant.
skuSKUProductVariant SKU number.
variant_creation_dateVariant creation dateProductThe date and time when the variant was created.
variant_idVariant IDProductA globally-unique identifier of the product variant.
variant_imageVariant imageProductThe featured image for the variant.
variant_image_urlVariant image URLProductThe featured image for the variant.
variant_inventory_policyVariant inventory policyProductWhether customers are allowed to place an order for the product variant when it’s out of stock.
variant_inventory_quantityInventory QuantityProductThe quantity of inventory in stock.
variant_priceVariant PriceProductThe price of the product variant in the default shop currency.
variant_tax_codeVariant Tax CodeProductThe tax code for the product variant.
variant_titleVariant TitleProductName of the variant.
variant_unit_costUnit CostProductUnit cost associated with the inventory item. Note: the user must have ‘View product costs’ permission granted in order to access this field once product granular permissions are enabled.
variant_unit_cost_currency_codeUnit Cost Currency CodeProductUnit cost currency code associated with the inventory item. Note: the user must have ‘View product costs’ permission granted in order to access this field once product granular permissions are enabled.
cost_of_good_soldsCOGSSalesCost of good solds. Equates to product unit cost x quantity.
discounts_orderDiscountsSalesThe sum of all applied discounts on this line item.
gross_sales_orderGross SalesSalesEquates to product price x quantity (before taxes, shipping, discounts, and returns) for a collection of sales. Canceled, pending, and unpaid orders are included. Test and deleted orders are not included.
net_sales_orderNet SalesSalesEquates to gross sales – discounts – returns.
returns_orderReturnsSalesThe total amount refunded for each line item.
shipping_orderShippingSalesThe total amount charged for shipping the order.
tax_orderTaxSalesThe total of all taxes applied to the order at the time it was created.
total_sales_orderTotal SalesSalesEquates to gross sales – discounts – returns + taxes + shipping charges.
unknown_feesUnknown FeesSalesAn unknown sale line. Represents new types that may be added in future versions.
shop_idShop IDShop InfoID of the shop.
shop_nameShop NameShop InfoName of the shop.
line_item_idLine Item IDLine ItemUnique identifier of the line item