latestOpenAPI 3.1.02026-08-13511119.5 KB

e91a4f756dfe

Campaigns

Update a campaign

Partially updates a campaign. Any subset of the create fields may be provided.

patch/campaigns/{id}

Path parameters

idstring required

Request body

namestring
status'active' | 'archived' | 'paused' | 'planned' | 'completed'
icon'star' | 'bulb' | 'calendar' | 'apple' | 'gift' | 'christmasTree' | 'glass' | 'eggCracked' | 'archive' | 'ghost' | 'cross' | 'candle' | 'home' | 'briefcase' | 'school' | 'camera' | 'bike' | 'bell' | 'barbell' | 'barrier' | 'paint' | 'bolt' | 'heart' | 'babyCarriage' | 'trophy' | 'award' | 'paw' | 'bone' | 'creditCard' | 'discount' | 'shield' | 'tag' | 'thumbUp' | 'thumbDown' | 'umbrella' | 'flag' | 'sun' | 'campfire' | 'seeding' | 'leaf' | 'cherry' | 'macro' | 'clover' | 'pumpkin' | 'flame' | 'cactus' | 'globe' | 'stack' | 'basketball' | 'baseball' | 'ball' | 'gasPump' | 'car' | 'balloon' | 'mug' | 'location' | 'analyze' | 'chartPie' | 'chartDots' | 'cards' | 'mail' | 'headphones' | 'microphone' | 'key'
colorstring
startedAtstring date-time
endedAtstring date-time
descriptionstring

Response

Campaign updated