FlashQ 1-Hour Delivery
FlashQ 1-Hour Delivery integrates your WooCommerce store with FlashQ’s rapid delivery network, enabling you to offer 1-hour delivery to customers in supported regions across Egypt.
Features:
- 1-Hour Delivery – Offer ultra-fast delivery in select districts
- Region-Based Availability – Automatic region detection and product filtering
- Real-Time Inventory Sync – Automatic stock updates from FlashQ
- Customizable UI – 4 header banner styles to match your brand
- Flexible Pricing – Support for free shipping thresholds
- Smart ETA Calculation – Automatic delivery time based on order time
- Order Status Sync – Real-time updates from FlashQ to your store
- API Logging – Built-in logging for debugging and compliance
How It Works:
- Customer selects their delivery region
- System shows only products available for 1-hour delivery in that region
- At checkout, customer gets 1-hour delivery option if eligible
- Order automatically sent to FlashQ for fulfillment
- Real-time status updates sync back to WooCommerce
Requirements:
- WooCommerce 6.0 or higher
- FlashQ API credentials (contact FlashQ for access)
- Products with matching SKUs in FlashQ inventory
Developer Documentation
Hooks & Filters:
Action: flashq_shipping_upgrade
Fires when the plugin version is upgraded.
Parameters: $old_version (string), $new_version (string)
Filter: flashq_shipping_regions
Modify the list of available regions before they are displayed.
Parameter: $regions (array)
Filter: flashq_shipping_payment_map
Customize the payment method mapping sent to FlashQ.
Parameter: $payment_map (array)
REST API Endpoints:
POST /wp-json/flashq/v1/webhook
Receive inventory and order-status updates from FlashQ.
Authentication: X-FlashQ-API-Key header (auto-generated; see WooCommerce > FlashQ 1-Hour > API Configuration)
GET /wp-json/flashq/v1/regions
Return all active regions flagged for display in the customer modal. Authentication: none required.
POST /wp-json/flashq/v1/regions/select
Store the customer’s selected region in their WooCommerce session.
Authentication: WP REST nonce (X-WP-Nonce header).
More Information:
- Documentation: https://github.com/wordpressfan/flashq-shipping/blob/trunk/docs/PLUGIN_DOCUMENTATION.md
- Support: https://github.com/wordpressfan/flashq-shipping/issues