Skip to content

GET/v1/sales

Sales and online orders

GET /v1/sales lists counter and online sales, and GET /v1/orders lists online orders from your website, Shopify, WooCommerce, Daraz and other channels. Both take from, to, status and updated_since filters, and each has an endpoint to fetch one record by id.

Updated

Filter by date with from and to, by status, and by shop_id for one branch. GET /v1/sales/{id} also accepts the sale number printed on the receipt.

For live updates, subscribe to sale.created and the online_order.* webhooks instead of polling.

curl "https://api.nafaa.pk/api/v1/sales?from=2026-10-20&to=2026-10-20" \
  -H "Authorization: Bearer nfk_your_key"
curl "https://api.nafaa.pk/api/v1/orders?status=accepted" \
  -H "Authorization: Bearer nfk_your_key"
Chat on WhatsAppEnglish ya Roman Urdu me