Auction examples
- Running auctions
- Sponsored listings
- Sponsored banners
- Sponsored brands
Asset examples
Webhook examples
Toptimize
Assets API
Billing API
- GETGet Billing Contacts
- GETGet Billing Contact
- PUTUpsert Billing Contact
- GETGet Campaign Billing Contact
- PUTUpsert Campaign Billing Contact
- GETGet Marketplace Credit Limit
- POSTSet Marketplace Credit Limit
- PUTUpsert Vendor Billing Contact
- GETGet Vendor Charges
- GETGet Vendor Account Activity
- GETGet Vendor Balance
- POSTAdd Vendor Balance
- POSTBurn Vendor Balance
- GETGet Vendor Credit History
- GETGet Vendor Credit Limit
- POSTSet Vendor Credit Limit
- DELDelete Vendor Billing Contact
- GETGet Vendor Wallets
- POSTCreate Wallet
- POSTAdjust Wallet Balance
Campaign API
- GETGet Campaigns
- POSTCreate Campaign
- GETGet Campaign By Id
- DELDelete Campaign By Id
- PATCHUpdate Campaign By Id
- GETGet Campaign Bids
- POSTCreate Campaign Bids
- DELDelete Campaign Bid By Id
- PATCHUpdate Campaign Bid By Id
- POST[BETA] Get estimated clicks of a future campaign for a given vendor
- GETGet Products In Campaign
- GETGet Sponsored Products
Catalog API
Invitation API
Modal API
Reporting API
- GETGet Campaign Report
- GETGet Campaign Daily Report
- GETGet Campaign Report By Product
- GETGet Product Report
- GETGet Product Daily Report
- GETGet Marketplace Interactions Report
- GETGet Marketplace Report
- GETGet Marketplace Campaigns Kpis
- GETGet Marketplace Daily Report
- GETGet Marketplace Vendors Kpis
- GETGet Vendor Report
- GETGet Vendor Daily Report
Segments Service
Toppie API
- GET[BETA] Get Agency Account Balance
- GET[BETA] Get Agency Account Top-ups
- GET[BETA] Get Toppie Campaigns
- POST[BETA] Create Toppie Campaign
- GET[BETA] Get Toppie Campaign Details
- PATCH[BETA] Update Toppie Campaign
- GET[BETA] Get Toppie Campaign Bids
- GETList Account Products
- GETGet Agency Account Report
- GETGet Agency Account Activity
- GETGet Agency Account Campaigns
- GETGet Account Campaigns By Ids
- GETGet Agency Campaign Report
- GETGet Campaign Report Per Product
Get Products
Get multiple products from the catalog.
curl --request GET \
--url https://api.topsort.com/public/v1/catalog-search-service/catalogs/products
{
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo=",
"response": [
{
"active": true,
"brand": {
"id": "es5086vyV",
"name": "Delirium"
},
"categories": [
"ahEDqV5uhjj8"
],
"description": "Named as \"Best Beer in the World\" in 2008 at the World Beer Championships in Chicago, Illinois.",
"ean": "4003994155486",
"id": "eyGqR4YQgBJa",
"imageURL": "https://cdn.example.com/products/eyGqR4YQgBJa.jpg",
"metadata": {},
"name": "Delirium Tremens Beer Bottle 330cc x6",
"price": 18.99,
"quality_score": 0.5,
"vendors": [
"9SiwYqqL8vdG",
"BRAND-48795"
]
}
]
}
Query Parameters
Pagination cursor as provided in an earlier response. If provided will fetch the next page of results.
European Article Number to filter products by. Formatted as a thirteen digit EAN-13 code.
Vendor ID to filter products by.
Search terms to look for in product names and descriptions.
Response
Flag that indicates whether more results are available. true
indicates there is a next page of results. false
indicates this response contains the last page of results.
Array of products.
A product is the minimum unit that can be sold within a marketplace catalog.
IDs of the categories this product belongs to.
["ahEDqV5uhjj8"]
Unique ID of the product. Topsort treats IDs as strings, choose any format as long as it is unique within the catalog.
1
"eyGqR4YQgBJa"
Name of the product. Shown in Topsort UI.
1
"Delirium Tremens Beer Bottle 330cc x6"
IDs of the vendors that can promote this product in campaigns.
["9SiwYqqL8vdG", "BRAND-48795"]
Flag that indicates whether this product is active. Only active products can take part in campaigns and auctions. Set this value to false
to deactivate a product. When a product is deactivated it will be removed from active campaigns.
We advise to set this flag to false
when a product is out of stock.
Note: Active products being upserted will be added to existing campaigns created through the Building Blocks service using the Promote My Shop feature.
Description of the product.
1
"Named as \"Best Beer in the World\" in 2008 at the World Beer Championships in Chicago, Illinois."
European Article Number. Formatted as a thirteen digit EAN-13 code.
13
"4003994155486"
URL of the product image. This image will be displayed in the Topsort UI. Image dimensions between 250x250 and 600x600 pixels are recommended for the best performance of the Topsort UI.
1
"https://cdn.example.com/products/eyGqR4YQgBJa.jpg"
Additional metadata for the product.
Price of the product in the currency configured in the marketplace.
x > 0
18.99
Marketplace's internal quality score for the product. This in an optional advanced use case, for which we can provide some insights. Examples of metrics include the product's rating, conversion rate, click through rate, combination of other metrics, etc.
0 < x <= 1
Pagination cursor. Provide this value as a next_page
query parameter in a new request to retrieve the next page of results.
1
"SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo="
curl --request GET \
--url https://api.topsort.com/public/v1/catalog-search-service/catalogs/products
{
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo=",
"response": [
{
"active": true,
"brand": {
"id": "es5086vyV",
"name": "Delirium"
},
"categories": [
"ahEDqV5uhjj8"
],
"description": "Named as \"Best Beer in the World\" in 2008 at the World Beer Championships in Chicago, Illinois.",
"ean": "4003994155486",
"id": "eyGqR4YQgBJa",
"imageURL": "https://cdn.example.com/products/eyGqR4YQgBJa.jpg",
"metadata": {},
"name": "Delirium Tremens Beer Bottle 330cc x6",
"price": 18.99,
"quality_score": 0.5,
"vendors": [
"9SiwYqqL8vdG",
"BRAND-48795"
]
}
]
}