Integrate with SAP Commerce Cloud
The following steps must be completed to integrate with SAP Commerce Cloud.
Prerequisites
-
Enable the following web apps for Backoffice:
{ "name": "oauth2", "contextPath": "/authorizationserver" } { "name": "odata2webservices", "contextPath": "/odata2webservices" } -
Add the Intelligent Selling Services lounge domain to the allowlist for CORS on the SAP Commerce Cloud side. To do this, adjust corsfilter.commercewebservices.allowedOrigins configuration property in the manifest.json file for the backoffice aspect. For example:
corsfilter.commercewebservices.allowedOrigins=https://htp01234567.eu.context.cloud.sap. To learn more about aspects, see Aspects documentation.
Alternatively, you can configure this property via the SAP Commerce Cloud portal for the hsc_common service. For more information, see Updating Service Properties.
Context
To complete the integration between SAP Commerce Cloud and Intelligent Selling Services, it is necessary to provide specific client details for authentication purposes. This ensures that the data from SAP Commerce Cloud is successfully received by Intelligent Selling Services and then transferred back.
Procedure
OAuth Client Privileges
To configure your SAP Commerce Cloud instance for Intelligent Selling Services, you need an OAuth client with special privileges.
The privileges cover the read rights to fetch Backoffice objects to fill the dropdown lists in the Integration Setup for an easier configuration. They also cover read, create, and change rights to create and configure the necessary REST endpoints as well as to persist your configuration in the respective Backoffice objects.
REST Endpoints
· AuthenticationType · AttributeDescriptor · InboundChannelConfiguration · IntegrationObject · IntegrationObjectItem · IntegrationObjectItemAttribute · IntegrationObjectItemVirtualAttribute · IntegrationObjectVirtualAttributeDescriptor · IntegrationType · Script · ScriptType · Type
Dropdown Lists
· BaseSite · Catalog · CatalogVersion · Currency · Language · SolrIndexedType
Configuration Persistence
· AbstractCMSComponent · AbstractRestriction · CMSFlexComponent · CMSParagraphComponent · CMSSite · ConsentTemplate · ConsumedDestination · ConsumedOAuthCredential · ContentSlot · DestinationChannel · DestinationTarget · Endpoint · MerchProductDirectoryConfig · MerchProperty · SmarteditConfiguration · SolrIndexedProperty


