My Oracle Support Banner

UpdateItems API Using CCConstants.ENDPOINT_ADD_ITEM_PURCHASE_LIST Triggers Different API After Recent OCCS Upgrade (Doc ID 2652662.1)

Last updated on MARCH 25, 2020

Applies to:

Oracle Commerce Cloud Service - Version N/A to N/A
Information in this document applies to any platform.


Issue Statement

The "updateItems" api call [/ccstore/v1/purchaseLists/{id}/updateItems] using the ccConstant CCConstants.ENDPOINT_ADD_ITEM_PURCHASE_LIST = "updateItems" is triggered when adding an item to purchase list. But after the Upgrade to version 20.1.4 it is triggering /ccstoreui/v1/orders/current/items API in the storefront with the following response:

Steps to Replicate
The issue can be reproduced at will with the following steps:
1. Login to Storefront application with Valid Credentials.
2. Open developer tools and open network
3. Click on "Quick ADD"
4. Enter a Valid ItemId and click on "Add to List" button.
5. We can see the "items" API call is made instead of updateItems.
6. Now Click on List and navigate to the Purchase list page.
7. Enter a Valid ItemId and click on "+ Add" button.
8. We can see the "items" API call is made instead of updateItems.


 Upgraded the environment to Version 20.1.4


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

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