Skip to main content
Metrics type: Key MetricsCategory: Ecommerce Platform
Shopline JWTs are long-lived (Phillipstoys’ is good until 2027-07) but silent expiry breaks order downloads. Surface before merchants notice.

At a glance

Health check on the Shopline JWT used to access the Orders, Products, and Inventory APIs. Shopline JWTs are typically long-lived (1 to 2 years) but expire silently with no merchant-side warning. When they expire, the dashboard goes blind and ops only finds out when a buyer complains. This card surfaces it before that moment.

Calculation

Calculated automatically from your Shopline data. See the At a glance summary above for what the metric tracks and the worked example below for a typical reading.

Worked example

An APAC fashion brand running a Hong Kong Shopline store, snapshot at 09:00 HKT on 27 Apr 26. The brand connected Shopline to Vortex IQ on 12 Jul 25 with a JWT issued by their Shopline tenancy admin valid for 24 months.
What it means. Token is healthy with over a year of life left. The card sits green on the dashboard as a passive reassurance. Now imagine the alternative scenario, 12 Jun 27 (45 days before expiry): The card flips amber. The merchant gets a “renew Shopline credentials within 30 days” notification in Nerve Centre, plus an email to the owner role-holder. The renewal takes ~10 minutes (log into Shopline tenancy admin, generate new JWT, paste into Vortex IQ settings); doing it now means zero downtime. The failure mode this card prevents: A real incident the worked example is modelled on cost a merchant ~HK$ 90,000 of weekend revenue visibility (the orders still happened, but the team had no live read on them and made wrong staffing calls Sunday).

Sibling cards merchants should reference together

Reconciling against the vendor’s own dashboard

Where to look in Shopline’s own dashboard:
Shopline Tenancy Admin -> Settings -> Developer / API access -> Tokens Shows issued tokens with their expiry dates. The Vortex IQ token will be one of them, identifiable by name (typically “Vortex IQ Integration”).
Shopline does not surface “days remaining” prominently anywhere; this card exists because the platform’s own UX assumes tokens are managed by an engineer who already knows when they will expire. Why our number may legitimately differ from Shopline’s Admin: Internal identity: shopline_alert_token_expiry.status = (jwt.exp - now < 30 days) OR (consecutive_failures >= 3). No reconciliation needed; the JWT exp claim is the source of truth.

Known limitations / merchant FAQs

Why does Shopline issue 1 to 2 year JWTs in the first place? Shopline’s API design assumes integrations are run by engineers who manage credentials proactively. The long token life is a convenience for engineers; the silent-expiry failure mode is a known UX gap that this card patches. My token expires next month; what happens at expiry? At expiry, every Shopline API call returns 401 Unauthorized. Vortex IQ stops receiving data; revenue, orders, fulfilment, inventory cards all freeze on their last-known values. The merchant typically does not notice until they wonder why “today” is empty on the dashboard. How do I renew my Shopline JWT? Log into your Shopline tenancy admin, navigate to Settings > Developer / API access > Tokens, generate a new JWT scoped to the same permissions, and paste it into Vortex IQ’s connector settings. Takes about 10 minutes total. The card says “auth failures >3 consecutive” but my token is not expired. What is happening? Three usual causes. (1) Shopline rotated their signing key after a security event; you need to re-issue your JWT. (2) Your store’s API access was disabled in tenancy admin (rare; usually a permissions cleanup gone wrong). (3) Network or DNS issue between us and Shopline; usually self-resolves within an hour. The drill-down view shows the failure HTTP code which narrows the cause. Can I extend the token’s life? Not without re-issuing it. Shopline JWTs have hard-coded expiry; the only way to extend is to issue a new one with a fresh exp claim. Why is the alert at 30 days out, not 7 days? Because token renewal often requires the tenancy admin (a different person from the merchant operator) to act, and that person may take 1 to 2 weeks to respond. 30 days gives a comfortable runway. Does this card protect against API rate-limit errors? No. Rate-limit errors return 429, not 401/403, and they do not increment the auth-failure counter. They are surfaced separately under connector-health monitoring. Why are Shopline tokens different from Shopify or BigCommerce? Shopify and BigCommerce use OAuth with refresh tokens, so a refresh failure is a different signal. Shopline issues a static JWT at integration time and assumes manual rotation. The card adapts to the connector’s auth model; the user-facing semantic is the same: “is this connector going to work tomorrow?”. Can I get notified at 60 days instead of 30? Yes; the threshold is configurable in the manifest. Engineering-managed accounts often set 60 or 90 days for ample lead time. Phillipstoys’ token expires 2027-07; why is the card showing “healthy” today? Because Phillipstoys’ JWT was issued in mid-2025 with a 2-year life, leaving over a year of remaining validity. This is the textbook healthy state; the card stays green until 30 days before expiry, at which point it flips amber.

Tracked live in Vortex IQ Nerve Centre

Auth Token Health is one of hundreds of KPI pulses Vortex IQ tracks across Shopline and 70+ other ecommerce connectors. Nerve Centre runs the detection layer; Vortex Mind investigates the cause when something moves; Ask Viq lets you interrogate any number in plain English. Start for free or book a demo to see this metric running on your own data.