Zum Hauptinhalt springen
POST
/
marketing
/
v3
/
campaigns
/
batch
/
update
Einen Batch mit Kampagnen aktualisieren
curl --request POST \
  --url https://api.hubapi.com/marketing/v3/campaigns/batch/update \
  --header 'Content-Type: application/json' \
  --header 'private-app: <api-key>' \
  --data '{
  "inputs": [
    {
      "id": "<string>",
      "properties": {}
    }
  ]
}'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "requestedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "results": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "businessUnits": [
        {
          "id": 123
        }
      ],
      "id": "<string>",
      "properties": {},
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "status": "PENDING"
}

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Kostenlos
Diese API erfordert einen der folgenden Bereiche:
marketing.campaigns.write

Authorizations

private-app
string
header
required

Body

application/json
inputs
object[]
required

Response

successful operation

completedAt
string<date-time>
required
startedAt
string<date-time>
required
results
object[]
required
status
enum<string>
required
Verfügbare Optionen:
PENDING,
PROCESSING,
CANCELED,
COMPLETE
requestedAt
string<date-time>