Brands that sell well on TikTok Shop in Thailand often want to use that success to get into 7-Eleven (7-11). The instinct is to send a screenshot of total sales. A distributor deciding whether to pitch you can do very little with that. Totals mix full-price weeks with flash sales, say nothing about whether buyers come back, and hide where the buyers live.
This post turns a raw order export into three small tables that answer those questions. The business side, including margin and capacity checks to do first, is here: https://www.flowupth.com/en/insights/tiktok-seller-into-7-eleven?utm_source=devto&utm_campaign=P512
Input
Export orders from Seller Center for as long a period as you can. Column names vary by export version, so map them once:
import pandas as pd COLS = { # adjust to your export's headers "Order ID": "order_id", "Created Time": "created", "Buyer Username": "buyer", "Seller SKU": "sku", "Quantity": "qty", "SKU Unit Original Price": "list_price", "SKU Subtotal After Discount": "paid", "Province": "province", "Order Status": "status", } df = (pd.read_csv("orders.csv", usecols=list(COLS)) .rename(columns=COLS)) df["created"] = pd.to_datetime(df.created, dayfirst=True, errors="coerce") df = df[~df.status.str.contains("Cancel|Return", case=False, na=False)] Remove cancellations and returns before anything else. Including them flatters every number that follows.
Privacy note: buyer identifiers are personal data. Use them only to count repeat purchases, hash them early, and never put them in anything you share.
import hashlib df["buyer"] = df.buyer.astype(str).map(lambda s: hashlib.sha256(s.encode()).hexdigest()[:12]) Table 1: months at full price vs months on heavy discount
Totals lie most during campaign periods. Separate units sold close to list price from units sold on deep discount:
df["unit_paid"] = df.paid / df.qty df["discount"] = 1 - df.unit_paid / df.list_price DEEP = 0.30 # example threshold only; pick your own and state it df["band"] = (df.discount >= DEEP).map({True: "deep_discount", False: "near_list"}) monthly = (df.groupby([df.created.dt.to_period("M"), "band"]).qty.sum() .unstack(fill_value=0)) monthly["near_list_share"] = monthly.near_list / monthly.sum(axis=1) A buyer reading this wants to see a base of near-list sales that persists between campaigns, not a series of spikes.
Table 2: repeat buyers
first = df.groupby("buyer").created.min().rename("first_order") df = df.join(first, on="buyer") df["is_repeat"] = df.created > df.first_order cohort = (df.groupby(df.first_order.dt.to_period("M")) .agg(buyers=("buyer", "nunique"), repeat_buyers=("buyer", lambda s: s[df.loc[s.index, "is_repeat"]].nunique()))) cohort["repeat_rate"] = cohort.repeat_buyers / cohort.buyers Recent cohorts haven't had time to reorder, so present older cohorts and say so. If repeat buyers appear mostly during flash sales, note that too; it suggests price, not product, is doing the work.
Table 3: where buyers are
by_province = (df.groupby("province") .agg(units=("qty", "sum"), buyers=("buyer", "nunique")) .sort_values("units", ascending=False)) by_province["share"] = by_province.units / by_province.units.sum() This matters for two reasons. It shows whether demand is national or concentrated, and after a listing it tells you where content should point first, provided those areas have stock.
Putting it into one page
A distributor needs something they can forward. One page with:
- A small chart of Table 1, with deep-discount months shaded.
- Repeat rate for cohorts old enough to judge.
- The top provinces and their share.
- One line on what you did not include: cancellations, returns, and any period you excluded.
Example only, with made-up figures to show the format: "Over six months, about two thirds of units sold near list price; around one in five buyers from the first three monthly cohorts ordered again; the top five provinces account for roughly half of units."
Limits
Online shoppers aren't the same as convenience store shoppers, and buyer criteria aren't published. This evidence shows that Thai people buy and return; it doesn't forecast store sales. Pair it with an in-store margin calculation before approaching a distributor. In our work at Flowup Thailand, a clean version of these three tables does more for a pitch than any total, because it answers the questions a careful buyer would ask anyway.
