Reinstate campaign participant
Reinstates a suspended participant: they can submit posts again. Any other status answers 409; a removed participant stays removed.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Campaign ID.
Participant ID.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.creatorcampaigns.reinstateCampaignParticipant({ path: { campaignId: 'campaign_abc123', participantId: 'participant_abc123', },});console.log(data);{ "participant": { "id": "string", "campaignId": "string", "creator": { "id": "string", "displayName": "string", "email": "string" }, "status": "invited", "joinedAt": "2019-08-24T14:15:22Z", "accounts": [ { "accountId": "string", "verifiedAt": "2019-08-24T14:15:22Z", "platform": "string", "username": "string" } ], "balances": { "accruing": 0, "owed": 0, "payable": 0, "settling": 0, "settled": 0 }, "flags": [ { "code": "linked_accounts", "detail": "string", "raisedAt": "2019-08-24T14:15:22Z" } ], "submissionCounts": { "received": 0, "tracking": 0, "pending_review": 0, "approved": 0, "rejected": 0, "expired": 0, "withdrawn": 0 }, "payout": { "status": "not_started" } }}Raise creator campaign budget
Raises the budget of a campaign that is `draft`, `active` or `paused`. Only the budget changes; the pay terms stay as creators joined them, which `PATCH` refuses to change once the campaign is live. The new `budgetCents` must be above the current budget, otherwise 400 `invalid_field_value`. When it is also above what the campaign has spent, `budgetExhaustedAt` is cleared and earnings that stopped at the old budget resume. A closed campaign answers 409 `invalid_resource_state`.
Reject campaign submission
Rejects a submission (also one already approved) and fires `campaign_submission.rejected`. Its tracking window is cancelled and its unsettled earnings return to the campaign budget. Rejecting a rejected submission returns it unchanged; an expired or withdrawn one answers 409.