I am attempting to use the getInstructions() method that comes with the CodelessShoppingCartService. I am attempting to run this Backendless.CodelessShoppingCartService.getInstructions() .then(function (response) { console.log(response) })
And am receiving this error: “Uncaught TypeError: Cannot read properties of undefined (reading ‘getInstructions’)”
I thought about just using an axios fetch call with the endpoint, but surely there is a better way to do this just using Backendless? My app has been initialized and is able to run things like
const retrieveDataWhere = () => { Backendless.Data.of('Country').find(queryBuilder) .then(function (list) { console.log('list has been retrieved') console.log(list) setCountries(list) }) .catch(function (error) { console.log(
Error + error.message) throw error; }) }
It is only when I try to use the methods provided by the API services that I am throwing errors.