Migration Guide
| V3/Legacy Endpoint | V4 Recommended Endpoint |
|---|---|
GET /ecommerce/products | GET /ecommerce/items |
POST /ecommerce/products | POST /ecommerce/items |
Key Differences
Items (New - Recommended)
The Items model includes:- Embedded Variants: Product variations (sizes, colors, etc.) are included directly in the response
- Enhanced Status: Supports
active,archived,draft, andunknownstates - Variant Pricing: Each variant has its own price, compare_at_price, and currency
Products (Legacy)
The Products model provides:- Basic product information (name, description, SKU, status)
- No embedded variants
- Simple status tracking
Example Migration
Legacy Products Response:Properties Supported
| Property | Type | Description |
|---|---|---|
| platform_id | string | The Platform’s ID for the product |
| name | string | Name of the product |
| description | string | Description of the product |
| sku | string | Stock Keeping Unit |
| status | enum | Status of the product (ACTIVE, ARCHIVED) |
| created_at | string | Created timestamp |
| updated_at | string | Updated timestamp |