Voir les catégories

Comment connecter ShipStation à Excel - Interroger les données d'expédition avec SQL

Connecter ShipStation à Excel

Récupérer des données à partir de ShipStation dans Excel

Importez en temps réel les données de votre compte ShipStation dans Excel et actualisez-les à votre guise. Aucun pilote ODBC, aucune exportation, aucune macro. La première opération prend environ dix minutes et est incluse dans la version gratuite.

Environ 10 minutes Aucun codage nécessaire Vos identifiants vous suivent. Exceller partout, même sur le web
Vous êtes bloqué à un moment donné ? N'hésitez pas à nous demander. Ouvrir Soutien Dans la section « Flux de requêtes » (menu en haut à droite → Assistance), envoyez-nous un message. De vraies personnes le liront, et « Je ne comprends pas ce que cet écran demande » est une question tout à fait légitime.

Ce que vous obtiendrez

Logo ShipStationUne feuille de calcul affichant les résultats en temps réel d'une requête SQL sur votre compte ShipStation, avec un bouton permettant d'afficher les dernières lignes dès que les données changent. Par exemple :

ShipStation stocke vos données via son API. Pour les importer dans Excel, il faut généralement exporter un fichier CSV depuis le tableau de bord ShipStation à chaque fois que vous avez besoin de données actualisées. Query Streams simplifie cette opération : un petit programme auxiliaire, l’Agent, exécute la requête à l’emplacement de vos données, et un complément Excel lui demande les lignes souhaitées. Seuls les résultats sont transférés, via une connexion chiffrée, et Excel peut être ouvert n’importe où : sur votre ordinateur portable à la maison, sur celui d’un collègue à l’autre bout du pays, ou encore via Excel sur le web.

OÙ COURT L'AGENTtout ordinateur ou serveur toujours allumé avec une connexion internetVotre ShipStationcompteLes clés restent iciAgent de flux de requêtesdétient les qualificationsFlux de requêteslien cryptésur Internet · résultats uniquementOÙ QUE VOUS SOYEZvotre ordinateur portable, un autre bureau, un hôtel, votre téléphoneExcelWindows, Mac ou Excel sur le web
L'Agent est intégré à vos données. Excel, lui, n'en a pas besoin. Ouvrez la feuille n'importe où et les lignes s'affichent.

Ce dont vous aurez besoin

Un compte Query Streams

Le forfait gratuit suffit pour ce guide. Inscrivez-vous sur mon.querystreams.com.

L'agent sur n'importe quel ordinateur toujours allumé

Un petit programme qui s'exécute en arrière-plan et appelle ShipStation à la demande d'Excel. Il nécessite simplement une connexion internet.

Votre identifiant ShipStation

Vous vous connecterez à ShipStation une seule fois et autoriserez l'accès en lecture. Aucun mot de passe n'est saisi dans les flux de requêtes.

Quel ordinateur reçoit l'agent ? Toute machine toujours allumée qui peut déjà accéder à votre compte ShipStation. Excel peut être partout, y compris Excel sur le Web.

Connectez-le en cinq étapes

  1. Créez votre compte

    Aller à mon.querystreams.com et inscrivez-vous. Choisissez le Gratuit Ce plan est définitif et non une version d'essai. Il couvre la connexion de votre compte ShipStation et l'exécution de requêtes depuis Excel.

  2. Installez l'agent sur n'importe quel ordinateur toujours allumé.

    Connectez-vous, ouvrez TéléchargerInstallez ensuite l'agent sur n'importe quel ordinateur ou serveur toujours allumé et disposant d'un accès Internet. L'installation ne prend qu'une minute et l'agent s'exécute ensuite automatiquement.

    Pourquoi un petit programme plutôt qu'un pilote ? L'agent s'installe en une seule étape sur Windows, Mac ou Linux (environ 85 Mo sous Windows, un peu plus de 100 Mo sous Mac et Linux) et fonctionne discrètement en arrière-plan. Il établit une connexion sortante chiffrée avec Query Streams, comme le ferait un navigateur ; vous n'avez donc pas besoin d'ouvrir de port dans votre pare-feu ni de configurer de VPN. Vos clés restent sur votre machine et les données sont transmises où que vous soyez, via Internet si nécessaire. Seul le module complémentaire est requis de votre côté.

    La page de téléchargement affiche Votre clé d'accèsCollez-le dans l'Agent lorsqu'il vous le demande, et attendez que le badge affiche Connecté aux flux de requêtesC'est la seule chose que vous devez faire sur l'Agent lui-même.

    Des guides complets sont disponibles si vous le souhaitez : Fenêtres, Mac, Linux.

  3. Indiquez-lui l'adresse de votre compte ShipStation.

    De retour dans votre navigateur, ouvrez Agents de données (sous Données (dans le menu du haut). Votre agent y est répertorié. Cliquez Ajouter un connecteur et choisissez ShipStation. Need your ShipStation credentials first? Open the walkthrough, then fill in:

    Create your ShipStation credentials (about 5 minutes)

    Follow this with ShipStation open in another tab. Query Streams keeps what you create here so your Agent can use it, and only ever reads from ShipStation.

    Who can do this
    Account Owner (ShipStation lets only the Account Owner generate API keys)
    Recommandé
    ShipStation V2 API key (Production Key)

    Avant de commencer

    • A ShipStation plan with API access: Standard, Accelerate, Premium or higher. Free and Starter plans have no API access.
    • The Account Owner’s ShipStation login, and access to the owner’s email inbox (the first time, ShipStation emails a verification link before it will create a key).
    • If your company uses ShipStation API (the developer product formerly called ShipEngine) instead of the ShipStation web app, your key is in the ShipStation API dashboard at https://api-portal.shipstation.com/ instead: switch to the Production environment and copy a production key, then go straight to the wizard. Keys that start with TEST_ are sandbox keys.
    • The Query Streams wizard open in another tab: Data Agents → Add connector → ShipStation.

    Steps

    1. Sign in to ShipStation as the Account Owner

      Open ShipStation in a new tab and sign in with the Account Owner’s login. Only the Account Owner can generate API keys, and ShipStation shows a new key only once, only to the person who generated it.

      Not the owner? Ask the owner to do steps 1 to 11 and paste the key into the Query Streams wizard themselves, or send it to you through a password manager. If you are unsure who the owner is, ShipStation support ([email protected]) can tell you.

    2. Open Settings

      Click the gear icon (Settings) in the dark toolbar at the top right of the screen, between the printer icon and the question-mark icon.

      Some accounts also reach the same settings area from the person icon → My Profile.

    3. Open API Settings

      In the left sidebar, expand Account (if it is collapsed) and click API Settings. The page title reads API Settings, with an API Keys box underneath. Once you are signed in, the link opens this page directly.

      If the page says your plan does not support API access, the account is on Free or Starter. Upgrade to Standard or higher under Account → Payment & Subscription first.

    4. Choose V2 API

      In the Select API Version dropdown, choose V2 API.

      The dropdown can open on V1 API. Query Streams uses ShipStation’s V2 API. A V1 key comes as an API Key plus a Secret Key, and it fails Test connection with Invalid API key.

    5. Check whether a V2 key already exists

      If the box shows a Generate API Key button, go to step 6. If it instead shows a Production Key row with a hidden key, a copy icon and a trash-can icon, the account already has its one allowed V2 key.

      If that existing key is saved somewhere safe (a password manager, or another tool’s setup you can copy from), use it and go straight to the wizard. If not, click the trash-can icon, then Delete Key in the Delete API Key popup. Deleting cannot be undone, and any other tool that uses the old key stops working until you give it the new one.

    6. Click Generate API Key

      Click Generate API Key on the right of the box. If a popup titled Generate API Key opens, skip to step 9. If a blue notice appears instead (“Email verification required. Click the verification link we sent to your user email address then retry.”), do steps 7 and 8.

      ShipStation asks for this email check before the account’s first key. New accounts must verify their email before they can generate keys at all.

    7. Click the verification link in your email

      Open the email ShipStation sent to the Account Owner’s address and click the verification link in it.

      No email after a few minutes? Check spam and promotions folders.

    8. Click Generate API Key again

      Go back to the API Settings tab, check that Select API Version still shows V2 API, and click Generate API Key again.

      The button resets once the email is verified. If the blue notice is still there, reload the page and choose V2 API again.

    9. Pick an expiration and click Generate

      In the Generate API Key popup, under Set key expiration, choose 12 months, 6 months or 3 months, then click Generate.

      The key stops working on that date, and your ShipStation sync stops with it. Choose 12 months and put a reminder in your calendar; ShipStation also emails a reminder before the key expires.

    10. Copy the API Key

      A popup titled API Key Created opens with a warning that this is the only time the key will be visible. Click the copy icon (two overlapping squares) to the right of API Key.

      Paste it straight into the Query Streams wizard (or a password manager), not into email or chat. If the popup also shows a Secret Key row, you created a V1 key: click Done, go back to step 4 and choose V2 API.

    11. Click Done

      Click Done. Back on API Settings, the key now shows hidden. ShipStation will not reveal it again; if it is lost, you delete it and generate a new one.

    Permissions to grant

    ResourceAccèsUsed for
    V2 API key (Select API Version → V2 API)Full account access. ShipStation has no read-only or limited keys.Every shipstation.* table: shipments, labels and fulfillments (on by default), plus carriers, carrier_services, warehouses, products, batches, manifests, pickups, tags, users and webhooks. Query Streams only sends read requests.
    Plan: Standard, Accelerate, Premium or higherRequisWithout it ShipStation answers with 402 and no table syncs. Free and Starter plans have no API access.
    Inventory API (Settings → Add-Ons)Included on Standard and higher; an add-on on lower plansinventory and inventory_locations tables. A key that only has the add-on (plan below Standard) still fails Test connection, because the test reads shipments.
    Account OwnerRequired to generate the keyNo table. ShipStation lets only the Account Owner create API keys.

    Paste into Query Streams

    Clé API ShipStation
    The API Key you copied in step 10: one value, no secret. A key that starts with TEST_ is a sandbox key and shows only sandbox data. Query Streams stores the key for your Agent and only ever reads with it.

    Common problems

    Test connection shows a red result: Invalid API key.

    Why: A V1 key or its Secret Key was pasted, the value picked up extra spaces, or the key was deleted or has expired.

    Fix: Generate a V2 key (steps 4 to 11) and paste only the API Key value. Click Test connection until it says Connected.

    Test connection shows API error: PaymentRequired.

    Why: ShipStation answered 402: the account is on a plan below Standard (Free or Starter), or it has only the Inventory API add-on.

    Fix: Upgrade to Standard or higher under Account → Payment & Subscription, then click Test again with the same key.

    You cannot generate a key: Generate API Key keeps showing Email verification required, or the person setting up is not allowed to create keys.

    Why: Only the Account Owner can generate keys, and only after verifying their email address.

    Fix: Sign in as the Account Owner, click the link in ShipStation’s verification email, then click Generate API Key again.

    The connection worked for months, then ShipStation syncs stop and Test connection says Invalid API key.

    Why: The key reached its 3, 6 or 12 month expiration, or someone deleted it to make a new key for another tool (the account can hold only one V2 key).

    Fix: Generate a new V2 key, then in Data Agents edit the ShipStation connection, paste the new key into ShipStation API Key and click Test connection. Give the same new key to any other tool that used the old one.

    Tables are empty or show only test shipments, and syncs are slow.

    Why: A sandbox key (starts with TEST_) from the ShipStation API dashboard was used. Sandbox data is separate from your real shipments, and sandbox keys are limited to 20 requests per minute.

    Fix: Paste a Production key (no TEST_ prefix) and click Test connection.

    Some ShipStation tables are behind, and the Agent log shows TooManyRequests.

    Why: ShipStation allows 200 requests per minute per account, shared by every app connected to it. Another integration is using most of that budget.

    Fix: Nothing to change in Query Streams: the table tries again on its next scheduled sync. If it happens every day, ask ShipStation for a higher limit at [email protected].

    Limits to know

    • 200 requests per minute per ShipStation account by default, shared by every app and integration that uses the account; above it ShipStation answers 429 Too Many Requests. The Agent paces itself to a small share of this. Higher limits: email [email protected].
    • Sandbox keys (TEST_ prefix, ShipStation API customers only): 20 requests per minute, sandbox data only. ShipStation web app (platform) accounts have no sandbox, so every key reads live data.
    • API keys expire after 3, 6 or 12 months, chosen when you generate them. ShipStation emails a reminder before expiry.
    • One V2 key per account at a time; the same key can be used by several apps.
    • No API access on Free and Starter plans. Below Standard, V2 keys get 402 except for the Inventory API add-on’s inventory endpoints.
    • V1 API (legacy, deprecated) uses an API Key plus Secret Key pair at a different address, limited to 40 requests per minute per pair. Query Streams does not use V1.

    Steps verified 8 October 2026. Sources: help.shipstation.com/hc/en-us/articles/360025856212-ShipS…, docs.shipstation.com/authentication, docs.shipstation.com/getting-started, docs.shipstation.com/rate-limits, docs.shipstation.com/sandbox, docs.shipstation.com/products-and-plans, docs.shipstation.com/plans/shipstation-free-starter, docs.shipstation.com/plans/shipstation-standard-premium, docs.shipstation.com/apis/shipengine/docs/guides/auth, docs.shipstation.com/apis/shipengine/docs/guides/rate-limits, docs.shipstation.com/apis/shipstation-v1/docs/start-here/…, nango.dev/docs/integrations/all/shipstation-v2/connect.

    Nom de la connexion
    Un nom que vous reconnaîtrez plus tard, comme base de données des ventes.
    Clé API ShipStation
    Votre clé API ShipStation se trouve dans ShipStation sous Paramètres, Compte, Paramètres API.

    Cliquez sur Test de connexion.Quand il lit Connecté, cliquez ÉconomiserLa connexion atteint votre agent en quelques secondes.

    Test échoué ? Usually a missing permission, or a credential from the wrong ShipStation account. The walkthrough above lists the common problems and their fixes.

  4. Ajouter des flux de requêtes à Excel

    Dans Excel, accédez à Insérer → Obtenir des compléments, Rechercher Flux de requêtes, et cliquez AjouterOu ouvrez-le directement depuis Flux de requêtes sur Microsoft AppSourceUn bouton « Flux de requêtes » apparaît dans le ruban. Connectez-vous avec le même compte.

    Fonctionne dans Excel pour Microsoft 365 sur Windows et Mac, et dans Excel sur le Web.

  5. Installez votre première table

    Cliquez sur le bouton « Interroger les flux », choisissez Diffuser une requête, et sélectionnez la connexion que vous venez d'établir.

    Saisissez la requête que vous souhaitez exécuter. Celle-ci extrait quelques colonnes d'une base de données. shipstation.expéditions tableau:

    Exemple · SQL
    SELECT shipping_id, shipping_status, ship_date, carrier_id FROM shipstation.shipments ORDER BY created_at DESC LIMIT 100;

    Sous Fiche de destination choisir Créer une nouvelle feuilleAppuyez ensuite sur le bouton Lecture (la flèche ▶). Les lignes s'affichent dans Excel en une ou deux secondes. Appuyez de nouveau sur le bouton dès que les données changent ; la feuille se met à jour automatiquement.

    Vous ne connaissez pas SQL ? Créez plutôt la requête dans le portail Query Streams. Générateur de requêtes L'interface affiche vos tableaux et colonnes, vous permettant de les parcourir par simple clic. Avec les abonnements Business, vous pouvez également interroger Nova en langage naturel (« Afficher les clients aux États-Unis ») et l'application génère automatiquement la requête SQL. Enregistrez-la : elle sera accessible en un clic depuis le portail et depuis la liste des requêtes enregistrées de l'extension (à partir de l'abonnement Personal Core).

C'est ça. Vos données sont dans la feuille et restent à jour en un clic. Seules les lignes que vous avez demandées ont quitté votre réseau.

Bonnes prochaines étapes

  • Enregistrer la requête dans le portail, vous pouvez donc le relancer en un seul clic, depuis Excel ou Google Sheets.
  • Ajouter un filtre par exemple, une plage de dates, afin que la même requête puisse répondre « ce mois-ci » sans modification.
  • Partagez les résultats avec un collègue. Il voit les rangs, pas vos qualifications.

Questions que se posent les gens

Excel doit-il être installé sur le même ordinateur que votre compte ShipStation ?

Non. Seul l'Agent doit être installé sur le même ordinateur que votre compte ShipStation. Excel peut être installé sur n'importe quel ordinateur connecté à Internet, y compris Excel sur le Web et Excel sur Mac. Connectez-vous au module complémentaire avec votre compte et vos connexions seront disponibles.

Mes données sont-elles copiées dans Query Streams ?

Non. L'agent exécute la requête à l'endroit où se trouvent vos données et n'envoie que les lignes renvoyées. Aucune donnée n'est synchronisée ni stockée entre-temps.

Le forfait gratuit couvre-t-il vraiment cela ?

Oui. L'offre gratuite est un abonnement permanent, et non une période d'essai. Consultez les détails sur son contenu. page de tarification.

Est-ce compatible avec Excel pour Mac ?

Oui. Excel pour Microsoft 365 sur Mac et Windows, et Excel sur le Web.

Toujours bloqué ? Ouvrir Soutien Dans Query Streams, indiquez-nous l'étape à laquelle vous vous trouvez et ce que vous voyez. Nous vous mettrons en relation.
Query Streams connecte également les mêmes données àGoogle SheetsClaude, Curseur et ChatGPTune API RESTet plus encore

Chaque guide pour ShipStation

Ce n'est pas tout à fait votre configuration ?

  • Vous souhaitez interroger directement les classeurs Excel ? Excel Folder lit un dossier de classeurs comme des tableaux → Excel Folder
Updated on octobre 8, 2026

Powered by BetterDocs