imports_update
Change a product import. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A new address for the file (web address and Google Sheet imports). | |
| hour | No | Daily or weekly: the hour, on the shop's clock. | |
| name | No | ||
| import | Yes | The import's name or id, as imports.list gives them. | |
| notify | No | When a run's report is emailed. | |
| record | No | XML only: the element one product row is, as imports.inspect lists them, e.g. rss/channel/item. Omitted, the outermost repeating element. | |
| cadence | No | How often it runs on its own (Pro); none runs it only when asked. | |
| mapping | No | Column (exactly as imports.inspect lists it) to field. Only the columns to change: the rest keep the guess, or the task's saved mapping. | |
| weekday | No | Weekly only: 1 is Monday, 7 is Sunday. | |
| isActive | No | false pauses a scheduled import; true resumes it. | |
| strategy | No | upsert adds new products and updates existing ones; add only adds; update only updates (the rule for a stock or price file). | |
| draftMissing | No | Set products to draft when they leave the file; only products this import brought in or updated, and never more than a fifth at once. |