Connections

Listing import policy

Gets how this Connection links imported listings.

GET
/v1/connections/{id}/listing-import-policy

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.

PolicyResult for each external variation
unlinkedcreates/updates the observed MarketplaceProduct and Listing without Product, Variant, variation, or binding creation
match_onlycreates the MarketplaceProduct variation and the binding only when SKU or GTIN finds one unique local Variant
match_or_createuses 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: technical title, 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.

Authorization

api_key
headerAuthorizationBearer <token>

API key (mk_...)

Path Parameters

id*string

Identifier of the resource, as returned by the API.

Match^([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)$
Formatuuid

Response Body

The explicit import matching policy for this connection.

application/json
  1. response

How listings imported from this connection may link to local variants. Matching is exact identifiers only; titles are never used.

policy*string

Exact-match behavior used when this connection imports listings.

Value in"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"}