Refunds Table

The Refunds table records individual refund transactions with product-level detail. One row per refund transaction. Tied to original orders by order ID.

📋

Table Guide

What You Can Answer With This Table

  • Which products are being refunded most often, and for how much? — group by products_info.product_name or products_info.product_id with total_refunded_price
  • What is the COGS impact of refunds? — use total_refunded_cogs

Before You Query

  • Required field: event_date
  • event_date refers to the date the refund was processed, not the original order date. To filter by when the order was placed, use order_date.

Key Relationships

TableJoin KeyUse This Join To
Ordersorder_idMeasure refund impact by original order revenue, customer, products, or fulfillment

When to Use a Different Table

  • Use Orders table when you need order-level revenue net of refunds for total revenue or profit calculations. The Refunds table is for refund transactions and refund-date analysis.
  • Use Pixel Joined table when you need refund impact by attributed channel, campaign, ad set, or ad. The Refunds table is for refund records, not attribution-level performance.

View the full Triple Whale Data Ontology →


Dimensions

Dimensions are immutable properties that can be used for grouping data.

TitleIDTypeDescription
Event Hourevent_hourstring

The hour of the day the refund was processed, according to a 24-hour clock. Based on the shop time zone at the moment of the event (or the user time zone, if no sales platform is connected).

Example values: 07, 16, 21

Event Dateevent_datedateThe date the refund was processed. Based on the shop time zone at the moment of the event (or the user time zone, if no sales platform is connected).
Event Dayevent_date.daydateThe day on which the event occurred. Derived from event_date.
Event Weekevent_date.weekdateThe Sunday of the week during which the event occurred. Derived from event_date.
Event Monthevent_date.monthdateThe month during which the event occurred. Derived from event_date.
Event Quarterevent_date.quarterdateThe first month of the quarter during which the event occurred. Derived from event_date.
Event Yearevent_date.yeardateThe year during which the event occurred. Derived from event_date.
Order Dateorder_datedate

The date the original order was processed.

Example value: 2025-02-12

Order IDorder_idstring

The unique ID for the original order that was issued a refund. Assigned by the shop platform.

Example value: 6024492815432

Sales Platformplatformstring

The sales platform where the order was processed.

Example values: Shopify, BigCommerce, WooCommerce, Amazon

Productsproducts_inforecord repeatedDetails about the products associated with the order (at the level of the variant), including name, product ID, variant ID, type, SKU, etc. Returns the latest product information, not necessarily the data at the time the order was placed.
Product IDproducts_info.product_idstring

The unique ID of the product as set within the main sales platform.

Example value: 3891505496131

Product Nameproducts_info.product_namestring

The name of the product as set within the main sales platform.

Example values: Green Soft Socks 3-Pack, Paring Knife Travel Case, Gift Subscription

Product SKUproducts_info.product_skustring

The SKU (Stock Keeping Unit) for the product, as set within the main sales platform.

Example values: GP-BACK-02, A02630, POP200NAVY

Product Variant IDproducts_info.variant_idstring

The unique identifier for a specific variant of a product as set within the main sales platform.

Example value: 29275946877001

Is Gift Cardproducts_info.is_gift_cardboolean

True if the product purchased is a gift card.

Possible values: true, false

Product Propertiesproducts_info.propertiesrecord repeated
Product Property Nameproducts_info.properties.namestringThe name or key of the product property.
Product Property Valueproducts_info.properties.valuestringThe value assigned to the product property.
Product Dutiesproducts_info.dutiesrecord repeatedImport duties or tariffs applied to the product.
Product Duty IDproducts_info.duties.duty_idstringThe unique identifier of the duty applied to the product.
Product Duty Amountproducts_info.duties.pricenumericThe monetary amount of duty charged for the product.'
Product Duty Tax Linesproducts_info.duties.tax_linesrecord repeatedTax lines charged on the product duty.
Product Duty Tax Line Amountproducts_info.duties.tax_lines.pricenumericThe tax amount charged on the product duty per tax line.
Product Priceproducts_info.product_name_pricenumeric

The price of a single product (to the buyer), before discounts. By default shown in the shop's currency.

Note: Tax will be included in the product price if the seller has configured the sale to require taxes in the main sales platform.

Total Product Discountproducts_info.discount_amount_for_productnumericThe amount discounted from the product price, before taxes. By default shown in the shop's currency.
Product Units Soldproducts_info.product_name_quantity_soldnumericThe total number of individual units sold for the product.
Product Costproducts_info.single_product_costnumericThe cost of a single product (to the seller). By default shown in the shop's currency.
Refund Order Adjustmentsrefund_order_adjustmentrecord repeatedList of refund order adjustments applied to the order. There may be multiple adjustments per order.
Order Adjustment Typerefund_order_adjustment.kindstring

The order adjustment type.

Valid values:
shipping_refund: Refunds related to shipping charges. refund_discrepancy: Discrepancies in the refund amount.

Order Adjustment Tax Amountrefund_order_adjustment.order_adjustment_tax_amountnumericThe taxes that are added to the order adjustment amount, such as applicable shipping taxes added to a shipping refund.
Order Adjustment Amountrefund_order_adjustment.order_adjustment_amountnumericThe value of the discrepancy between the calculated refund and the actual refund. If the kind property's value is shipping_refund, then amount returns the value of shipping charges refunded to the customer.
Shop IDshop_idstring

The unique ID of the shop (often corresponds to the shop domain). Can be used to group or filter data by shop in multi-store reports.

Example values: example-US.myshopify.com, example-EU.myshopify.com

Shop Nameshop_namestring

The name of the shop. Can be used to group or filter data by shop in multi-store reports.

Example values: example-US, example-EU

Sourcesource_namestring

The origin of the order as designated by the seller on the main sales platform.

Example values: web, pos, tiktok

Tagstagsrepeated string

Tags associated with the order, assigned by the seller on the main sales platform.

Example values: Upsell, Order Credits, discount_eligible

Updated Atupdated_attimestamp

The time at which the refund record was last updated. Formatted according to the ISO 8601 international standard.

Example value: 2022-06-15T19:26:30.000Z

Measures

Measures are numeric fields that can be aggregated and/or combined to calculate new metrics.

TitleIDTypeDescription
Refunded COGStotal_refunded_cogsnumericRefunded cost of goods (COGS) amount for the selected time period. Calculated based on the refund date.
Refunded Salestotal_refunded_pricenumeric

Refunded sales amount for the selected time period. Calculated based on the refund date.

Note that Triple Whale does not track refunds from third-party return management apps (e.g., Loop), so totals may vary from the sales platform.

Refunded Shippingtotal_refunded_shippingnumericRefunded shipping amount for the selected time period. Calculated based on the refund date.
Refunded Taxtotal_refunded_taxnumericRefunded tax amount for the selected time period. Calculated based on the refund date.