FOXAFFOXAFHelp Centre

Shopify integration

Updated 5 Dec 2026 · 4 min read

Connect your Shopify store through the iCargos Universal Courier app to send WhatsApp order updates as parcels move, add customers as contacts, see orders in your workspace and start workflows.

Connect your Shopify store to FOXAF through the iCargos Universal Courier app from the Shopify App Store. Each order you book with a courier can then send your customer a WhatsApp update. The update goes when the order is booked, out for delivery, delivered or returned. Customers become contacts, orders appear in your workspace, and any update can start a workflow.

Before you begin

  • The integration works for orders you book with a courier inside iCargos Universal Courier. Orders you do not book there are not sent.
  • Connect a WhatsApp number in FOXAF first: the official WhatsApp API or a number linked by QR code. See Connect WhatsApp and Connect WhatsApp by QR code.
  • Official WhatsApp API numbers can only start a chat with a template Meta has approved. Create one template per update you want to send, in the Utility category. See Create a WhatsApp template.
  • Orders in FOXAF needs a plan with online store orders (Starter and up). Order workflows need the Pro plan.
  • You need the Owner or Admin role in FOXAF to create an API token.

Where to find it

In Shopify admin, open Apps → iCargos Universal Courier → WhatsApp.

Step 1: Install the app and create a token

  1. Install iCargos Universal Courier from the Shopify App Store and set up your courier.
  2. In FOXAF, go to Settings → Channels & Numbers → API tokens. See API tokens and the public API.
  3. Create a token with these scopes: channels:read, templates:read, messages:send, contacts:read, contacts:write, conversations:read, workflows:read, workflows:enroll, webhooks:write and ecommerce:write.
  4. Copy the token. It is shown only once.

Step 2: Connect FOXAF

  1. In the app, open WhatsApp.
  2. Under Already have FOXAF? Connect it, paste the token into FOXAF API token and click Connect.

The FOXAF account card now shows your workspace, plan, the end of the token and when you connected. WhatsApp numbers lists every number in your workspace and whether it is connected.

Step 3: Turn on order updates

There is one update for each step of the parcel: Order booked, Picked up, In transit, Out for delivery, Delivery attempted, Delivered, Returned and Cancelled. All are off until you turn them on.

  1. Under Order updates, click Edit next to an update.
  2. Tick Send this message when an order (the rest names the step).
  3. Under Send from, choose a WhatsApp number.
  4. For a QR-code number, write the Message. For an official API number, choose an Approved template and pick what fills each {{1}}, {{2}}: Customer name, Order number, COD amount, Courier, Tracking number, Tracking link or Store name.
  5. Check Preview with example values.
  6. Optional: under Also start a FOXAF workflow, choose a workflow to start for that customer at the same time.
  7. Click Save.

To try it, go to Send a test, choose the Update, type Your WhatsApp number and click Send test.

Step 4: Customers, orders and replies (optional)

  • Customers in FOXAF: tick Add booked customers to FOXAF contacts and click Save. Each booked customer becomes a contact with name, phone, email and city. The contact is tagged "iCargos", "Courier: …" and "City: …". As the parcel moves, it also gets "Delivered", "Returned", "Delivery attempted" or "Cancelled". Use these tags for segments and campaigns.
  • Orders in FOXAF: click Turn on. Your store is added as a Shopify store. Each order appears when you book it, with the customer, items, COD amount and tracking number. It moves to delivered, returned or cancelled with the parcel. Orders booked before you turn this on are not sent.
  • Live updates from FOXAF: click Turn on. The app then learns at once when a customer replies or a message fails, instead of at the next status check. Customer replies always arrive in your shared inbox. See Conversations.

What happens next

  • Each update is sent once per booking, when the courier reports that step. An update more than 6 hours late is not sent.
  • Every message is counted in your plan. Official API templates are charged by Meta per delivered message. See WhatsApp's 24-hour window and message pricing.
  • View message log shows every update, newest first, with its status (Waiting, Sent, Delivered, Read, Failed or Not sent) and the reason when one did not go out. Some failed updates have a Resend button.
  • Disconnect stops all updates. Your contacts and orders stay in FOXAF.

Common questions

Do I need the iCargos courier features to use this? Yes. Updates follow the parcel, so they work for orders booked with a courier in the app.

Can customers confirm cash-on-delivery orders? Use a template with Confirm and Cancel buttons on Order booked, and start a workflow that begins When an inbound message is received. That workflow can tag the reply. See Workflow triggers and actions.

Why was an update not sent? Open View message log. Common reasons are a number that is disconnected, a template that is not approved, or an update more than 6 hours late.

Messages stopped and the page says so. What do I do? The token was revoked or expired. Create a new token in FOXAF with the same scopes and paste it under Paste a new API token.

I sell on WooCommerce, not Shopify. Use the WordPress plugin instead. See WooCommerce integration.