{"skill":{"slug":"trendyol-admin","displayName":"trendyol-admin","summary":"Comprehensive management of Trendyol marketplace via API v2.0. Includes product lifecycle (create, update, delete, archive), stock/price management, order pr...","description":"---\nname: trendyol-admin\ndescription: Comprehensive management of Trendyol marketplace via API v2.0. Includes product lifecycle (create, update, delete, archive), stock/price management, order processing (status updates, shipping), returns, and customer questions. Use this skill as a knowledge base to construct correct API requests.\n---\n\n# Trendyol Admin (AI Knowledge Base)\n\nThis 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.\n\n## 🛠 Usage for AI Agents\n\n1. **Authentication**: Always use Basic Auth.\n   - Username: `API_KEY`\n   - Password: `API_SECRET`\n   - Generate Header (One-liner): `echo -n \"YOUR_API_KEY:YOUR_API_SECRET\" | base64`\n2. **Mandatory Headers**: Every request MUST include:\n   - `Authorization: Basic <base64>`\n   - `User-Agent: <SupplierId> - SelfIntegration`\n   - `storeFrontCode`: **This is the mandatory parameter to switch national markets.**\n     - `AE`: United Arab Emirates (AED)\n     - `SA`: Saudi Arabia (SAR)\n     - `QA`: Qatar (QAR)\n     - `KW`: Kuwait (KWD)\n     - `BH`: Bahrain (BHD)\n     - `OM`: Oman (OMR)\n     - `DE`: Germany (EUR)\n     - `AZ`: Azerbaijan (AZN)\n     - `RO`: Romania (RON)\n     - `CZ`: Czech Republic (CZK)\n     - `HU`: Hungary (HUF)\n     - `SK`: Slovakia (EUR)\n     - `BG`: Bulgaria (BGN)\n     - `GR`: Greece (EUR)\n3. **Endpoints**: Refer to [references/api_reference.md](references/api_reference.md) to find the correct URL for the task (Product, Inventory, Order, etc.).\n4. **Execution**: Since there are no pre-built scripts, use `curl` or inline Node.js/Python code to execute requests as defined in the reference.\n\n## 📖 Key Sections in Reference\n\n- **Authorization**: Header construction and error codes.\n- **Product Integration**: Full lifecycle management of items.\n- **Order Integration**: From creation to delivery status updates.\n- **Webhooks**: Real-time notification models.\n- **API Reference File**: [references/api_reference.md](references/api_reference.md)\n\n## ⚠️ Important Rules\n\n- **Base URL (Prod)**: `https://apigw.trendyol.com/integration/`\n- **Rate Limit**: 50 requests per 10 seconds.\n- **Image Requirements**: 1200x1800 px, HTTPS URLs.\n- **JSON Only**: All payloads must be valid JSON.\n","topics":["Knowledge Base"],"tags":{"latest":"1.0.1"},"stats":{"comments":0,"downloads":1390,"installsAllTime":52,"installsCurrent":0,"stars":2,"versions":2},"createdAt":1771159130838,"updatedAt":1778990708834},"latestVersion":{"version":"1.0.1","createdAt":1771164479052,"changelog":"- Added mandatory storeFrontCode header for switching between national markets, with explicit codes for each supported country.\n- Updated usage instructions to include the new storeFrontCode requirement in all API requests.","license":null},"metadata":null,"owner":{"handle":"awelab","userId":"s1744eee8s101tmw4xpyjzt2yd884w36","displayName":"awelab","image":"https://avatars.githubusercontent.com/u/30888357?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779968162321}}