Skip to main content
PATCH
/
api
/
campaigns
/
{id}
Update Campaign
curl --request PATCH \
  --url https://api.example.com/api/campaigns/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "slug": "<string>",
  "status": "<string>",
  "goalAmountCents": 123,
  "description": "<string>"
}
'

Update Campaign

Partially update a campaign. All fields are optional.

Path Parameters

id
string
required
Campaign ID

Request Body

All fields optional. Only provided fields are updated.
title
string
Campaign title
slug
string
URL slug (must be unique within org)
status
string
One of: draft, active, paused, ended
goalAmountCents
integer
Goal in cents
description
string
Description

Response

Returns the updated campaign object.