Shopify Shipment Tracking API
Power custom fulfillment pipelines and post-purchase customer notifications. Unify tracking across Indian couriers and postal services with a clean REST API.
Direct Middleware & Custom App Integration
For merchants managing fulfillment across multiple Indian carriers, relying on fragmented carrier dashboards leads to delayed status updates and lost parcels. ClearTrack provides developers with a single normalized tracking API to sync status changes directly into Shopify Admin workflows.
Key Capabilities for Shopify Merchants
Automated Delivery Events
Trigger Shopify FulfillmentEvent status transitions (delivered, out_for_delivery, attempt_failed) automatically.
NDR Intervention
Catch failed delivery attempts with machine-readable reason codes to trigger customer re-attempt notifications.
Speed Post Support
Track Speed Post and India Post consignments in the exact same schema as private logistics partners.
Node.js Integration Example
Query consignment health and map tracking responses to your fulfillment service:
// Example: Syncing ClearTrack tracking with Shopify fulfillment
import axios from "axios";
async function checkFulfillmentStatus(carrier: string, awb: string) {
const response = await axios.get(
`https://api.cleartrackpromise.in/v1/track/${carrier}/${awb}`,
{
headers: {
"X-API-Key": process.env.CLEARTRACK_API_KEY,
Accept: "application/json",
},
}
);
const { status, insights, delivery_attempts } = response.data;
// Map to Shopify fulfillment event
if (status === "delivered") {
console.log(`Consignment ${awb} delivered; updating Shopify event.`);
} else if (insights?.current_stage === "delivery_attempted" || delivery_attempts?.attempts?.some((a: any) => a.outcome === "failed")) {
const failed = delivery_attempts?.attempts?.find((a: any) => a.outcome === "failed");
console.warn(`Delivery failed for ${awb}. Reason: ${failed?.reason_code || "attempt_failed"}`);
}
return response.data;
}
For the complete schema specification, visit the Tracking API Documentation, view prepaid lookup plans, and check our developer guide on Handling Failed Delivery Attempts.
Frequently Asked Questions
Is ClearTrack an official Shopify App Store plugin?
No. ClearTrack provides an independent REST API designed for backend integration, custom apps, and middleware connecting your fulfillment systems with Shopify's Admin API.
How do I sync ClearTrack data with Shopify fulfillments?
Your backend service can query ClearTrack's API for consignment updates and update Shopify fulfillments using Shopify's FulfillmentEvent Admin API (e.g., in_transit, out_for_delivery, delivered).
Can I track Speed Post shipments fulfilled through Shopify?
Yes. ClearTrack provides standardized tracking responses for Speed Post and India Post alongside private logistics providers.
How can I automate NDR customer notifications for Shopify orders?
When ClearTrack detects a delivery attempt failure with an NDR reason code (such as address_issue), your backend worker or scheduled job can trigger automated customer WhatsApp or SMS updates.
Scale Your Shopify Tracking
Sign up for a free 14-day trial with 100 test lookups. Unify parcel delivery intelligence for your store.