Get Sponsored Products
This endpoint is deprecated. Use /products-in-campaign instead.
Authentication
Topsort’s APIs are authenticated via bearer tokens. Requests must include an authorization header containing your private API key.
Don't have an API key yet? Learn how to generate one.
The header containing a private API key. Format this header as follows:
Authorization: Bearer <YOUR-API-KEY>
Query Parameters
object
The ID of the vendor to get sponsored products.
The ID of the vendor to get sponsored products.
The pagination offset.
The pagination offset.
The pagination limit.
The pagination limit.
Whether to fetch only active products. If false, all products will be fetched even if the campaign or the bid are inactive.
Whether to fetch only active products. If false, all products will be fetched even if the campaign or the bid are inactive.
Responses
Successful Response
Paginated response for sponsored products in a vendor.
object
Whether this is the last page of results or not.
The parameters that should be used to fetch the next page.
object
How many items to return.
How many items to skip from the beginning of the list.
List of sponsored product ids.
Validation Error