Listing import policy
Gets how this Connection links imported listings.
This policy belongs to the Connection, not the entire account. You can therefore import one store conservatively and another with assistance. It decides only what happens when an external offer has no local binding; it does not change listings already imported and does not publish anything.
| Policy | Result for each external variation |
|---|---|
unlinked | creates/updates the observed MarketplaceProduct and Listing without Product, Variant, variation, or binding creation |
match_only | creates the MarketplaceProduct variation and the binding only when SKU or GTIN finds one unique local Variant |
match_or_create | uses the unique match; if there is none, creates minimum Product/Variant records, the variation, and the binding |
Matching never uses a title, copy, or similarity. That prevents products with similar names from sharing quantity by accident. If SKU and GTIN find more than one candidate Variant, nothing is bound or created, under any policy, and the Listing becomes linkState: ambiguous; correct identifiers or bind manually. A variation the MarketplaceProduct already knows by its external id is reused, without a new match.
With match_or_create, the created Product is a quarantine base: the external listing's title (on Mercado Livre UP, the family_name; a technical title only when the marketplace gives none), metadata.imported: true, disabled inventory, and options that preserve external identity. Complete and review these fields before treating an imported base as canonical catalog data. The import only confirms as published the content that came from ML: the Product and Variants it created, or an already confirmed MarketplaceProduct; that content is in_sync right after, as long as the ML title agrees with what already exists here. If it disagrees, the content stays as it was and the diff shows title. A Product that already existed (matched by SKU), an adopted draft or a Variant that already existed stay as they were (never_published), and the diff shows the difference. The import also records the catalog and offer baselines, equal to what it read: an imported Listing with no edit is clean, and the diff reads in_sync in content, offer and catalog. inventory and status stay never_published.
api_keyAuthorizationBearer <token>API key (mk_...)
id*stringIdentifier of the resource, as returned by the API.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidThe explicit import matching policy for this connection.
application/json- response
How listings imported from this connection may link to local variants. Matching is exact identifiers only; titles are never used.
policy*stringExact-match behavior used when this connection imports listings.
"unlinked""match_only""match_or_create"curl -X GET "https://example.com/v1/connections/3d1c8a52-7f0e-4b0a-8a65-9c1b2f6d7e01/listing-import-policy"{ "policy": "match_or_create"}