Evidencity REST API Documentation

/docs/v1/orders/list.md

List Orders

URL : /api/v1/orders

Method : GET

Auth required : YES

Permissions required : role: customer

Success Response

Condition : If everything is OK orders are returned.

Code : 200 OK

Content example

q: [
 { uid: "0x123", "Order.title": "My test order" },
]

Error Responses

Condition : If no authentication was provided (empty Authorization header)

Code : 401 Unauthorized

Headers : Authorization: Bearer <JWT from auth.evidencity.com>

Content : {}

Or

Condition : Authorization has expired

Code : 401 Unauthorized

Content example

{
   "name": [
       "JWT is not valid - expired."
   ]
}