lazada-connector

Connects to Lazada Open Platform API for orders, products, finance, and seller performance data.

1|Updated Jun 21, 2026
One-click install
npx skills add https://github.com/tapway/shogun-os --skill lazada-connector-tapway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lazada-connector
Source: https://github.com/tapway/shogun-os/tree/main/skills/retail/lazada-connector
Command: npx skills add https://github.com/tapway/shogun-os --skill lazada-connector-tapway

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Managing a Lazada store across Southeast Asian marketplaces requires manual API integration with Lazada's custom HMAC-SHA256 signing scheme, which is error-prone and time-consuming to implement from scratch. ## Core Features & Use Cases - Order & Product Access: Read orders filtered by status or date, list all store products, and update prices, stock, and images through a single adapter. - Finance & Performance Data: Retrieve financial transactions, payouts, and seller performance metrics for reporting and monitoring. - Multi-Region Support: Works across all six Lazada regions (MY, SG, TH, ID, PH, VN) with zero external dependencies, using only the Python standard library. - Use Case: A retail operations agent needs to check pending orders every morning and adjust product prices; it calls the adapter's read_orders and update_product methods to complete both tasks in seconds. ## Quick Start Set the LAZADA_APP_KEY, LAZADA_APP_SECRET, LAZADA_ACCESS_TOKEN, and LAZADA_SELLER_ID environment variables, then ask the agent to fetch all pending Lazada orders for Malaysia.

Frequently Asked Questions about lazada-connector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect to the Lazada Open Platform API in Python?

Create a LazadaAdapter with your app key, app secret, access token, and seller ID, then call connect() to verify access. Credentials can be passed directly or loaded from LAZADA_APP_KEY, LAZADA_APP_SECRET, LAZADA_ACCESS_TOKEN, and LAZADA_SELLER_ID environment variables.

How do I read Lazada orders by status or date?

Call read_orders with an optional status filter such as pending, ready_to_ship, or delivered, and an optional since date in YYYY-MM-DD format. The method returns a standardized dict with success, data, and error keys.

Which Lazada regions and countries are supported?

The connector supports all six Lazada Southeast Asian regions: Singapore, Malaysia, Thailand, Indonesia, Philippines, and Vietnam. Set the region code (sg, my, th, id, ph, vn) when creating the adapter to route requests to the correct API base URL.

Why am I getting a Lazada signature or 401 authentication error?

Signature errors usually mean the app secret does not match the Lazada Open Platform credential or the system clock is out of sync, since Lazada enforces timestamp validation. Verify LAZADA_APP_SECRET and ensure the server clock is NTP-synchronized.

Does the Lazada connector require external Python packages?

No external packages are required; the connector uses only the Python standard library (urllib.request, hmac, hashlib) and runs on Python 3.8 or later. All HMAC-SHA256 signing and HTTP requests are handled internally.