I'm trying to set up a simple script to pull customer, order, product, etc. data information from Magento 2.
I have an old script for Magento 1 that does this easily, and quite nicely, but with the total revamp of Magento 2 I'm lost in the weeds again.
I need an example of how to pull an order's information, say between two dates, and echo it for the customer.
Like between 2016-05-01, and 2016-05-10.
I'm planning on putting this script in a sub-folder called /custom-exports/
The simple output I'm looking for should be something like this:
Date: 2016-05-03 17:12:22
First Name: Jesse
Last Name: Gangi
Address 1: 101 Main St
Any, and all help is much appreciated, as I can't really grasp how to get this data in Magento 2 versus Magento 1.
If I can understand this, then I can branch it off for customers, and products.