cURL
curl --request GET \ --url https://api.marzipan.co/v1/account/orders \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "73d5c504-adbb-43ac-891e-9b3dd4900de4", "ref": "1010744", "items": 2, "amount": "£96.98", "status": "processing", "paymentStatus": "paid", "createdAt": "2024-06-08T22:07:53.000000Z" }, { "id": "6326728d-05e1-4fc5-92fb-c40b5aa0e52f", "ref": "1010961", "items": 1, "amount": "£9.99", "status": "shipped", "paymentStatus": "paid", "createdAt": "2024-10-07T12:12:58.000000Z" }, { "id": "835152d7-a1a7-4aa1-941e-1114acae24df", "ref": "1010985", "items": 5, "amount": "£281.89", "status": "shipped", "paymentStatus": "paid", "createdAt": "2024-10-25T09:03:10.000000Z" } ] }
Retrieve a list of all orders associated with the authenticated user’s account, including order status and payment information.
Bearer authentication header of the form Bearer <token>, where <token> is the account token returned from the Login endpoint.
Bearer <token>
<token>
Login
Success
Show child attributes