Skip to main content
GET
/
v1
/
orders
List Orders
curl --request GET \
  --url https://api.production.orderprotection.com/v1/orders \
  --header 'Authorization: Bearer <token>'
{
  "pageInfo": {
    "startCursor": "",
    "endCursor": "",
    "hasNextPage": false,
    "hasPreviousPage": false
  },
  "pageCursors": {
    "around": [
      {
        "cursor": "YXJyYXljb25uZWN0aW9uOjA=",
        "page": 1,
        "isCurrent": true
      }
    ]
  },
  "totalCount": 5,
  "edges": [
    {
      "node": "<unknown>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

size
number

Number of records

cursor
string

Record cursor

buttonNum
number

Number of pages on page cursors

Response

pageInfo
object
required
Example:
{
"startCursor": "",
"endCursor": "",
"hasNextPage": false,
"hasPreviousPage": false
}
pageCursors
object
required
Example:
{
"around": [
{
"cursor": "YXJyYXljb25uZWN0aW9uOjA=",
"page": 1,
"isCurrent": true
}
]
}
totalCount
number
required
Example:

5

edges
object[]