# 1688 SKU 标准化

**Use case:** 

Standardizes an authorized 1688 or Chinese supplier SKU snapshot into consistent product/SKU IDs, attributes, prices, currency, stock status, and quality flags. Uses synthetic example data and does not scrape 1688.

## Input

```json
{
  "data_authorization_confirmed": true,
  "validation_only": false,
  "input_mode": "json_snapshots",
  "file_adapter": "auto_detect_v1",
  "current_observed_at": "2026-09-12T09:00:00+08:00",
  "previous_observed_at": "2026-09-05T09:00:00+08:00",
  "field_mapping": {
    "product_id": "商品ID",
    "sku_id": "SKU ID",
    "price": "价格",
    "stock_quantity": "库存",
    "attribute_columns": {
      "颜色": "颜色",
      "尺码": "尺码"
    },
    "default_price_basis": "sku_listed"
  },
  "adapter_version": "catalogdelta_snapshot_v1",
  "current_snapshot": {
    "observed_at": "2026-09-11T09:00:00+08:00",
    "records": [
      {
        "product_id": "SYNTHETIC-1688-NORMALIZE-1",
        "skus": [
          {
            "sku_id": "BLACK-M",
            "attributes": {
              "颜色": " 黑色 ",
              "尺码": "M"
            },
            "price": "126.00",
            "currency": "cny",
            "price_basis": "supplier_export",
            "stock_status": "in_stock"
          },
          {
            "sku_id": "WHITE-L",
            "attributes": {
              "颜色": "白色",
              "尺码": "L"
            },
            "price_min": "99.00",
            "price_max": "149.00",
            "currency": "CNY",
            "price_basis": "supplier_export",
            "stock_status": "unknown"
          }
        ]
      }
    ]
  },
  "previous_snapshot": {
    "observed_at": "2026-09-03T09:00:00+08:00",
    "records": [
      {
        "product_id": "SYNTHETIC-P100",
        "skus": [
          {
            "sku_id": "A",
            "attributes": {
              "容量": "128GB",
              "颜色": "黑色"
            },
            "price": "120.00",
            "currency": "CNY",
            "price_basis": "sku_listed",
            "stock_status": "in_stock"
          }
        ]
      }
    ]
  },
  "stale_after_days": 7,
  "max_current_skus": 100
}
```

## Output

```json
{
  "product_id": {
    "label": "Product ID",
    "format": "string"
  },
  "sku_id": {
    "label": "SKU ID",
    "format": "string"
  },
  "previous_price_amount": {
    "label": "Previous price",
    "format": "string"
  },
  "price_amount": {
    "label": "Current price",
    "format": "string"
  },
  "price_min": {
    "label": "Price minimum",
    "format": "string"
  },
  "price_max": {
    "label": "Price maximum",
    "format": "string"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "price_basis": {
    "label": "Price basis",
    "format": "string"
  },
  "change_type": {
    "label": "Change type",
    "format": "string"
  },
  "delta_amount": {
    "label": "Price delta",
    "format": "string"
  },
  "delta_percent": {
    "label": "Price delta percent",
    "format": "string"
  },
  "stock_status": {
    "label": "Current stock status",
    "format": "string"
  },
  "quality_flags": {
    "label": "Quality flags",
    "format": "array"
  },
  "match_confidence": {
    "label": "Match confidence",
    "format": "string"
  },
  "source_record_ref": {
    "label": "Source record location",
    "format": "string"
  },
  "billable": {
    "label": "Billable current SKU",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [1688 SKU Normalizer & Price Change Detector](https://apify.com/crocheted_pipa/catalogdelta-1688-sku-normalizer.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/crocheted_pipa/catalogdelta-1688-sku-normalizer.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/crocheted_pipa/catalogdelta-1688-sku-normalizer.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
