curl --request PATCH \
--url https://api.hubapi.com/marketing/campaigns/2026-03/{campaignGuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"properties": {}
}
'{
"businessUnits": [
{
"id": 123
}
],
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"properties": {},
"updatedAt": "2023-11-07T05:31:56Z"
}Perform a partial update of a campaign identified by the specified campaignGuid. Provided property values will be overwritten. Read-only and non-existent properties will cause 400 error. If an empty string is passed for any property in the Batch Update, it will reset that property’s value.
curl --request PATCH \
--url https://api.hubapi.com/marketing/campaigns/2026-03/{campaignGuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"properties": {}
}
'{
"businessUnits": [
{
"id": 123
}
],
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"properties": {},
"updatedAt": "2023-11-07T05:31:56Z"
}Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
The UUID of the campaign, required Example: 9dbec438-53e2-4b28-8c0f-38f56574a6e8
A collection of key-value pairs representing the properties of the campaign. Each key is a property name, and the corresponding value is the property's value.
Show child attributes
successful operation
An array of business units associated with the campaign, each represented by a PublicBusinessUnit object.
Show child attributes
The date and time when the campaign was created, formatted as a date-time string.
The unique identifier for the campaign.
A collection of key-value pairs representing additional properties of the campaign.
Show child attributes
The date and time when the campaign was last updated, formatted as a date-time string.
Was this page helpful?