Dashboard Overview
Credit Status
Credit Management
Credit Overview
Credit Utilization
Transaction History
| Reference No | Type | Amount | Balance Before | Balance After | Date |
|---|---|---|---|---|---|
| Loading... | |||||
API Key Management
Your API Key
Use this API key to access the API programmatically. The key is only shown once when generated.
Sign Key
Use this key to sign your API requests (HMAC-SHA256). This key is only shown once when generated.
Profile
Merchant Information
Loading...
Bank Account
Loading...
Security
Change Password
Temu Products
Loading products...
API Documentation
Authentication
Header: Authorization: Bearer {token}
All API requests (except login) require a valid JWT token in the Authorization header. Tokens are obtained from the login endpoint and expire after 24 hours.
Base URL
https://hishopping.xyz/api/v1/web
All Web API endpoints are prefixed with /api/v1/web. HTTPS is required in production environments.
Endpoints
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| POST | /login |
No | User login with email and password |
| POST | /logout |
Yes | User logout |
| GET | /captcha |
No | Get image captcha for login |
| PUT | /password |
Yes | Change password |
| GET | /apikey |
Yes | Get API Key (masked) |
| POST | /apikey |
Yes | Regenerate API Key |
| POST | /web/merchant |
Yes | Create merchant profile |
| GET | /web/merchant |
Yes | Get merchant info |
| PUT | /web/merchant |
Yes | Update merchant info |
| GET | /web/app |
Yes | Get app info (includes App ID) |
| PUT | /web/app |
Yes | Update app info |
| PUT | /web/app/cert |
Yes | Regenerate sign key (HMAC-SHA256) |
| GET | /web/goods |
Yes | Get Temu goods list |
| GET | /web/goods/categories |
Yes | Get Temu categories |
| GET | /web/goods/detail/:goods_id |
Yes | Get Temu goods detail with SKUs |
| GET | /web/orders |
Yes | List orders |
| GET | /web/orders/:order_no |
Yes | Get order detail |
| GET | /web/credit |
Yes | Get credit info |
| GET | /web/credit/transactions |
Yes | Get credit transactions |
Response Codes
| Code | Description |
|---|---|
0 | Success |
1001 | Invalid signature |
1002 | App not found |
1003 | App disabled |
1004 | Missing auth header |
1005 | Invalid API key |
2001 | Insufficient credit |
2002 | Duplicate order |
3001 | User not found |
3002 | Invalid credentials |
3003 | User disabled |
4001 | Unauthorized |
4002 | Forbidden |
5001 | Internal error |