API Documentation
Complete developer guide to integrate with Advanced Product Importer API and import products from 2 global marketplaces
Documentation
Getting Started
The Product Importer API allows you to programmatically import products from major e-commerce platforms into your WooCommerce store. This RESTful API supports real-time product search, import, and synchronization.
Base URL
https://commersuit.nxtal.com//api
Authentication
All API requests require authentication using API keys. Include these headers in every request:
X-Account-Key: your_account_api_key
Important Note
You can generate API keys from your account dashboard after subscribing to a plan.
API Endpoints
/products/search
Search for products across supported marketplaces
/products/import
Import a single product to your WooCommerce store
/products/batch-import
Import multiple products in a single request
Product Operations
Search Products
curl -X POST https://commersuit.nxtal.com//api/products/search \
-H "Content-Type: application/json" \
-H "X-Account-Key: your_account_key" \
-d '{
"adapter": "adapter_key",
"query": "wireless headphones",
"limit": 20,
"credentials": {
"access_key": "your_access_key",
"secret_key": "your_secret_key"
}
}'
Import Product
curl -X POST https://commersuit.nxtal.com//api/products/import \
-H "Content-Type: application/json" \
-H "X-Account-Key: your_account_key" \
-d '{
"adapter": "adapter_key",
"product_id": "B08N5WRWNW",
"credentials": {
"access_key": "your_access_key",
"secret_key": "your_secret_key"
}
}'
Error Handling
API error handling details:
| HTTP status code | Reason |
|---|---|
| 401 | Missing required header |
| 402 | Invalid API key or Account Suspended |
| 403 | Subscription related errors (No active subscription, Subscription expired, Suspended, Cancelled) |
| 429 | Rate limit exceeded or Monthly limit exceeded |
Code Examples
Here are some code examples for different programming languages:
import requests
API_URL = "https://commersuit.nxtal.com//api/products/search"
headers = {
"Content-Type": "application/json",
"X-Account-Key": "your_account_key"
}
data = {
"adapter": "adapter_key",
"query": "wireless headphones",
"limit": 20,
"credentials": {
"access_key": "your_access_key"
}
}
response = requests.post(API_URL, json=data, headers=headers)
print(response.json())
Ready to Get Started?
Choose a plan and start importing products from global marketplaces today