younifyd
Menu

Update Sfcc Integration

Update SFCC Integration

PATCH/integrations/sfcc/{integrationId}

Use it in a workflow

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

Request

Request body

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

idstring

ID

labelstring
hubIdstring

Hub ID

sfcc-credentialsobject

Credentials for integrating with SFCC

idstringrequired
secretstringrequired
dc-credentialsobject

Credentials for integrating with DC

idstringrequired
secretstringrequired
sfcc-apiobject

Details to use when communicating with SFCC

pathstringrequired

API endpoint

versionstringrequired

SFCC API version to use

contentSlotsobject
sitestring

This is the site id that you wish to publish content to. Slots in SFCC are site specific.

ismlTemplatestring

This is a template in your storefront cartridge that is used for slots of type HTML

renderingobject

Used for setting up content previews

vseDomainstringrequired

Preview staging environment

htmlTemplatestringrequired

HTML template to preview the content with

contentAssetsobject

Filtering settings defining which content items are sent to SFCC

librarystringrequired

Which SFCC content library to use

contentRepositorystring

Which DC content repository to use

contentTypesarray<object>required3 fields

The content types to send to SFCC

localeMappingsobject

Locales to use when creating SFCC content, any valid locale can be used

lastInvocationTimestampany
_linksobject

Resource HAL links

selfany
webhookany
updateany
deleteany
webhook-subscriptionany
json
{
  "id": "00112233-4455-6677-8899-aabbccddeeff",
  "label": "Salesforce Commerce Cloud",
  "hubId": "00112233445566778899aabb",
  "sfcc-credentials": {
    "id": "SFCC_ID",
    "secret": "SFCC_SECRET"
  },
  "dc-credentials": {
    "id": "DC_ID",
    "secret": "DC_SECRET"
  },
  "sfcc-api": {
    "path": "https://example.com",
    "version": "v18_10"
  },
  "contentSlots": {
    "site": "mySite",
    "ismlTemplate": "slots/html/htmlslotcontainer.isml"
  },
  "rendering": {
    "vseDomain": "00112233445566778899aabb.staging.bigcontent.io",
    "htmlTemplate": "sfcc"
  },
  "contentAssets": {
    "library": "default",
    "contentTypes": [
      {
        "contentType": "http://deliver.bigcontent.io/schema/banner-type.json",
        "folders": [
          {
            "id": {},
            "default": {},
            "optional": {}
          }
        ],
        "mappings": {
          "id": null,
          "name": null,
          "onlineFlag": {
            "type": null,
            "description": null
          },
          "description": null,
          "siteMapPriority": null,
          "defaultedBoolean": {
            "type": null,
            "description": null
          },
          "defaultedNumber": {
            "type": null,
            "description": null
          },
          "defaultedObject": {
            "type": null,
            "description": null
          },
          "boolean_field": null
        }
      }
    ],
    "contentRepository": "00112233445566778899aabb"
  },
  "localeMappings": {
    "default": "*",
    "fr-FR": "fr-FR,en,*",
    "de": "de-*,en-*,*"
  },
  "lastInvocationTimestamp": null,
  "_links": {
    "self": null,
    "webhook": null,
    "update": null,
    "delete": null,
    "webhook-subscription": null
  }
}

Response

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

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