I work with Magento ver. 1.9.1.1. and I need to update the store’s credit balance for the customer. I know that this can be done in the Magento admin interface, but in my case I need to make an HTTP request to the server and actually perform the same manipulations as we do using the Magento admin interface.
On the Internet, I found a code that allows you to create a credit memo. Do I have to create a credit memo to update the credit balance of a customer store or is it not necessary?
Does anyone know how to do this?
I appreciate any answers. Thanks.
source share