How to obtain error details in CPQ REST API response
In a commerce validation rule we have defined detailed error messages in the advanced rule. These detailed error messages show in the CPQ UI when the validation is triggered. However, when the validation is triggered during a REST API call, we only get a generic validation message indicating the attribute(s) which the validation has fired on. I understand that CPQ supports headless design, so it must be possible to return the detailed error messages in the API response. Is there a specific criteria we need to include in the request to have the detailed error message returned?