Skip to content
BitSMS
Menu

Use case · Order notifications

Order confirmation and delivery update SMS, sent automatically

Tell customers the moment an order is confirmed, shipped or out for delivery, in Bangla or English. Every SMS has a delivery report, and signed webhooks keep your system in sync.

The problem

When customers do not hear about their order, they call. Every "where is my parcel?" call costs your team time, and a customer who is not expecting the courier is more likely to miss the delivery or refuse a cash-on-delivery parcel.

Sending order SMS from your own code brings its own problems. A timeout makes your server retry and the customer gets the same message twice. A message fails silently and nobody knows. And a big promotion going out at the same time can push order updates to the back of the line.

How BitSMS solves it

One call per order event

Send "confirmed", "shipped" and "out for delivery" from wherever the status changes in your system. Write each message in Bangla or English; Bangla is sent as Unicode automatically.

No double sends on retries

Attach an Idempotency-Key such as order-5521-shipped. If your server retries the same request, BitSMS returns the original message instead of sending and charging again.

Delivery reports and signed webhooks

See whether each SMS was delivered in the dashboard, or receive every status change on your webhook. Webhooks are signed with HMAC-SHA256 so you can trust they came from BitSMS.

Ahead of promotions in the queue

Order updates are sent as transactional messages, which go ahead of bulk campaigns. Non-masking messages fail over to another route if one is slow.

In your code

Send a shipping update

One HTTPS request per message. The API answers as soon as the SMS is safely queued and gives you a message ID to track.

  • Use the order number and event in the Idempotency-Key, e.g. order-5521-shipped.
  • Register a webhook once to receive delivered and failed updates for every message.
  • Send to any Bangladeshi mobile number, in 017… or +88017… format.
curl https://sms-api.bitcommerz.com/v1/messages \
  -H "Authorization: Bearer $BITSMS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-5521-shipped" \
  -d '{"to": "01712345678", "text": "Your order #5521 has shipped."}'

Frequently asked questions

Can I send order confirmation SMS in Bangla?

Yes. Write the text in Bangla and BitSMS sends it as Unicode. A Bangla SMS holds 70 characters, then 67 per part for longer messages; the calculator on the Features page shows the count before you send.

How do I know if a delivery update SMS reached the customer?

Every message gets a delivery report from the operator. You can see it in the dashboard, look it up by message ID, or receive it on a signed webhook.

What if my server sends the same order SMS twice?

Send an Idempotency-Key with each request. If the same key arrives again, BitSMS returns the first message instead of sending a duplicate, and you are charged once.

Send your first SMS in minutes

Sign up, verify your mobile number and get ৳25 free credit to test with. No card needed.