I'm writing an module that provide a new API endpoint for Magento 2. Can anyone guide on how to write an API endpoint that I can fetch the sales report of last 1 year ?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.