how to update bagisto APIs ?
API access - How to get started for API
Where does by default API hits?
You are giving objects to the function and the function you are using is the array function.
And there is no Bagisto here. This is a core function of PHP.