# Temu integration

> Connect your Temu store: SKU code (barcode) matching, full stock updates, order import and encrypted recipient address. Global, EU and US regions.

Connect your store through the Temu Partner API. Your SKUs are matched to the product pool by barcode, stock is pushed from the pool and orders with delivery addresses are imported into the panel encrypted.

## Supported operations

| Operation | Support | How |
| --- | --- | --- |
| SKU matching | ✓ | bg.local.goods.sku.list.query · by the barcode in the SKU code (outSkuSn) field |
| Stock update | ✓ | bg.local.goods.stock.edit · target stock per goodsId |
| Order import | ✓ | bg.order.list.v2.get · by update time |
| Delivery address | ✓ | bg.order.shippinginfo.v2.get · open orders only, encrypted on receipt |
| Zero stock for sold-out items | ✓ | Target stock 0 for products passive at the source |
| Regions | ✓ | Global, EU, US API endpoints |

## Connecting a store

1. **Authorize the app** — Authorize your store for the Giyimport app in Temu Seller Center and obtain the app key, app secret and access token.
2. **Prepare SKU codes** — Enter each product's barcode in the seller SKU code field on Temu; matching uses this value.
3. **Connect in the panel** — Choose Temu and the region under Marketplaces > Connect store; credentials are stored encrypted.
4. **Match and enable sync** — After 'Match products', stock and order sync run automatically.

## Technical details

- Every request is signed with the Temu signature method (sorted parameters wrapped with the app secret, upper-case MD5).
- Temu API calls are made only from the server IP whitelisted with Temu.
- Delivery addresses are never written in plain text: encrypted with AES-256-GCM on receipt and masked in lists.
- Recipient data is permanently deleted 30 days after the order closes (at most 90 days for orders that never close).
