GET
/
public
/
v1
/
campaign-service
/
sponsored-products
{
  "hasMore": true,
  "next": {
    "limit": 123,
    "offset": 123
  },
  "sponsoredProducts": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Query Parameters

vendor_id
string
required

The ID of the vendor to get sponsored products.

offset
integer
default:0

The pagination offset.

Required range: x >= 0
limit
integer
default:100

The pagination limit.

Required range: 0 <= x <= 100
fetch_active_products
boolean
default:false

Whether to fetch only active products. If false, all products will be fetched even if the campaign or the bid are inactive.

Response

Successful Response

Paginated response for sponsored products in a vendor.