# TikTok Shop

> Search shop orders and products, inspect categories and warehouses, and update stock and prices.

App · 13 actions. Web page: https://docs.lodol.com/docs/integrations/tiktok-shop

## Actions

### Get category attributes

Get category attributes.

**Inputs**

- Category (`category_id`, text, required): Category id.
- Locale (`locale`, text): Locale.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {}
}
```

### Get category rules

Get category rules.

**Inputs**

- Category (`category_id`, text, required): Category id.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {}
}
```

### Get listing prerequisites

Get listing prerequisites.

**Inputs**: None.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {}
}
```

### Get orders

Get orders.

**Inputs**

- Ids (`ids`, list, required): Ids.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {
    "code": 1,
    "data": {
      "orders": []
    }
  }
}
```

### Get package

Get package.

**Inputs**

- Package id (`package_id`, text, required): Package id.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {}
}
```

### Get product

Get product.

**Inputs**

- Product (`product_id`, text, required): Product id.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {}
}
```

### List authorized shops

List authorized shops.

**Inputs**: None.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {
    "code": 1,
    "data": {
      "shops": []
    }
  }
}
```

### List categories

List categories.

**Inputs**

- Locale (`locale`, text): Locale.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {
    "code": 1,
    "data": {
      "categories": []
    }
  }
}
```

### List orders

List orders.

**Inputs**

- Page size (`page_size`, number): Page size. From 1 to 100. Default: `20`.
- Page token (`page_token`, text): Page token.
- Sort order (`sort_order`, text): Sort order. One of: `ASC`, `DESC`.
- Sort field (`sort_field`, text): Sort field. One of: `create_time` (Create time), `update_time` (Update time).
- Order status (`order_status`, text): Order status. One of: `UNPAID`, `ON_HOLD` (On hold), `AWAITING_SHIPMENT` (Awaiting shipment), `PARTIALLY_SHIPPING` (Partially shipping), `AWAITING_COLLECTION` (Awaiting collection), `IN_TRANSIT` (In transit), `DELIVERED`, `COMPLETED`, `CANCELLED`.
- Create time ge (`create_time_ge`, date and time): Create time ge.
- Create time lt (`create_time_lt`, date and time): Create time lt.
- Update time ge (`update_time_ge`, date and time): Update time ge.
- Update time lt (`update_time_lt`, date and time): Update time lt.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {
    "code": 1,
    "data": {
      "orders": []
    }
  }
}
```

### List warehouses

List warehouses.

**Inputs**: None.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {
    "code": 1,
    "data": {
      "warehouses": []
    }
  }
}
```

### Search products

Search products.

**Inputs**

- Page size (`page_size`, number): Page size. From 1 to 100. Default: `20`.
- Page token (`page_token`, text): Page token.
- Status (`status`, text): Status. One of: `ALL`, `DRAFT`, `PENDING`, `FAILED`, `ACTIVATE`, `SELLER_DEACTIVATED` (Seller deactivated), `PLATFORM_DEACTIVATED` (Platform deactivated), `FREEZE`, `DELETED`.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {
    "code": 1,
    "data": {
      "products": []
    }
  }
}
```

### Update inventory

Update inventory.

**Inputs**

- Product (`product_id`, text, required): Product id.
- Skus (`skus`, list, required): Skus.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {}
}
```

### Update prices

Update prices.

**Inputs**

- Product (`product_id`, text, required): Product id.
- Skus (`skus`, list, required): Skus.

**Outputs**

- `data` (object): Tik Tok Shop response data.

**Example output**

```json
{
  "data": {}
}
```
