sources

Update Source

Partial update: name, schedule, missing-item policy, currency, language, a fetched feed's address, a feed's XML item path, delimiter and encoding, import scope; a Shopify source's include_unlisted and only_online_store, a WooCommerce source's include_hidden; a catalog's filters (design 15.0 §5): Meta's only_approved and feed_id, TikTok's only_available, Snapchat's product_set_id, Google's data_source_id, feed_label and content_language.

A new address (decision 221) keeps the source's products and mapping: a rotated token or a moved feed is the same products, and the next import reads the new address in full (the address is part of what an import compares, core.pipeline.runner.reading_of).

patch/companies/{company_id}/sources/{source_id}

Request

  • Base URL
    https://app.zalster.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

company_idstring uuid required

Company id

source_idstring uuid required

Source id

Request body

namestring nullable
schedule_minutesinteger nullable
missing_item_policy'deactivate' | 'keep'

What to do with products absent from the latest full import.

urlstring nullable
item_pathstring nullable
delimiterstring nullable
encodingstring nullable
currencystring nullable
localestring nullable
include_unlistedboolean nullable
only_online_storeboolean nullable
include_hiddenboolean nullable
only_approvedboolean nullable
feed_idstring nullable
only_availableboolean nullable
product_set_idstring nullable
data_source_idstring nullable
feed_labelstring nullable
content_languagestring nullable

Response

Successful Response

idstring uuid required
namestring required
kindstring required
settingsobject required
currencystring required
localestring required
category_sourcestring nullable
missing_item_policystring required
statusstring required
active_mapping_version_idstring uuid nullable required
schedule_minutesinteger nullable
import_scopeobject nullable
productsinteger
products_activeinteger
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.