Docs · Tracking & my orders
BUILD A STORE

Tracking & my orders

Order tracking by number and phone, and a buyer's orders by SMS code.

Two ways for a buyer to find an order, neither needing an account or a password (Dakio has no customer accounts on purpose).

Track one order

js
const order = await dakio.orders.track({ orderNumber: 'ABC-1234', phone: '01712345678' })
// null when nothing matches

It needs the number and the buyer's phone; a wrong phone answers exactly like a missing order, so the call can't be used to discover order numbers. The # is optional.

FieldWhat it is
statusplaced → confirmed → preparing → shipped → on_the_way → out_for_delivery → delivered, or cancelled / returned
statusLabelThe same words the Dakio tracking page uses, e.g. 'Out for Delivery'
isFinaltrue once delivered, cancelled or returned
timeline[{ key, label, done, current, at }] for a progress bar
courier'Steadfast', 'Pathao', 'RedX'… once it's with one
items, subtotal, shipping, discount, totalWhat was ordered
codAmountWhat the buyer hands the courier: what's still owed, not the order total
placedAt, updatedAtISO dates

"My orders" by phone

A phone plus an SMS code shows the buyer their last 10 orders:

js
const { sessionToken } = await dakio.account.sendCode('01712345678')   // Dakio texts a code
const orders = await dakio.account.orders({ sessionToken, otp: '1234' })
// [{ orderNumber, status, statusLabel, total, placedAt }]

Like checkout, these run in the browser with a client key (the SMS limits are per buyer IP). With a test key the code is 0000 and no SMS is sent.

Telling buyers by SMS

Dakio already texts buyers about their order the way the store has set up (confirmation, courier updates). You don't send these from your site. To react to status changes on your own server, use the order.status_changed webhook.

Something unclear or wrong? Tell us — or open an issue on GitHub.

CHECKOUT PAYMENTS · VERIFIED BY SSLCOMMERZ
Pay with Visa, Mastercard, bKash, Nagad, Rocket and 40+ methods — verified by SSLCommerzPay with Visa, Mastercard, bKash, Nagad, Rocket and 40+ methods — verified by SSLCommerz
© 2026 Dakio by Digidhaka Communication Limited. All rights reserved.
Trade License No. TRAD/DSCC/041467/2021 · Made for Bangladesh's entrepreneurs