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.
limit
integer
default: 100The pagination limit.
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
hasMore
boolean
requiredWhether this is the last page of results or not.
next
object
The parameters that should be used to fetch the next page.
sponsoredProducts
string[]
requiredList of sponsored product ids.