Retrieves campaign by id for the authenticated vendor. Supports filtering, searching, and sorting of associated promotions.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the campaign.
Comma-separated fields to include in the response. Use *promotions or promotions.* to include promotions.
Search query to filter promotions by code (case-insensitive partial match).
Filter promotions by created_at date. Must be a JSON object (URL-encoded) with comparison operators.
Supported operators: $gte, $lte, $gt, $lt, $eq, $ne.
Example: {"$gte":"2025-11-19T11:00:00.000Z"} (URL-encoded: %7B%22%24gte%22%3A%222025-11-19T11%3A00%3A00.000Z%22%7D)
Filter promotions by updated_at date. Must be a JSON object (URL-encoded) with comparison operators.
Supported operators: $gte, $lte, $gt, $lt, $eq, $ne.
Example: {"$gte":"2025-11-19T11:00:00.000Z"} (URL-encoded: %7B%22%24gte%22%3A%222025-11-19T11%3A00%3A00.000Z%22%7D)
Sort promotions by property. Prefix with - for descending order.
Examples: code, -code, created_at, -created_at, updated_at, -updated_at
The number of promotions to skip before starting to collect the result set.
The number of promotions to return.
OK
The campaign's details.