Import Draft Preview
dsers_product_previewReload product import preview to review variant details, pricing, and stock status. Choose compact or full view to inspect sell price, compare-at price, cost, and quantities.
Instructions
Reload preview for an import job. Two modes: compact (default) returns [name, sell, qty] for ALL variants — lightweight. full returns [name, sell, compare_at, cost, qty, supplier_qty] for 3 variants by default. Always includes price_summary: {sell:{min,max}, cost:{min,max}, zero_stock_count, low_stock_count, variants_count}. Key fields: sell_price (store listing price, $), cost (supplier price, $), compare_at_price (strikethrough, $). options: array of {name, values[], values_count} — values truncated to 10 by default, set show_all_options=true for full list. active_rules: currently applied rules (always present, {} if none). Use variant_detail='full' when agent needs compare_at or cost columns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID returned by dsers_product_import. | |
| variant_limit | No | Max variants in skus table. Compact default: all. Full default: 3. Hard cap: 200. | |
| variant_detail | No | compact (default): columns [name, sell, qty], shows ALL variants. full: columns [name, sell, compare_at, cost, qty, supplier_qty], shows 3 by default. | |
| variant_offset | No | Start index for variant/SKU listing (0-based). Default: 0. | |
| show_all_options | No | Show all option values instead of truncating to 10. Use before applying option_edits. |