AliExpress / Alibaba / Accio Product Import
dsers_product_importImport products from AliExpress, Alibaba, or Accio URLs into DSers with preview, batch support, and optional pricing rules.
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 |
|---|---|---|---|
| job_id | No | (DEPRECATED — use dsers_product_update_rules) When provided without source_url, forwards to dsers_product_update_rules internally. | |
| country | No | Target country code for shipping and pricing lookup. Examples: US, GB, DE, FR, AU. | US |
| 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']}. IMAGES: {drop_indexes, reorder, add_urls, keep_first_n}. OPTION_EDITS: [{action:'rename_option',option_name:'Color',new_name:'Style'}]. | |
| 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_hint | No | Supplier platform hint. Valid values: auto, aliexpress, alibaba, accio. Default: auto (detected from URL). | auto |
| 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. | |
| pricing_mode | No | Flat param: pricing mode. Use instead of rules_json for simple pricing. | |
| target_store | No | Store ID or display name from dsers_store_discover. Required when the account has multiple stores. | |
| title_prefix | No | Flat param: prepend to product title. | |
| title_suffix | No | Flat param: append to product title. | |
| title_override | No | Flat param: replace entire product title. | |
| 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. | |
| 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}}}] | |
| pricing_multiplier | No | Flat param: multiplier value when pricing_mode='multiplier'. | |
| pricing_fixed_price | No | Flat param: exact price in dollars when pricing_mode='fixed_price'. | |
| pricing_fixed_markup | No | Flat param: markup in dollars when pricing_mode='fixed_markup'. |