How to configure and adapt Aimeos based shops as developer
Forum rules: Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#5895 by aimeos
27 Mar 2018, 07:51
Either the customers have to be logged in or orders are associated depending on their e-mail address.

To retrieve the orders of a customer you have to use the "order" endpoint (GET request without "id" parameter) and the customer has to be logged in.
#5900 by Anshul Dua
27 Mar 2018, 09:00
I am hitting the
http://localhost/jsonapi/order
and getting the response

{
"meta": {
"total": 0,
"prefix": null,
"content-baseurl": "/",
"csrf": {
"name": "_token",
"value": "7AHkga0vq1L6eMqJuixV9XJggdL1JqPLVxyg2hhR"
}
},
"links": {
"self": "http://localhost/jsonapi/order"
},
"data": []
}

but order exist
Attachments
ordr.PNG
ordr.PNG (9.44 KiB) Viewed 258 times