Marketplace Integration: HubcartGo
Nâsır Usta
I kept hitting the same problems while integrating with marketplaces like Trendyol, Hepsiburada, and Amazon. Instead of building the same solutions every time, I built infrastructure that solves these problems in one place: HubcartGo.
HubcartGo is a marketplace-integration middleware. You manage product, stock, order, and price sync through one panel and REST API. Right now Trendyol, Hepsiburada, and Amazon main flows are active; N11 and Çiçeksepeti infrastructure is ready.
Problem 1: Marketplaces change their APIs without notice
An integration that works today stops tomorrow. Trendyol adds a field, Hepsiburada changes a field format. Every change means updating every integration one by one.
My solution: HubcartGo Universal Schema. Each channel's data is mapped into one standard model. When a product comes in, it's stored in the same structure regardless of which channel it came from. When an order is created, same model.
{
"orderId": "HCG-2024-00123",
"marketplace": "trendyol",
"items": [
{
"sku": "PROD-001",
"quantity": 2,
"price": 299.90
}
],
"customer": {
"name": "...",
"address": "..."
}
}If a channel changes, I only update that channel's mapping layer. Everything else keeps working.
Problem 2: Rate limits and suspension risk
Trendyol accepts 50 requests per 10 seconds. If you send bulk updates during a campaign, exceeding the limit can get your account suspended.
Solution: Async queue system. With BullMQ and Upstash Redis, every update goes into a queue. It's distributed at each marketplace's allowed speed. This avoids rate-limit errors.
Bulk updates during campaigns are sent in order at a safe speed.
Problem 3: Lost orders when you miss webhooks
The marketplace sends an order notification, your server can't answer right then (deployment, network issue, whatever). The order is lost.
HubcartGo solution: Exponential backoff and Dead-Letter Queue. If the webhook gets no response, it retries 5 times with exponential backoff. If it still fails, it goes to the DLQ and stays there 72 hours. You can re-queue it from the panel with one click. Every webhook delivery is logged.
So a temporary outage doesn't turn into a lost order.
Security and plugins
Marketplace API keys are encrypted with AES-256-GCM. Versioned encryption keys, never returned in plain text. Webhook verification with timing-safe HMAC-SHA256.
All plans include a free OpenCart plugin. Install it, paste your API key, send products. Marketplace orders show up in OpenCart admin. Panel, API, and plugin share the same data model.
I built HubcartGo to solve problems I kept hitting. Details and signup: https://hubcartgo.com