Configure Custom Personalization Header

Configure a custom header by setting respective properties.

Context

By default, personalization for commerce web services uses the personalization identifier stored in the Occ-Personalization-Id header.

Procedure

  1. Go to the local.properties file.
  2. Edit the file to add a custom name for the header.
    #Defines custom name for personalization id header when using personalization for Commerce Web Services
    #if its empty the default value is "Occ-Personalization-Id"
    personalizationservices.personalizationIdHeader=