My Oracle Support Banner

Default Value for "enabled" Attribute Cannot be Changed for Promotions in Admin UI. (Doc ID 2933124.1)

Last updated on AUGUST 25, 2023

Applies to:

Oracle Commerce Cloud Service - Version 22.4.2 and later
Information in this document applies to any platform.

Symptoms


ISSUE STATEMENT

The Default value for the attribute "enabled" cannot be modified for Promotions in Admin UI. After updating the attribute from the API -  PUT /ccadmin/v1/itemTypes/promotion, The "enabled" checkbox is checked by default when creating a promotion in admin UI. 

The issue can be reproduced at will with the following steps:

1. Access the Admin UI and Navigate to the Promotions Section - https://<>/occs-admin/#/marketing/promotions

2. Try to create a Promotion. The "enabled" Checkbox in the Availability section of the new promotion is checked by default. 

3. Now update the enabled value to false using the updateItemType API - PUT /ccadmin/v1/itemTypes/promotion

      {
         "displayName": "Promotions",
         "specifications": [
           {
              "label": "Enabled",
              "default": false,
              "id": "enabled"
           }
         ]
      }


4. Confirm the update using the Get the Promotion itemType Details - GET /ccadmin/v1/itemTypes/promotion

5. Open the Marketing tab and create a new promotion - https://<>/occs-admin/#/marketing/promotions

6. In the Availability section of the new promotion, The enabled checkbox is set to true.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.