In this article, you will learn about Onfleet's integration with Shopify.
This article will cover:
Note: The Shopify integration is not supported for courier-client dashboards. Please consider using Zapier instead.
Overview
Shopify
Shopify is an e-commerce platform that allows businesses to create their own online store, manage inventory, process payments, and ship products to customers. It provides a range of tools to help businesses build and customize their online store, manage orders and customers, and track sales and growth over time. Streamline your order-to-delivery operation with the most advanced last-mile delivery software.
Workflow
The Shopify–Onfleet integration streamlines delivery operations by automatically creating and managing tasks in Onfleet whenever a customer places an order in Shopify. It supports Shopify’s native local delivery feature, as well as other custom delivery methods, providing businesses with the flexibility to adapt to their unique logistics needs.
Automatic Task Creation
When a customer checks out in Shopify and selects a delivery method configured for Onfleet, a task is created automatically.
Depending on the order, this may be a drop-off task or a linked pick-up and drop-off task.
Local Delivery & Custom Delivery Methods
Local delivery can be set up with zones based on distance or postal codes, along with flexible pricing rules.
This allows businesses to tailor delivery charges and coverage areas for their customers.
Beyond Shopify’s local delivery, any custom delivery method can also be mapped to Onfleet, ensuring full flexibility for different fulfillment models.
Manual Order Task Creation
Orders entered manually in Shopify can also trigger task creation if the delivery method matches a pre-configured option.
Order & Fulfillment Details
Shopify order data (e.g., Order ID, line items) is passed into Onfleet as metadata.
Each task is linked to the corresponding Shopify fulfillment record.
Merchants can configure how and when Shopify fulfillment status updates during the Onfleet task lifecycle, ensuring customers see accurate order updates.
Delivery Timeslot Selection
The Onfleet cart widget lets customers choose delivery timeslots before checkout.
It works across all Shopify cart types and adapts to the store’s theme for a seamless experience.
For custom themes, reach out to support@onfleet.com for assistance.
Timeslot features include:
Delivery Areas & Zip Codes: Must match between Shopify local delivery and Onfleet integration for accurate recognition.
Configurable Timeslots: Offer single or multiple slots (by day or by time window). Past times are automatically blocked.
Preparation & Cutoff Times: Control how soon the first slot is available and manage next-day order cutoffs.
Delivery Instructions: Customers can add notes or preferences at checkout.
Task & Order Synchronization
Updates to Shopify order notes sync directly with the Onfleet task.
Delivery time windows (Complete After / Complete Before) can be controlled through Shopify metafields.
Shopify Tag & Status Updates
The integration dynamically updates Shopify tags and delivery statuses as tasks move through Onfleet:
| Onfleet Task Stage | Shopify Tag | Shopify Delivery Status | Shopify Fulfillment Status |
|---|---|---|---|
| Unassigned | Unassigned | Confirmed | Fulfilled/Processing |
| Assigned | Assigned | In-Transit | Fulfilled/Processing |
| Started | Started | Out for Delivery | Fulfilled/Processing |
| Completed | Completed | Delivered | Fulfilled |
| Failed | Failed | Attempted Delivery | Unfulfilled |
| Deleted | Canceled | — | Unfulfilled |
For failed tasks, cloning and retrying in Onfleet will sync back to Shopify if “clone metadata” is selected.
Troubleshooting
If you are running into any errors with your Onfleet integrations, please refresh the page in Shopify. If you still have issues, please contact support@onfleet.com.