# Temu Continue Batch Store Session API

> Continue paginated store sessions started by batch_get_stores. Accepts an array of opaque session tokens (from previous next_session_token fields), fetches the next page for each store, and returns updated tokens. Handles list_id expiration with automatic recovery.

Source: https://www.sandbase.ai/apis/temu/continue-batch-store-session
API reference: https://www.sandbase.ai/apis/temu/continue-batch-store-session#api

## Facts

- Provider: Temu
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/temu/continue-batch-store-session`
- Price: $0.03 per call
- Capabilities: api, temu, ecommerce
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/temu/continue-batch-store-session` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `session_tokens` | string | yes |  |
| `limit` | integer | no |  |
| `include_dto` | boolean | no |  |
| `include_raw` | boolean | no |  |

## FAQ

### How do I use the Temu Continue Batch Store Session API?

Send a POST request to https://api.sandbase.ai/v1/api/temu/continue-batch-store-session with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Temu Continue Batch Store Session API cost?

$0.03 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Temu Continue Batch Store Session API accept?

Required: session_tokens (string). Optional: limit (integer), include_dto (boolean) and include_raw (boolean). The Parameters table and the Playground on this page list every field.

### What does the Temu Continue Batch Store Session API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Temu developer account or API key?

No. Temu Continue Batch Store Session runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Temu API access separately.

## README

### Temu Continue Batch Store Session API

Continue paginated store sessions started by batch_get_stores. Accepts an array of opaque session tokens (from previous next_session_token fields), fetches the next page for each store, and returns updated tokens. Handles list_id expiration with automatic recovery.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "temu/continue-batch-store-session", "limit": 40, "include_dto": true, "include_raw": true, "session_tokens": "[\"eyJ2IjoxLCJ0Ijoic3RvcmUiLCJtaWQiOiIyNjEwMTI3IiwibCI6ImVuIiwibGlkIjoiYWJjMTIzIiwibyI6MTAsImxpbSI6MTB9.placeholder_sig\"]"}'
```

The result is returned in `outputs[0].data`.

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `session_tokens` | string | Yes | JSON array of opaque session token strings from batch_get_stores or a previous continue_batch_store_session response (up to 20). |
| `include_dto` | boolean | No | If true, include the flat normalized DTO per store. |
| `include_raw` | boolean | No | If true, include the raw API response data per store. |
| `limit` | integer | No | Override the page size stored in the token (max 999). |

#### Pricing

Flat $0.03 per call. Failed calls are not charged.
