PATCH
/
marketing
/
v3
/
campaigns
/
{campaignGuid}
Update campaign
curl --request PATCH \
  --url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "properties": {}
}'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "businessUnits": [
    {
      "id": 123
    }
  ],
  "id": "<string>",
  "properties": {},
  "updatedAt": "2023-11-07T05:31:56Z"
}
Supported products
Requires one of the following products or higher.
Marketing HubMarketing HubProfessional
Sales HubSales HubFree
Service HubService HubFree
Content HubContent HubFree

Required Scopes

This API requires one of the following scopes:
  • marketing.campaigns.write

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

campaignGuid
string
required

Unique identifier for the campaign, formatted as a UUID.

Body

application/json

Response

200
application/json

successful operation

The response is of type object.