- Remove business engagement from campaign (Admin)
Business Relationship Management
Create business engagement for campaign (Admin)
Update business engagement in campaign (Admin)
Remove business engagemen...
Remove a business engagement relationship from campaign. Admin-only operation. Replaces DELETE /campaign/admin/{id}/business-engagement/{businessEngagementId}
Security
authJWT
- Mock serverhttps://docs.pers.ninja/_mock/swagger/campaigns/{campaignId}/engagements/{businessEngagementId}
- https://api.pers.ninja/v2https://api.pers.ninja/v2/campaigns/{campaignId}/engagements/{businessEngagementId}
curl -i -X DELETE \
'https://docs.pers.ninja/_mock/swagger/campaigns/{campaignId}/engagements/{businessEngagementId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Business engagement removed from campaign successfully
Optional owner business ID. If set, this campaign belongs to a specific business. If null, the campaign is tenant-owned (system-level).
Campaign isTestnet, this means that the campaign is running on testnet, not mainnet
Default:false
Country code restrictions as an array of strings (e.g., ["NOT_ES", "FR"])
Example:
[ "NOT_ES", "FR" ]
Campaign trigger: what triggers the campaign, and what are the conditions for the trigger to be activated
Trigger source IDs. Use to batch fetch or request via ?include=triggerSources
Example:
[ "trigger-uuid-1", "trigger-uuid-2" ]
Response
{ "id": "string", "ownerBusinessId": "string", "name": "string", "description": "string", "beneficiaryAccountAddress": "string", "startDate": "2019-08-24T14:15:22Z", "endDate": "2019-08-24T14:15:22Z", "imageUrl": "string", "logoUrl": "string", "externalUrl": "string", "isActive": false, "approval": { "status": "pending_approval", "approvedAt": "2019-08-24T14:15:22Z", "approvedBy": "string", "rejectionReason": "string" }, "isTestnet": false, "createdAt": null, "updatedAt": null, "order": 1, "tags": [], "countryCodeRestrictions": [ "NOT_ES", "FR" ], "trigger": { "name": 0, "description": "string", "terms": "string", "maxPerDay": 0, "maxPerDayPerUser": 0, "maxPerUser": 0, "minCooldownSeconds": 0, "maxGeoDistanceInMeters": 0, "requiredUserInfo": "string", "triggerType": "CLAIM_BY_USER", "maxMultiplier": 0, "completionThreshold": 0, "maxTotal": 0, "maxPerDayTotal": 0, "maxPerSource": 0, "conditions": [ … ], "sourceLogic": "any", "id": "string" }, "tokenUnits": [ [ … ] ], "businessEngagements": [ [ … ] ], "triggerSourceIds": [ "trigger-uuid-1", "trigger-uuid-2" ], "included": { "claimCount": 0, "triggerSources": [ … ], "businesses": [ … ], "ownerBusiness": { … } } }