Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Mercaline2024/Ecomdrop-ia-connector-2/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Dropi integration allows you to browse products from the Dropi marketplace and import them directly into your Shopify store. Dropi provides access to suppliers across Latin America with support for multiple countries.Supported Countries
Dropi supports the following countries:| Country | Code | Field ID |
|---|---|---|
| Colombia | CO | 640597 |
| Ecuador | EC | 805359 |
| Chile | CL | 665134 |
| Guatemala | GT | 747995 |
| Mexico | MX | 641097 |
| Panama | PA | 742965 |
| Peru | PE | 142979 |
| Paraguay | PY | 240677 |
Each country has a unique field ID used for API configuration. The app handles this mapping automatically.
Getting Your Dropi Token
Access Dropi Account
Log in to your Dropi account at dropi.co
Configuring Dropi
Before you can browse and import Dropi products, you need to configure the integration:Configure Ecomdrop First
Dropi configuration is saved via Ecomdrop’s API. Ensure you have your Ecomdrop API key configured first.
Fill Dropi Details
Complete the Dropi configuration form:
- Store Name: Your business name in Dropi
- Country: Select your operating country
- Dropi Token: Your integration key from Dropi
Configuration API Call
When you save configuration, the app makes this API call:fieldId is automatically determined based on your selected country.
Browsing Products
Once configured, you can browse Dropi products from the app:Product Catalog Access
Search & Filter
Use search and filters:
- Search: Find products by keywords
- Favorites: View your favorited products in Dropi
- Private Products: Show your private product catalog
API Endpoint
The app fetches products from Dropi’s API:Request Parameters
When searching, only
keywords is sent. When browsing, either favorite: true (default) or privated_product: true is sent, but never both.Response Format
Importing Products
Import Dropi products into your Shopify store:Map Product Data
The app automatically:
- Creates the product in Shopify
- Uploads product images
- Creates variants with SKUs
- Sets pricing
- Saves the association for future sync
Product Association
When you import a product, the app creates an association record:- Track which products are imported
- Prevent duplicate imports
- Enable future synchronization
- Display import status
Pagination & Performance
The product browser supports pagination for large catalogs:Number of products to fetch per page (max 100)
Starting offset for pagination (0-based)
Example Pagination
Filter Options
Favorites Only
Show only products you’ve marked as favorites in Dropi:Private Products
Show your private product catalog:Search by Keywords
Search across product names and descriptions:When searching, favorite and private filters are ignored to show all matching results.
Troubleshooting
Common Issues
No products showing
No products showing
Possible Causes:
- Invalid Dropi token
- No products in your selected filter (favorites/private)
- Network connectivity issues
- Verify your Dropi token is correct
- Try switching between favorites and private products
- Check browser console for API errors
Configuration not saving
Configuration not saving
Possible Causes:
- Missing Ecomdrop API key
- Invalid country code
- Invalid Dropi token format
- Configure Ecomdrop API key first
- Select a country from the dropdown
- Verify token from Dropi dashboard
Products not importing
Products not importing
Possible Causes:
- Shopify API rate limits
- Missing product data (images, variants)
- Duplicate product exists
- Wait a moment and retry
- Check if product already exists in Shopify
- Review server logs for specific errors
API Error 401 or 403
API Error 401 or 403
Cause: Invalid or expired Dropi tokenSolution:
- Go to Dropi dashboard
- Generate a new integration key
- Update in app configuration
Data Synchronization
Current Behavior
The current version supports:- ✅ One-time product import from Dropi to Shopify
- ✅ Product association tracking
- ✅ Duplicate detection
Future Features
Planned features include:
- Automatic inventory sync
- Price updates from Dropi
- Bulk product import
- Product update notifications
Security & Authentication
The Dropi integration uses multiple security layers:- Dropi Integration Key - Authenticates requests to Dropi API
- Ecomdrop API Key - Validates configuration saves
- Shopify Session - Ensures user has access to the store
- Database Validation - Verifies shop ownership
API Rate Limits
Dropi API has rate limits to ensure fair usage:- Requests per minute: Varies by account tier
- Concurrent requests: Limited to prevent overload
The app handles rate limiting gracefully by showing empty results on error. Check server logs if you suspect rate limiting.
Code Reference
Dropi integration code locations:- Product Browser:
app/routes/api.dropi.products.tsx:5 - Configuration Save:
app/routes/api.integrations.dropi.save.tsx:11 - Country Mapping:
app/lib/ecomdrop.api.server.ts:152
Best Practices
- Configure Once - Set up Dropi integration before browsing products
- Use Favorites - Mark products as favorites in Dropi for easier browsing
- Check Associations - Verify products aren’t already imported before clicking import
- Monitor Stock - Keep an eye on Dropi stock levels before importing
- Test with Few Products - Import 1-2 products first to verify setup
Support
For Dropi-specific issues:- Contact Dropi support for account and token issues
- Check the app’s server logs for API errors
- Verify your account has access to products in your selected country
- Ensure your Dropi account is active and verified