JSON Feed for use with Smiirl counter.
Posted: Sat Mar 11, 2023 5:59 am
I've been looking at the Smiirl counter, and seen it needs a JSON feed to populate it.
https://github.com/smiirl/smiirl-custom-samples

Is there a way to display the latest order ID as a JSON result on a url?
Would look something like
mydomain.com/smirrll
Many thanks in advance.
https://github.com/smiirl/smiirl-custom-samples

Is there a way to display the latest order ID as a JSON result on a url?
Would look something like
mydomain.com/smirrll
Code: Select all
{
"number": 42
}