younifyd
Menu

Update Sfmc Integration

Update SFMC Integration

PATCH/integrations/sfmc/{integrationId}

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Update Sfmc Integration action (under Salesforce Marketing Cloud (SFMC)).
  3. Fill in the fields below, then reference the result from later steps as {{updateSfmcIntegration.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

idstring

ID

labelstring
activeboolean
hubIdstring

Hub ID

sfmc-credentialsobject

Credentials for integrating with SFMC

idstringrequired
secretstringrequired
authDomainstring
dc-credentialsobject

Credentials for integrating with DC

idstringrequired
secretstringrequired
renderingobject

Used for setting up content previews

vseDomainstringrequired

Preview staging environment

contentAssetsobject

Settings to use when creating SFMC content

topLevelFolderstringrequired

Which SFMC folder to use

contentTypeSchemasarray<object>required2 fields

The Content Type Schemas to use when generating content for SFMC

lastInvocationTimestampinteger
_linksobject

Resource HAL links

selfany
hubany
webhookany
updateany
deleteany
webhook-subscriptionany
json
{
  "id": "00112233-4455-6677-8899-aabbccddeeff",
  "label": "Salesforce Marketing Cloud",
  "active": true,
  "hubId": "00112233445566778899aabb",
  "sfmc-credentials": {
    "id": "SFMC_ID",
    "secret": "SFMC_SECRET",
    "authDomain": "SFMC_SECRET"
  },
  "dc-credentials": {
    "id": "DC_ID",
    "secret": "DC_SECRET"
  },
  "rendering": {
    "vseDomain": "00112233445566778899aabb.staging.bigcontent.io"
  },
  "contentAssets": {
    "topLevelFolder": "myFolder",
    "contentTypeSchemas": [
      {
        "id": null,
        "htmlTemplate": "sfmc"
      }
    ]
  },
  "lastInvocationTimestamp": 1234567890,
  "_links": {
    "self": null,
    "hub": null,
    "webhook": null,
    "update": null,
    "delete": null,
    "webhook-subscription": null
  }
}

Response

Returns 200 with a any. Read it in later steps with {{updateSfmcIntegration.response.data.<field>}}.

Need more? See the Amplience guide for connection setup and behaviour shared by every action.

Update Sfmc Integration — Amplience — Documentation