Find catalog candidates
Catalog products that match the content.
Search the catalog
- MockDevelopment only
- Mercado LivreSupported
- MagaluPlanned
- AmazonPlanned
- TikTok ShopPlanned
- ShopeePlanned
Searches the marketplace catalog for products that may fit this content. It is a live, paginated read, with no Job.
Each candidate says how it matched in matchedBy, strongest first:
gtin: the GTIN of a variation, the same one publishing sends (thedesired.gtinof the MarketplaceProduct variation wins over the Variant one).matchedVariantIdslists which ones.brand_model: the brand and model of the Product.text: the title.
A product that matches in more than one way appears once, with the strongest way. The page comes in that order. With no GTIN, no brand and model and no title, the page is empty and the marketplace is not called.
Pick one and link it with Set link. Today only mock offers the search.
api_keyAuthorizationBearer <token>API key (mk_...)
marketplaceProductId*string^([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)$uuidpage?integerPage number, starting at 1. Defaults to 1. A page beyond pagination.totalPages is not an error: it returns empty data.
1 <= value <= 90071992547409911pageSize?integerItems per page, from 1 to 100. Defaults to 20.
1 <= value <= 10020One page of candidates, strongest match first (gtin, brand_model, text), with no repeated catalog product. A product with nothing to search by (no GTIN, no brand and model, no title) gives an empty page.
application/json- response
One page of catalog candidates for a marketplace product.
data*array<>The candidates of this page, ordered by matchedBy: gtin, then brand_model, then text, with no repeated catalog product.
pagination*Where this page sits in the whole listing: the totals and whether there are pages before and after it.
curl -X GET "https://example.com/v1/marketplace-products/497f6eca-6276-4993-bfeb-53cbbbba6f08/catalog-candidates"{ "data": [ { "id": "mock-catalog-phone-1", "name": "Acme Phone One", "brand": "Acme", "categoryId": "mock-cellphones", "productType": "CELLULAR_PHONE", "identifiers": [ { "type": "GTIN", "value": "7890000000017" } ], "pictures": [ { "url": "https://example.com/pictures/acme-phone-one.jpg" } ], "marketplaceData": {}, "matchedBy": "gtin", "matchedVariantIds": [ "5b2d7e9a-1c4f-4e6b-8a3d-2f9c0b7e6d41" ] } ], "pagination": { "page": 1, "pageSize": 20, "totalItems": 57, "totalPages": 3, "hasNext": true, "hasPrev": false }}