AliExpress / Alibaba / Accio Product Import
dsers_product_importImport products from AliExpress, Alibaba, or Accio URLs into DSers to preview variants and pricing. Apply pricing rules, customize content, and configure inventory settings during single or batch import operations.
Instructions
Import product(s) from supplier URL(s) into the DSers import list and return a preview. Supports AliExpress, Alibaba, and Accio.com URLs. Provide source_url (single) or source_urls_json (batch). Optionally apply rules at import time via rules_json or flat params. EXPIRED/LOST JOB_ID: Re-import with source_url — DSers finds the existing draft (no duplicate). To UPDATE rules on an existing import, use dsers_product_update_rules instead. SINGLE RESPONSE: compact preview with all variants [name, sell, qty], price_summary, active_rules. BATCH RESPONSE: summary mode (default) returns job_id + key metadata per product (~100 tokens each). Use batch_detail='full' for complete previews. Use dsers_product_preview for individual details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_url | No | Single supplier product URL. Supports AliExpress (aliexpress.com/item/xxx.html), Alibaba (alibaba.com/product-detail/xxx.html), and Accio.com product links (accio.com/c/...?productId=xxx&ds=aliexpress.com). | |
| source_urls_json | No | Batch import: JSON array of URL strings or objects with {url, rules?, source_hint?, country?, target_store?, visibility_mode?}. Example: ["https://aliexpress.com/item/123.html", {"url": "https://aliexpress.com/item/456.html", "rules": {"pricing": {"mode": "multiplier", "multiplier": 3}}}] | |
| source_hint | No | Supplier platform hint. Valid values: auto, aliexpress, alibaba, accio. Default: auto (detected from URL). | auto |
| country | No | Target country code for shipping and pricing lookup. Examples: US, GB, DE, FR, AU. | US |
| target_store | No | Store ID or display name from dsers_store_discover. Required when the account has multiple stores. | |
| visibility_mode | No | Product visibility after push. backend_only (default): saved as draft, not visible to shoppers — SAFE, no financial risk. sell_immediately: published and LIVE on the storefront — RISK: verify pricing and inventory first. | |
| job_id | No | (DEPRECATED — use dsers_product_update_rules) When provided without source_url, forwards to dsers_product_update_rules internally. | |
| rules_json | No | Rules as JSON string. Keys: pricing, content, images, variant_overrides, option_edits. PRICING: {mode:'fixed_price',fixed_price:9.99} | {mode:'multiplier',multiplier:2} | {mode:'fixed_markup',fixed_markup:5}. VARIANT_OVERRIDES: [{match:'Red',sell_price:9.99,compare_at_price:19.99}]. CONTENT: {title_override, title_prefix, title_suffix, description_override_html, tags_add:['tag']}. Content fields merge individually — set title_prefix without losing description. Clear with '' or null. IMAGES: {drop_indexes, reorder, add_urls, keep_first_n}. OPTION_EDITS (always full replacement): [{action:'rename_option',option_name:'Color',new_name:'Style'},{action:'rename_value',option_name:'Color',value_name:'Red',new_name:'Crimson'},{action:'remove_value',option_name:'Color',value_name:'Gray'},{action:'remove_option',option_name:'Size'}]. Only include families you want to change. Others are preserved automatically. | |
| pricing_mode | No | Flat param: pricing mode. Use instead of rules_json for simple pricing. | |
| pricing_multiplier | No | Flat param: multiplier value when pricing_mode='multiplier'. | |
| pricing_fixed_markup | No | Flat param: markup in dollars when pricing_mode='fixed_markup'. | |
| pricing_fixed_price | No | Flat param: exact price in dollars when pricing_mode='fixed_price'. | |
| title_override | No | Flat param: replace entire product title. | |
| title_prefix | No | Flat param: prepend to product title. | |
| title_suffix | No | Flat param: append to product title. | |
| description_override_html | No | Flat param: replace full description (HTML). | |
| description_append_html | No | Flat param: append HTML to description. | |
| batch_detail | No | Batch response detail level. summary (default): job_id + title + sell_price + cost + variants_count + stock per product (~100 tokens each). full: complete preview per product (can be very large for 10+ products). Single imports always return full preview. |