Campaign API
Get Sponsored Products
This endpoint is deprecated. Use /products-in-campaign instead.
GET
/
public
/
v1
/
campaign-service
/
sponsored-products
Query Parameters
vendor_id
string
requiredThe ID of the vendor to get sponsored products.
offset
integer
default: 0The pagination offset.
Required range:
x > 0
limit
integer
default: 100The pagination limit.
Required range:
0 < x < 100
fetch_active_products
boolean
default: falseWhether to fetch only active products. If false, all products will be fetched even if the campaign or the bid are inactive.
Response
200 - application/json
Paginated response for sponsored products in a vendor.
hasMore
boolean
requiredWhether this is the last page of results or not.
sponsoredProducts
string[]
requiredList of sponsored product ids.
next
object
The parameters that should be used to fetch the next page.