How to Customize the API Response Error Messages to make it more User Friendly?
(Doc ID 2683383.1)
Last updated on JUNE 07, 2023
Applies to:
Oracle Commerce Cloud Service - Version N/A and laterInformation in this document applies to any platform.
Goal
How to Customize the API Response Error Messages to make it more User Friendly?
{"errorCode": "28327", "message": "Please review your order. Items, discounts applied or tax calculations have changed since they were added to the order.", "status": "500"}
Scenario - When the checkout button clicked on the checkout page, if the price of the order items is different from the prices in the admin (eg- the price has been changed while the customer is filling in shipping information) the response of the request to ccstoreui/v1/orders/{id} is a 500 error as above.
Solution
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
Goal |
Solution |
References |