Documentation
Integration setup guides
Step-by-step help for every channel Vefri connects: stores, couriers, WhatsApp, and the returns workflow.
Start here
Connect your stack in order
Vefri verifies what was delivered against what comes back. Store + courier + WhatsApp together give you the full loop. Most teams are live the same day.
- 1Create a Vefri account and open Integrations in the dashboard.
- 2Connect your store: Shopify (OAuth) or WooCommerce (Vefri Connect plugin).
- 3Connect Shiprocket and/or Delhivery if you use them for delivery events.
- 4Connect WhatsApp Business so customers get capture links.
- 5Send a test delivery capture on a recent order, then walk a return through Approve / Reject.
- Tip: You do not need every courier on day one. Store + WhatsApp is enough to start.
- Tip: Refunds still happen in Shopify or WooCommerce. Vefri gives evidence and can sync return status.
Store
Shopify
One-click OAuth from Vefri. Orders, customers, and tracking sync so evidence sits next to the right order.
- 1In Vefri go to Integrations β Shopify β Connect.
- 2Pick your store in Shopify and approve access.
- 3You return to Vefri when the connection succeeds.
- 4New and updated orders sync automatically via Shopify webhooks.
Orders
Create/update, line items, fulfillment and tracking when available.
Customers
Name, email, and phone used for capture links.
Returns
Return context in Vefri; optional sync of approve/reject back to Shopify when you choose.
- Tip: Vefri reads store data for verification. It does not rewrite your catalog or themes.
- Tip: If orders look stale, use Sync on the Shopify card or confirm the app is still installed.
If something fails
Connect opens Shopify but never returns
Allow pop-ups, finish the approve screen, and check you used the same Shopify store you intended.
Orders missing in Vefri
Confirm the integration shows Connected, then trigger Sync. Check that the order exists and is not draft-only.
Store
WooCommerce (Vefri Connect)
Install the Vefri Connect WordPress plugin, pair from the Vefri dashboard, and sync orders, customers, and returns both ways.
- 1In Vefri open Integrations β WooCommerce and generate a pairing token (countdown window).
- 2On WordPress: install and activate Vefri Connect (WooCommerce must already be active).
- 3Go to WooCommerce β Vefri Connect. Enter API URL (production: https://api.vefri.io) and the pairing token.
- 4Click Connect. The plugin creates REST keys, registers webhooks, and handshakes with Vefri.
- 5Customers use My Account β Returns. Admins use WooCommerce β Vefri Returns. Status Approve/Reject syncs with Vefri.
Orders
Created/updated via plugin hooks and WooCommerce webhooks.
Customers
Created/updated with contact details for messaging.
Returns
WP β Vefri status (Pending / Approved / Rejected). Refunds still run in WooCommerce.
- Tip: After first install, if Returns 404s: Settings β Permalinks β Save once.
- Tip: HTTPS on the store is strongly recommended so webhooks and write-back stay reliable.
- Tip: Disconnect from WooCommerce β Vefri Connect removes keys and webhooks cleanly.
If something fails
Handshake stuck / local only
Confirm the API URL is reachable from the WordPress server (not only your laptop browser). Reconnect with a fresh pairing token.
Approve in Vefri does not change WP
Confirm Connected + handshake synced. Check Last error on the plugin settings page. LocalWP self-signed HTTPS needs a reachable store URL.
Approve in WP does not change Vefri
Confirm handshake is synced (not local-only). Re-save the status or push again; check Vefri is reachable from WordPress.
Courier
Shiprocket
AWB and delivery scans feed the order timeline so capture can start from a real delivery event. Live webhooks keep status current between syncs.
- 1Open Integrations β Shiprocket in Vefri.
- 2Add your Shiprocket API credentials from the Shiprocket seller panel.
- 3After connect, copy the Vefri webhook URL and API key and paste them in Shiprocket β Settings β API β Webhooks.
- 4Tap Sync once, then confirm tracking updates appear on Orders as Shiprocket status changes.
Shipments
AWB, pickup, in-transit, and delivery status.
Live webhooks
Shiprocket posts tracking scans to Vefri so status updates without waiting for the next poll.
Triggers
Delivery events can start the customer delivery-capture WhatsApp link.
- Tip: Courier apps stay as-is. Vefri does not install anything on the rider side.
- Tip: Shiprocket registers webhooks only from their panel (not via API). Use Configure on the Shiprocket card to copy URL + key.
- Tip: You can still send capture links manually from an order if a scan is delayed.
If something fails
Credentials rejected
Regenerate API keys in Shiprocket and paste email + password/token exactly as shown in their docs.
No delivery events
Confirm the AWB is on the same Shiprocket account you connected, webhook URL + x-api-key are set in Shiprocket, then run Sync.
Webhook URL rejected by Shiprocket
Use the exact Vefri URL from Configure (path must not contain shiprocket/sr). Do not invent a custom path.
Courier
Delhivery
Connect Delhivery with an API token to track waybills in Vefri.
- 1Open Integrations β Delhivery in Vefri.
- 2Copy the production API token from Delhivery One β Settings β API Setup.
- 3Paste the token and connect, then Sync or track AWBs from orders.
Waybills
Tracking status into the order and return timeline.
Triggers
Delivery events can kick off evidence capture.
- Tip: Use a production token. Order list import is limited; tracking is the primary path.
If something fails
Token errors
Confirm you copied the live API token for the correct Delhivery account.
Messaging
WhatsApp Business
Customers open a capture link from WhatsApp, record guided evidence on their phone, and submit. No personal chat chasing.
- 1Open Integrations β WhatsApp in Vefri.
- 2Complete Meta / Cloud API connection (Embedded Signup or your approved WABA).
- 3Confirm the phone number shows Connected and templates are available or approved.
- 4From an order, send a delivery or return capture link to test end-to-end.
Outbound
Template messages with capture URLs for delivery and return evidence.
Status
Delivery/read signals where Meta provides them.
- Tip: Template names and languages must match what Meta approved.
- Tip: SMS fallback can be configured where available if WhatsApp fails.
If something fails
Number already in use
The WhatsApp number may still be registered on another Business Manager. Release it in Meta, then reconnect in Vefri.
Templates pending
Wait for Meta approval. Until then, use approved templates only for live sends.
Workflow
Returns & refund decisions
Delivery evidence and return evidence sit side by side. Your team approves, holds, or rejects. Couriers do not decide refunds.
- 1Capture delivery proof when the order is delivered (auto link or resend from Orders).
- 2When a return is requested, send return evidence capture (WhatsApp / portal).
- 3Review both records in Returns. Use risk flags if enabled.
- 4Approve or Reject in Vefri. WooCommerce syncs status automatically; Shopify sync when you opt in.
- 5Complete the money movement in Shopify or WooCommerce as you normally would.
- Tip: WP admin can also Approve/Reject. Those decisions push to Vefri when the plugin handshake is synced.
- Tip: NEW badges on Orders/Returns clear after you open that section (last-seen), not at midnight.
Help
Common fixes
Quick checks before you open a support ticket.
- 1Integrations page: each card should say Connected (or Synced for Woo).
- 2Orders page: confirm the channel badge (Shopify / WooCommerce) and that the order number matches the store.
- 3Returns: if status is wrong one side only, re-save status or reconnect that channel.
- 4WhatsApp: confirm templates approved and the test number can receive business messages.
If something fails
Capture link expired
Resend from the order or return drawer. Links are scoped and time-limited on purpose.
Need hands-on help
Book a demo or contact support with your workspace email and the store URL / channel.
Ready to connect?
Open Integrations in your workspace, or book a demo if you want us on the call.