Business Integration Guide
Register your business and get your API key from the dashboard
Use our REST API to create deliveries programmatically
Configure webhooks for automatic delivery creation
All API requests require authentication using your API key in the Authorization header:
pickup_address - Where to pick up the packagedelivery_address - Where to deliver the packagecustomer_name - Recipient's full namecustomer_phone - Recipient's phone numberitems_description - Description of items being deliveredcustomer_email - Recipient's emailorder_value - Total order valuebusiness_order_id - Your internal order IDdelivery_type - standard, express (default: standard)delivery_speed - regular, express, next_day (default: regular)curl -X POST https://yourapp.com/api/business/deliveries \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pickup_address": "123 Restaurant St, City, State",
"delivery_address": "456 Customer Ave, City, State",
"customer_name": "John Doe",
"customer_phone": "+1234567890",
"customer_email": "john@example.com",
"items_description": "2x Pizza, 1x Soda",
"order_value": "25.99",
"business_order_id": "ORDER-123"
}'limit - Number of deliveries to return (default: 50)offset - Number of deliveries to skip (default: 0)status - Filter by status (pending, approved, in_transit, delivered, cancelled)// Create a delivery
const response = await fetch('/api/business/deliveries', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
pickup_address: '123 Restaurant St, City, State',
delivery_address: '456 Customer Ave, City, State',
customer_name: 'John Doe',
customer_phone: '+1234567890',
customer_email: 'john@example.com',
items_description: '2x Pizza, 1x Soda',
order_value: '25.99',
business_order_id: 'ORDER-123'
})
});
const data = await response.json();
console.log('Tracking Number:', data.tracking_number);<?php
// PHP example for WooCommerce or custom integration
$data = [
'pickup_address' => '123 Restaurant St, City, State',
'delivery_address' => '456 Customer Ave, City, State',
'customer_name' => 'John Doe',
'customer_phone' => '+1234567890',
'items_description' => '2x Pizza, 1x Soda',
'order_value' => '25.99',
'business_order_id' => 'ORDER-123'
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://yourapp.com/api/business/deliveries');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer YOUR_API_KEY',
'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
echo 'Tracking Number: ' . $result['tracking_number'];
?>Connect your ecommerce platform to automatically create deliveries when orders are placed.
Webhook URL: https://yourapp.com/api/webhooks/ecommerce
// Shopify Webhook URL: https://yourapp.com/api/webhooks/ecommerce
// Set this in your Shopify admin under Settings > Notifications
// The webhook will automatically create deliveries when orders are placed
// Make sure your business account is approved and webhook URL is configured// WooCommerce Webhook URL: https://yourapp.com/api/webhooks/ecommerce
// Set this in WooCommerce > Settings > Advanced > Webhooks
// Topic: Order created
// Delivery URL: https://yourapp.com/api/webhooks/ecommerce
// Secret: (your webhook secret from business dashboard)$15
per delivery + 15% commission
$25
per delivery + 15% commission
Contact
for high-volume businesses
Our team is here to help you integrate and get the most out of our delivery platform.
Check our status page for real-time API performance and uptime.