# Products Synchronization Processing

This guide outlines the process of syncing products from CJ to your platform using the CJ API.

# Core Flowchart

graph LR
    A[Auth: Get Token] --> B["Sync Categories (Optional)"]
    B --> C[Get Product List]
    C --> D[Get Product Details]
    D --> E["Get Variants (Optional)"]
    E --> F[Query Real-time Inventory]

# Detailed Steps

# 1. Authentication

Purpose: Obtain an access token to authorize subsequent API requests. API: Get Access Token

# 2. Sync Categories (Optional)

Purpose: Get category information to map CJ categories to your platform. This helps in organizing products correctly on your site. API: Category List

# 3. Get Product List

Purpose: Retrieve a list of products available for dropshipping. You can filter by category or other parameters. API: Product List v2

# 4. Get Product Details

Purpose: Fetch detailed information for a specific product, including descriptions, images, and basic variant info. API: Product Details

# 5. Get Variants (Optional)

Purpose: If the product details API does not provide sufficient variant information, use this API to query all variants specifically. API: Inquiry of All Variants

# 6. Query Real-time Inventory

Purpose: Check stock levels before listing the product on your platform to ensure availability. API: Query Inventory by Product ID