Listings
The offer in a Connection: price, inventory, and commercial rules.
A Listing is the offer in a Connection: price, inventory, and commercial rules of an ad on Mercado Livre, Amazon, TikTok Shop, or another channel. The content the marketplace displays (title, description, attributes, media, variations) lives on the MarketplaceProduct, which the Listing points to with marketplaceProductId.
The Listing does not replace the local Product and is not the source of truth for your items. One Product and its Variants can supply N Listings.
Price A/B × content A/B
| I want to test | How | MarketplaceProduct |
|---|---|---|
| Price | two Listings on the same MarketplaceProduct (marketplaceProduct: "same" on clone) | shared |
| Content | two Listings on different MarketplaceProducts (marketplaceProduct: "copy") | one for each |
Changing a MarketplaceProduct's title changes all of its offers. To test a title, create another MarketplaceProduct with clone.
Some marketplaces accept only one offer per MarketplaceProduct. There, a price A/B test returns 422 CAPABILITY_UNSUPPORTED; use a content A/B test. On Mercado Livre (User Products) the offer is one per group: two offers of the same MarketplaceProduct only coexist with different listing types (listingTypeId). With the same type, validation and publishing refuse with offer_group_taken.
The full model of Listing and binding, and where each published field comes from, with diagrams: Connections and listings.
The three representations
| Representation | Written by | Purpose |
|---|---|---|
desired | your application, through PATCH | local intent of the offer: desired.offer (price, tiers, schedule, terms, warranty) |
observed | import, reconciliation, or inbound | most recent marketplace-confirmed fact; read-only |
resolved | MarketAPI, on request | final value per offer line and inheritance provenance |
The Listing's desired has only offer. Sending content, attributes, or fulfillment returns 400: those fields belong to the MarketplaceProduct. The marketplaceOptions live in a separate map but count as part of the offer group in the diff and in conflicts.
Offer precedence is: line override (binding, desired.offer) → Listing.desired.offer. For content, see the MarketplaceProduct inheritance. Absence means “inherit”; it does not mean delete a marketplace value. Read resolved data before publishing.
End-to-end flow: from catalog to published offer
- Check the Connection's Connection capabilities. The API can perform an external operation only when the connected adapter implements it.
- Create or import Products and Variants. Define SKUs/GTINs and inventory at the Variant level.
- Create the local Listing. It creates the MarketplaceProduct with it, or reuses one you pass. No external call exists at this stage.
- Fill in the content on the MarketplaceProduct and, if needed, its variations.
- Replace the binding map, linking each offer line to a MarketplaceProduct variation.
- Read
resolved, editdesiredas many times as needed, and configure the sync policy. - Validate the offer, if you want, to see what the marketplace would refuse without publishing anything.
- Publish explicitly (or several of one seller in a batch). The response is a Job; track it until it reaches a final result.
- Once published, act on the marketplace with pause, activate, close or relist and bring its state back with a refresh. Each one is a Job.
- For an offer that already exists in a marketplace, use Connection import/reconciliation. External changes arrive in
observedand in webhooks without changing Product or Variant.
Mercado Livre: the title comes from the MarketplaceProduct
On Mercado Livre (User Products), the title is the family_name: the MarketplaceProduct's desired.content.title is sent as it. ML rewrites it (case, punctuation) and it does not change after creation; changing the title of an ad already created is refused (field_locked_after_creation). Creating an item next to a family that already exists sends the family_name ML stores, never the local title. What ML returned shows in observed. The title is shared by every offer on the same MarketplaceProduct. The full publication guide (models, pictures, refusal reasons) is Publish on Mercado Livre.
States that must not be confused
marketplaceStatus: lifecycle reported by the channel, such asactive,paused,closed,deleted,scheduled,suppressed, orfrozen. Layered next to it:buyableanddiscoverable(true,false, ornullwhen unknown),pendingRevision(revision under review), andstatusReasons(code,message, andexternalCodefrom the channel). The Listing and each binding have their own; a line with no layer of its own inherits the offer's.publicationState: state of local intent, such asnever_published,dirty,pending,clean, orfailed.dirtylasts only while something differs from what was published (the same comparison as the diff); undoing the edit returns it toclean. How each one changes: States and events.linkState: quality of the local link,linkedwith at least one binding,unlinkedwith none,ambiguouswhen an import found more than one Variant for a variation.
What is stuck
When a listing does not publish, or is not the way you expected, ask in this order:
| Question | Route |
|---|---|
| What blocks publishing or selling? | issues |
| What is left to publish? What changed there? | diff |
| What happened, and who did it? | activity |
| Why did the last publication fail? | publish-attempts |
| Was it relisted or migrated? | relations |
All five only read what MarketAPI already stores. None of them calls the marketplace.
Conflicts
A conflict is not just desired differing from observed: the two almost always differ, because the marketplace adds fields you never sent. There is a conflict when you have a local change not yet published and the marketplace changed the same group. A change on one side only is a pending item of yours or a change of theirs, not a conflict.
Each group (content, catalog, offer, inventory, status) keeps what the last publication confirmed. The diff compares both sides with that base and gives one state per group:
state | You changed | The marketplace changed |
|---|---|---|
in_sync | no | no |
pending_publication | yes | no |
external_change | no | yes |
conflict | yes | yes |
A group that was never published is never_published. Only content and offer become conflict and open a conflict record. In catalog and inventory, with both sides changed, the state is pending_publication: the next publication sends your value. status has no local value. The rule is closed: in_sync never has changedPaths, and a group with changedPaths is never in_sync (status and never_published are left out). If the marketplace does not keep the value you published (it refuses or drops it), the group is pending_publication with its value in observed.
The record is born when the two sides meet: a notification or reconciliation arrives with inbound active and your edit already pending, or you edit after the outside change had already arrived. MarketAPI keeps your desired, publishes nothing and sends listing.conflict_created. You resolve it with one of four resolutions:
keep_local: your value stays.accept_external: the marketplace value becomes yours.inherit: your override goes away, and the field inherits again.manual: you send the value invalue.
If both sides come to the same value, the conflict closes by itself with resolution: "agreed" (you do not send this one).
Resolving never publishes. It only changes the local desired; for the marketplace to follow, publish afterwards.
Current support
The indicators are a static product overview. Read the complete marketplace matrix and, before showing an action in your app, read the Connection capabilities for the Connection that will receive the command.
Read listing
- MockDevelopment only
- Mercado LivreSupported
- MagaluPlanned
- AmazonPlanned
- TikTok ShopPlanned
- ShopeePlanned
Publish listing
- MockDevelopment only
- Mercado LivreSupported
- MagaluPlanned
- AmazonPlanned
- TikTok ShopPlanned
- ShopeePlanned
Remove listing
- MockDevelopment only
- Mercado LivreNot supported
- MagaluPlanned
- AmazonPlanned
- TikTok ShopPlanned
- ShopeePlanned
Do not assume every marketplace has the same operation. Before showing import, publish, remove, inventory, or catalog controls, read the Connection capabilities. Today Mercado Livre reads, imports, validates and publishes listings; the availability of each operation is always the actual response of this endpoint, never a generic API promise.
External catalog
The catalogReference lives on the MarketplaceProduct, not on the Listing: it records the content's link to an external catalog product, in three parts (desired, observed and eligibility: see Catalog link). It does not become the local Product: your base is still required for SKU, inventory, kits, audit history, and multiple offers. Use marketplace-specific options only in that marketplace's namespace, in marketplaceOptions, or in oneTimeMarketplaceOptions for a single publication.