Onfleet allows you to provide delightful customer experiences, increase on-time deliveries and scale operations efficiently with the world’s most advanced fleet management platform. This article details how our integration with Onfleet works and provides help for getting setup.
Our Onfleet integration has been built to work seamlessly with our local delivery functionality. It's perfect for both scheduled and on-demand orders.
How it works
When the order is created within Store Pickup + Delivery, we will automatically create two connected tasks within Onfleet. The first will be a pickup task that contains your bricks and mortar stores address. The second will be a delivery task that contains your customers home address.
Both tasks will contain your Shopify order number and the items ordered.
If your customer has left a comment in your themes "note" field we will also include that within both tasks.
Should you not require the creation of the pickup task you can disable it via the Onfleet integration settings page.
If you don't want the order to be sent to Onfleet automatically, you can turn on the create task in Onfleet when order is marked as "Ready for delivery" setting.
Once your order has been sent through to Onfleet we will automatically fulfill the order within Shopify and attach the Onfleet tracking number and url.
Order status updates are supported—when the order is in transit/completed, the status will change in Store Pickup + Delivery.
How to find your Onfleet API Key
Go to https://onfleet.com/login and login to your Onfleet account.
Then click API & Webhooks.
If you have previously created an API key you will see it listed. Select it and click Edit. You will then see your API key in the field labelled Key.
If you do not see an API key listed, click the plus button to create one.
Enabling Onfleet within Store Pickup + Delivery
Before enabling Onfleet please ensure that you have set the customers telephone number to be a required field within your Shopify checkout settings. Learn more.
Within Store Pickup + Delivery click Settings and Integrations.
Locate the Onfleet settings section and click Activate Onfleet.
Enter your Onfleet API key and configure your settings as required.
Add an email address to receive error notifications.
How to make customers telephone a required field
Open the Shopify settings and click Checkout and accounts.
Find Shipping address phone number and ensure it's marked as required.
Important notes and restrictions
If a customer enters an invalid phone number the order will be rejected from Onfleet.
Editing orders is not currently supported.
You can disable the creation of the pickup task via the Onfleet integration settings page.
You must have the Pickup/Delivery time picker enabled for the integration to work.