Retail Purchase Transaction Records
This dataset provides granular, item-level retail purchase transaction records, including customer, product, store, and payment details. It is ideal for mining sales patterns, segmenting customers, powering recommendation systems, and forecasting demand across retail locations. The schema supports robust analytics for operational and strategic retail decision-making.
Sample rows
preview · 8 of 200 rows · all 20 columns| transaction_idstring | transaction_statusstring | unit_pricefloat | customer_loyalty_tierstring | transaction_datetimedatetime | store_idstring | store_namestring | customer_idstring | product_idstring | product_namestring | product_categorystring | quantityinteger | total_amountfloat | discount_amountfloat | payment_methodstring | cashier_idstring | store_citystring | store_statestring | store_postal_codestring | store_countrystring |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TXN000001 | completed | 799.99 | Gold | 2023-01-01T10:25:11 | STR00001 | MetroMart Downtown | CUST001 | PROD00001 | 4K Ultra TV 55in | Electronics | 1 | 749.99 | 50 | credit_card | CSH0001 | Chicago | IL | 60616 | USA |
| TXN000002 | completed | 4.29 | Silver | 2022-12-25T15:00:43 | STR00002 | MetroMart Suburbs | CUST002 | PROD00002 | Organic Milk 1gal | Dairy | 2 | 8.58 | 0 | debit_card | CSH0002 | Naperville | IL | 60540 | USA |
| TXN000003 | completed | 79.99 | Platinum | 2023-07-04T18:42:19 | STR00003 | Seattle Urban Market | CUST003 | PROD00003 | Bluetooth Speaker | Electronics | 1 | 63.99 | 16 | mobile_payment | CSH0003 | Seattle | WA | 98101 | USA |
| TXN000004 | completed | 2.49 | Gold | 2023-12-31T23:59:59 | STR00004 | London City Market | CUST004 | PROD00004 | Artisan Baguette | Bakery | 4 | 9.96 | 0 | credit_card | CSH0004 | London | LDN | E1 6AN | UK |
| TXN000005 | completed | 59.99 | Bronze | 2023-11-24T13:20:05 | STR00005 | Madrid Fresh Foods | CUST005 | PROD00005 | Jamón Ibérico | Gourmet | 1 | 53.99 | 6 | cash | CSH0005 | Madrid | MD | 28001 | Spain |
| TXN000006 | completed | 5.99 | Silver | 2023-07-04T14:12:33 | STR00001 | MetroMart Downtown | CUST006 | PROD00006 | Organic Eggs Dozen | Dairy | 1 | 5.99 | 0 | credit_card | CSH0006 | Chicago | IL | 60616 | USA |
| TXN000007 | completed | 16.99 | Gold | 2023-02-14T19:30:47 | STR00006 | Seoul Express Mart | CUST007 | PROD00007 | Kimchi Jar 2L | World Foods | 2 | 33.98 | 0 | mobile_payment | CSH0007 | Seoul | KR-11 | 04524 | South Korea |
| TXN000008 | completed | 7.49 | Silver | 2023-03-17T08:45:22 | STR00007 | Vancouver Organics | CUST008 | PROD00008 | Gluten-Free Granola | Health Foods | 3 | 22.47 | 0 | debit_card | CSH0008 | Vancouver | BC | V5K0A1 | Canada |
| TXN000009 | completed | 12.49 | Platinum | 2023-01-01T00:00:01 | STR00008 | Toronto MegaMart | CUST009 | PROD00009 | Laundry Detergent 2L | Household | 2 | 22.48 | 2.5 | credit_card | CSH0009 | Toronto | ON | M5B2H1 | Canada |
| TXN000010 | completed | 25.99 | Bronze | 2023-04-07T11:11:11 | STR00009 | Madrid Gourmet Shop | CUST010 | PROD00010 | Turrón de Alicante | Gourmet | 1 | 25.99 | 0 | cash | CSH0010 | Madrid | MD | 28013 | Spain |
| TXN000011 | completed | 1.59 | Silver | 2023-01-02T16:05:03 | STR00004 | London City Market | CUST011 | PROD00011 | Fresh Croissant Pack | Bakery | 6 | 9.54 | 0 | credit_card | CSH0011 | London | LDN | E1 6AN | UK |
| TXN000012 | completed | 4.49 | Silver | 2023-05-15T18:31:18 | STR00007 | Vancouver Organics | CUST012 | PROD00012 | Almond Milk 1L | Dairy | 3 | 13.47 | 0 | debit_card | CSH0012 | Vancouver | BC | V5K0A1 | Canada |
| TXN000013 | completed | 29.99 | Platinum | 2023-12-24T22:17:55 | STR00006 | Seoul Express Mart | CUST013 | PROD00013 | Ginseng Tea Box | Health Foods | 1 | 25.49 | 4.5 | credit_card | CSH0013 | Seoul | KR-11 | 04524 | South Korea |
| TXN000014 | completed | 8.99 | Platinum | 2023-01-01T12:30:30 | STR00010 | Montreal City Foods | CUST014 | PROD00014 | Apple Cider Gallon | Beverages | 2 | 15.98 | 2 | mobile_payment | CSH0014 | Montreal | QC | H2Y1C6 | Canada |
| TXN000015 | completed | 6.79 | Bronze | 2023-06-08T10:12:15 | STR00002 | MetroMart Suburbs | CUST015 | PROD00015 | Multi-surface Cleaner | Household | 1 | 6.79 | 0 | debit_card | CSH0015 | Naperville | IL | 60540 | USA |
| TXN000016 | completed | 19.99 | Gold | 2023-11-27T20:22:55 | STR00003 | Seattle Urban Market | CUST016 | PROD00016 | Smartphone Charger | Electronics | 2 | 39.98 | 0 | credit_card | CSH0016 | Seattle | WA | 98101 | USA |
| TXN000017 | completed | 15.49 | blank | 2023-02-20T09:07:33 | STR00005 | Madrid Fresh Foods | CUST017 | PROD00017 | Whole Chicken Fresh | Meat | 1 | 15.49 | 0 | cash | CSH0017 | Madrid | MD | 28001 | Spain |
| TXN000018 | completed | 8.99 | Gold | 2023-10-31T23:58:45 | STR00001 | MetroMart Downtown | CUST018 | PROD00018 | Halloween Candy Mix | Promotional | 5 | 35.96 | 9.99 | gift_card | CSH0018 | Chicago | IL | 60616 | USA |
| TXN000019 | completed | 42.99 | Bronze | 2023-07-04T14:00:00 | STR00008 | Toronto MegaMart | CUST019 | PROD00019 | BBQ Grill Set | Home & Garden | 1 | 34.99 | 8 | credit_card | CSH0019 | Toronto | ON | M5B2H1 | Canada |
| TXN000020 | completed | 3.49 | Silver | 2023-08-21T17:23:10 | STR00010 | Montreal City Foods | CUST020 | PROD00020 | Kombucha 500ml | Beverages | 4 | 13.96 | 0 | debit_card | CSH0020 | Montreal | QC | H2Y1C6 | Canada |
What the 200 rows show
from the 200-row sample- 9.0median unit_
price - 5store countries
- 6payment methods
- 14product categories
- 16store cities
- 18store states
Median 9.0, from 1.1 to 800.0.
- string 15
- integer 1
- float 3
- datetime 1
Columns
20 columns in three groups| column | type | description | example |
|---|---|---|---|
| Text 15 columns | |||
transaction_id | string | Unique identifier for each purchase transactionunique | TXN000001 |
store_id | string | Unique identifier for the retail store where the transaction occurred | STR00001 |
store_name | string | Name of the retail storeoptional | MetroMart Downtown |
customer_id | string | Unique identifier for the customer making the purchase | CUST001 |
customer_loyalty_tier | string | Loyalty program tier or segment for the customer (e.g., Silver, Gold, Platinum)Bronze · Silver · Gold · Platinum · optional | Gold |
product_id | string | Unique identifier for the product purchased | PROD00001 |
product_name | string | Name or description of the purchased productoptional | 4K Ultra TV 55in |
product_category | string | Category or department of the purchased productoptional | Electronics |
payment_method | string | Payment method used for the transaction6 values | credit_card |
cashier_id | string | Unique identifier for the cashier processing the transactionoptional | CSH0001 |
transaction_status | string | Status of the transaction (e.g., completed, refunded, cancelled)completed · refunded · cancelled | completed |
store_city | string | City where the retail store is locatedoptional | Chicago |
store_state | string | State or province where the retail store is locatedoptional | IL |
store_postal_code | string | Postal or ZIP code of the retail storeoptional | 60616 |
store_country | string | Country where the retail store is located5 countries · optional | USA |
| Numbers 4 columns | |||
quantity | integer | Number of units of the product purchased in the transaction1 or more | 1 |
unit_price | float | Price per single unit of the product at the time of transaction0 or more | 799.99 |
total_amount | float | Total amount paid for the product(s) in this transaction (quantity * unit_price, minus discounts)0 or more | 749.99 |
discount_amount | float | Total discount applied to this transaction (if any)0 or more · optional | 50 |
| Dates and times 1 column | |||
transaction_datetime | datetime | Date and time when the transaction was completed | 2023-01-01T10:25:11 |
Use it for
An e-commerce dashboard
Unit_
price by transaction_ status and a breakdown of customer_ loyalty_ tier. Excel, Power BI or Tableau. What pattern can you find in 200 rows?
A class exercise
Hand out the rows and one question. Everyone works from the same 200 rows.
- Transactions200TXN000001799.99completedTXN0000024.29completedTXN00000379.99completed
A software demo
Believable transactions with transaction_
datetime, store_ id and store_ name to fill a screen in front of a buyer.
blueprint · retail-purchase-transaction-records
Behind this dataset
Same schema. As many rows as you need.
These 200 rows came out of a blueprint — 20 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.
- Each row is a unique purchase transaction.
- Fields include timestamp, store ID, product ID, customer segment, and amount.
- No transactions with negative prices.
- Returned items are captured with a flag.
1 credit per row. New accounts start with 25 free credits.
- Exports
- CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
- Licence
- yours to use, including commercially
- API slug
- retail-purchase-transaction-records