PATCH/api/v1/campaigns/{id}

Update a campaign

Updates campaign properties in your project. Supply the fields to change in the data object; the schema defines no required body fields.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter ยท 1 body field
idstringrequired
The campaign identifier.

Campaign fields to update, provided in a data object.

dataobjectoptional
Custom campaign data as an object.

1 status code
200Returns the updated campaign object, including its campaign data and identifier.
dataobjectoptional

Error handling

The id path parameter identifies the campaign to update. The request body and its fields are optional in the schema; when provided, settings.type is a string.