Get Products In Campaign
This endpoint returns paginated product ids currently in active campaigns.You can filter by vendor_id, fetching only from active campaigns and bids.
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.
A token provided in a previous response. If not empty, it is used to retrieve the page that follows.
A token provided in a previous response. If not empty, it is used to retrieve the page that follows.
The pagination limit.
The pagination limit.
Include products whose campaigns are scheduled to start within the N next given hours.
Include products whose campaigns are scheduled to start within the N next given hours.
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
Scrolled response for products in campaign.
object
Whether this is the last page of results or not.
A token to retrieve the next page of results.
List of sponsored product ids.
Validation Error