Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ocular.dev/llms.txt

Use this file to discover all available pages before exploring further.

The unified data model for shipment and logistics analytics. Covers the full lifecycle of every shipment — order creation, pickup, transit, delivery, return — with courier-level statuses normalised, costs standardised across pre/post-tax, and weight discrepancies resolved between WMS and courier billing.

What this data model represents

Grain: one row per awb (Air Waybill), linked to order_id and sku. A single order with multiple SKUs or split shipments produces multiple AWB rows. Metrics, grouped by category — every number you can compute on this data model. Expand below for examples in each.
Dimensions, grouped by category — every way you can split, filter, or group those metrics. Expand below for examples in each.
Source: Clickpost (logistics aggregator), which normalises tracking and fulfilment data across every connected courier partner into a single feed. Refreshed near real-time — records append on each status-change event. Requires the OMS (Shopify, Unicommerce / Uniware) for order and SKU linkage. What’s special: courier-level fragmentation is normalised away. Each courier has its own status taxonomy, cost structure, and SLA definition — this data model resolves them into a unified status schema, standardises cost across pre-tax and post-tax, and surfaces weight discrepancies between what the WMS booked and what the courier billed. So unified_status, tat_breach, and avg_weight_discrepancy are accurate at any grain and across any courier — you don’t have to per-courier-decode.

Slice by

Every dimension you can group or filter by.
DimensionDescription
Order & shipment
order_idOriginating order identifier
awbAir Waybill — unique shipment tracking ID
rto_awbAWB for the Return to Origin shipment, if applicable
Brand & channel
brandBrand associated with the shipment
sales_channelChannel the order was placed on (website, marketplace, …)
sourceData-source identifier for the record
Courier
courier_partnerCourier company handling the shipment (Delhivery, Bluedart, Xpressbees, …)
courier_serviceSpecific service tier within the courier
courier_via_aggregatorWhether the courier was booked via a logistics aggregator
shipment_typeForward / Reverse / Exchange
Status
unified_statusNormalised delivery status across all couriers — Delivered, RTO, In Transit, Out for Delivery, …
tat_breachBoolean — shipment breached the courier’s committed TAT
is_returnedBoolean — return was initiated
return_reasonCustomer- or system-provided return reason
is_exchangedBoolean — shipment resulted in an exchange
exchange_reasonReason provided for the exchange
is_cancelledBoolean — shipment was cancelled
Payment
payment_methodCOD / Prepaid / …
cod_valueCash-on-delivery amount to be collected
Customer
customer_idUnique customer identifier
customer_nameName provided at order time
customer_phonePhone number
customer_emailEmail address
Pickup location
pickup_addressFull warehouse / pickup address
pickup_pincodePickup pincode
pickup_cityPickup city
pickup_statePickup state
pickup_countryPickup country
Drop location
drop_pincodeCustomer delivery pincode
drop_cityDelivery city
drop_stateDelivery state
drop_countryDelivery country
zoneCourier zone for the origin–destination pair (Local, Metro, A, B, C)
Product
skuSKU identifier for the product in the shipment
quantitySKU quantity as recorded in the OMS
clickpost_item_quantityQuantity as recorded by Clickpost at shipment creation
Dates & timeline
order_creation_dateWhen the order was placed
fulfillment_creation_dateWhen the fulfilment record was created in Clickpost
pickup_dateWhen the shipment was successfully picked up
expected_delivery_dateCourier’s committed delivery date
actual_delivery_dateDate the shipment was actually delivered
rto_mark_dateDate and time the shipment was marked for RTO
updated_atLast record update
Delivery attempts
delivery_attempt_first_dateFirst delivery-attempt timestamp
reason_for_first_failed_deliveryReason first delivery attempt failed (Customer Unavailable, Incorrect Address, …)
delivery_attempt_latest_dateMost recent delivery-attempt timestamp
reason_for_last_failed_deliveryReason most recent delivery attempt failed
no_of_delivery_attemptsTotal delivery attempts made
Pickup attempts
pickup_attempt_first_dateFirst pickup-attempt timestamp
reason_for_first_failed_pickupReason first pickup attempt failed
pickup_attempt_latestMost recent pickup-attempt timestamp
reason_for_last_failed_pickupReason most recent pickup attempt failed
no_of_pickup_attemptsTotal pickup attempts made
Shipment dimensions & weight
shipment_lengthLength declared to the courier (cm)
shipment_breadthBreadth declared to the courier (cm)
shipment_heightHeight declared to the courier (cm)
shipment_weightWeight billed by the courier (kg)
uniware_length_cmLength recorded in the WMS (Uniware)
uniware_width_cmWidth recorded in the WMS (Uniware)
uniware_height_cmHeight recorded in the WMS (Uniware)
courier_volumetric_weightVolumetric weight calculated by the courier for billing
Shipment cost
actual_shipment_costFinal cost billed by the courier
shipment_cost_without_taxShipment cost before tax
shipment_cost_with_taxShipment cost including tax
shipment_cost_discrepancyBoolean — billing discrepancy between expected and actual cost
approximate_costBoolean — cost is an estimate, not a confirmed billing amount

Use it to answer

  • What’s the delivery rate and RTO rate by courier partner — who’s actually performing?
  • Which pincodes and cities have the worst first-attempt delivery failure rates?
  • Which couriers are breaching their committed TAT most often, and by how much?
  • What’s our shipment cost per order by zone and courier — where’s the spend going?
  • Where are we being overbilled — weight discrepancies vs. WMS, or cost discrepancies vs. expected?
  • What are the most common reasons for failed pickups and failed deliveries?
  • How does COD vs. Prepaid delivery performance compare — RTO rate, attempts, TAT?
  • Which SKUs or sales channels have the highest return, exchange, and cancellation rates?

Available metrics

Everything you can compute on this data model.
MetricFormula
Shipment volume
Total ShipmentsCount of all AWB records (one per shipment)
Total OrdersCount of distinct order IDs across all shipments
Total Items ShippedSum of item quantity across all shipments
Delivery performance
Delivered ShipmentsCount of shipments with a successful delivery status
Delivery RateDelivered Shipments ÷ Total Shipments × 100
On-Time Delivery RateDelivered shipments where actual delivery date ≤ expected delivery date, ÷ Delivered Shipments × 100
TAT Breach CountCount of shipments that breached the courier’s committed TAT
TAT Breach RateTAT Breach Count ÷ Total Shipments × 100
Avg Days to DeliverAvg(actual delivery date − fulfilment creation date)
Avg Delivery AttemptsSum of delivery attempts ÷ Total Shipments
Pickup performance
Avg Pickup AttemptsSum of pickup attempts ÷ Total Shipments
First-Attempt Pickup Failure RateShipments where first pickup attempt failed ÷ Total Shipments × 100
RTO & returns
RTO ShipmentsCount of shipments marked for Return to Origin
RTO RateRTO Shipments ÷ Total Shipments × 100
Returned ShipmentsCount of shipments where a customer return was initiated
Return RateReturned Shipments ÷ Delivered Shipments × 100
Exchanged ShipmentsCount of shipments resulting in an exchange
Exchange RateExchanged Shipments ÷ Delivered Shipments × 100
Cancelled ShipmentsCount of shipments that were cancelled
Cancellation RateCancelled Shipments ÷ Total Shipments × 100
Shipment cost
Total Shipment CostSum of actual shipment cost
Avg Shipment CostTotal Shipment Cost ÷ Total Shipments
Total Cost (Without Tax)Sum of shipment cost before tax
Total Cost (With Tax)Sum of shipment cost including tax
Cost Discrepancy CountCount of shipments flagged with a billing discrepancy
Cost Discrepancy RateCost Discrepancy Count ÷ Total Shipments × 100
Total COD ValueSum of COD value across applicable shipments
Weight & dimensions
Avg Shipment WeightAvg of courier-billed weight (kg)
Avg Volumetric WeightAvg of courier-calculated volumetric weight
Avg Weight DiscrepancyAvg(courier-billed weight − WMS-declared weight)

Not available in this data model

If you need order economics or pre-purchase customer behaviour, query a different data model.
Looking for…Use
Order-level revenue, AOV, discounts, return refund value, return COGS, Customer Lifetime ValueSales
Pre-purchase browsing — sessions, pageviews, add-to-cart rate, traffic source, funnel CVRCustomer Activity
Ad spend, ROAS, CPA by campaign / adset / adMeta Ads · Google Ads