User Guide: Dropea's GraphQL API with Apollo

User Guide: Dropea's GraphQL API with Apollo

🔑 Generate API Key in dropea

1️⃣ Go to My Account → Access Tokens
2️⃣ Give your API Key a name ✏️



3️⃣ Optionally, you can add an expiration date. ⏳ (If you don't define one, the API Key will be permanent.)



4️⃣ Select the permissions (scopes) that your API Key will have, for this example we will select:
👤 View my user
🛒 Create order
📦 List products



* Everything you see in this image are the actions that the dropea GraphQL API allows you to perform.

5️⃣ Click Create Personal Access Token 🔐



Warning
🚨 IMPORTANT : Copy and save the token in a safe place. ⚠️ You won't be able to see it again.

🚀 Using the API Key in Apollo

1️⃣ Enter 👉 Apollo Studio
2️⃣ Click the settings icon ⚙️



3️⃣ In Endpoint, enter:



4️⃣ In Shared Headers, add the following:
  1. {
  2. "x-api-key": "YOUR_API_KEY_HERE"
  3. }


5️⃣ Save the settings ✅

  1. If you see a green light 🟢, everything is correct.
  2. If it remains red 🔴, check that the API Key is valid and that the endpoint is spelled correctly.

👤 See my User

1️⃣ Click on Query 📜



2️⃣ Select the Me 👥 option.



3️⃣ Check the fields you want to display in the response. 🔎



4️⃣ Press the Run button ▶️.



5️⃣ You will receive a 200 ✅ response with the user information you selected in step 4️⃣.




🛍️ Create an Order

1️⃣ Click on Mutation ✏️.



2️⃣ Select OrderCreate 🛒.



3️⃣ Add the 4 required arguments 📋.



4️⃣ Complete each argument with its corresponding data.
  1. As you add them, they will be displayed in the variables section .


5️⃣ If you don't know what values to use, check the structure:
  1. Mutation → OrderCreate → Customer → Country 🌍
  2. Press Ctrl + Space to see a list of available options.



✨ And that's it! You can now interact with the Dropea API using Apollo Studio quickly and easily. 🚀

If you have any questions, check your API Key permissions and endpoint settings. Or contact us! Any improvements are always welcome 🔍✅
    • Related Articles

    • User guide: webhooks

      ? Introduction to Using Webhooks Our platform allows you to configure webhooks to receive automatic updates on key events related to your orders and incidents. This allows you to keep your systems synchronized without the need for manual queries. ? ...
    • Where can I find a guide to get started setting up my Dropea account?

      Once you log in to your dropshipper account, you'll find a guide with the first steps in the Dashboard section of the panel, in the left-hand side menu (it's the first one that appears). Each step has its own instructions attached, and if you click ...
    • Orders not displayed in dropea

      Active filters If you can't see your orders in Dropea, clear all the filters you've set in the orders section and they should appear. By default, Dropea will always show you orders from the last 7 days, but if you tap the date filter (or any other ...
    • Chatby Activation Guide

      Boost your sales, confirm orders, and resolve issues automatically with Chatby's AI. In the following guide we show you how to activate it ▶️ https://goo.su/nP0SY We also share a playlist with step-by-step video tutorials to get you started ▶️ Chatby ...
    • What is Dropea?

      It is a platform that enables connection and communication between warehouses and dropshippers, facilitating transactions between suppliers with available inventory and dropshippers interested in selling those products without physically managing the ...