2 respuestas
Hi Nicholas, I believe that the name of the object needs to be passed -
const recordInput = {apiName: 'ORDER_OBJECT', fields};
this is passing the string literal 'ORDER_OBJECT' when you should be passing the variable-
const recordInput = {apiName: ORDER_OBJECT, fields};
or
const recordInput = {apiName: 'Customer_Order__c', fields};