PUT
/
marketing
/
v3
/
campaigns
/
{campaignGuid}
/
budget
/
{budgetId}
Mettre à jour un poste budgétaire
curl --request PUT \
  --url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}/budget/{budgetId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 123,
  "name": "<string>",
  "description": "<string>",
  "order": 123
}'
{
  "createdAt": 123,
  "amount": 123,
  "name": "<string>",
  "description": "<string>",
  "id": "<string>",
  "order": 123,
  "updatedAt": 123
}
Produits pris en charge
Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing HubPro
Sales HubSales HubGratuit
Service HubService HubGratuit
Content HubContent HubGratuit

Portées requises

Cette API requiert l’une des portées suivantes :
  • 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

Identifiant unique de la campagne.

budgetId
integer
required

Identifiant unique du poste budgétaire

Body

application/json

Response

200
application/json

successful operation

The response is of type object.