trendyol-admin

TotalClaw 作者 totalclaw

通过 API v2.0 全面管理 Trendyol 市场。包括产品生命周期(创建、更新、删除、存档)、库存/价格管理、订单处理(状态更新、运输)、退货和客户问题。使用此技能作为知识库来构建正确的 API 请求。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw skills install shop:totalclaw:totalclaw~awelab-trendyol-admin
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~awelab-trendyol-admin/file -o awelab-trendyol-admin.md
## 概述(中文)

通过 API v2.0 全面管理 Trendyol 市场。包括产品生命周期(创建、更新、删除、存档)、库存/价格管理、订单处理(状态更新、运输)、退货和客户问题。使用此技能作为知识库来构建正确的 API 请求。

## 原文

# Trendyol Admin (AI Knowledge Base)

This skill provides a comprehensive reference for the Trendyol Marketplace API v2.0. It contains all necessary endpoints, authorization requirements, and payload schemas to manage a Trendyol store.

## 🛠 Usage for AI Agents

1. **Authentication**: Always use Basic Auth.
   - Username: `API_KEY`
   - Password: `API_SECRET`
   - Generate Header (One-liner): `echo -n "YOUR_API_KEY:YOUR_API_SECRET" | base64`
2. **Mandatory Headers**: Every request MUST include:
   - `Authorization: Basic <base64>`
   - `User-Agent: <SupplierId> - SelfIntegration`
   - `storeFrontCode`: **This is the mandatory parameter to switch national markets.**
     - `AE`: United Arab Emirates (AED)
     - `SA`: Saudi Arabia (SAR)
     - `QA`: Qatar (QAR)
     - `KW`: Kuwait (KWD)
     - `BH`: Bahrain (BHD)
     - `OM`: Oman (OMR)
     - `DE`: Germany (EUR)
     - `AZ`: Azerbaijan (AZN)
     - `RO`: Romania (RON)
     - `CZ`: Czech Republic (CZK)
     - `HU`: Hungary (HUF)
     - `SK`: Slovakia (EUR)
     - `BG`: Bulgaria (BGN)
     - `GR`: Greece (EUR)
3. **Endpoints**: Refer to [references/api_reference.md](references/api_reference.md) to find the correct URL for the task (Product, Inventory, Order, etc.).
4. **Execution**: Since there are no pre-built scripts, use `curl` or inline Node.js/Python code to execute requests as defined in the reference.

## 📖 Key Sections in Reference

- **Authorization**: Header construction and error codes.
- **Product Integration**: Full lifecycle management of items.
- **Order Integration**: From creation to delivery status updates.
- **Webhooks**: Real-time notification models.
- **API Reference File**: [references/api_reference.md](references/api_reference.md)

## ⚠️ Important Rules

- **Base URL (Prod)**: `https://apigw.trendyol.com/integration/`
- **Rate Limit**: 50 requests per 10 seconds.
- **Image Requirements**: 1200x1800 px, HTTPS URLs.
- **JSON Only**: All payloads must be valid JSON.