GET orders?offset={offset}&limit={limit}

Get all orders, sorted newest to oldest.

Request

URL parameters

These parameters are specified as part of the URL.

Property Description Type Details
offset The number of orders to skip. integer Default value is 0
limit The max number of orders to return. integer Default value is 20

Response

Body

The orders in the specified range.

Property Description Type Details
Count The total number of orders in your account. integer -
Offset The number of orders skipped before the start of the list. integer -
Limit The maximum number of orders in the list. integer -
Results The entries of the list. out:OrderSummary -
{
  "count": 76,
  "offset": 0,
  "limit": 5,
  "results": [
    {
      "id": "83432183",
      "dateTime": "2024-12-30T02:10:39.8816519",
      "status": "Created",
      "url": "https://test.printapi.nl/v2/orders/83432183"
    },
    {
      "id": "17893211",
      "dateTime": "2024-12-30T02:10:39.8816519",
      "status": "Processing",
      "url": "https://test.printapi.nl/v2/orders/17893211"
    },
    {
      "id": "59149125",
      "dateTime": "2024-12-30T02:10:39.8816519",
      "status": "Shipped",
      "url": "https://test.printapi.nl/v2/orders/59149125"
    },
    {
      "id": "7006334",
      "dateTime": "2024-12-30T02:10:39.8816519",
      "status": "Shipped",
      "url": "https://test.printapi.nl/v2/orders/7006334"
    },
    {
      "id": "2250091",
      "dateTime": "2024-12-30T02:10:39.8816519",
      "status": "Shipped",
      "url": "https://test.printapi.nl/v2/orders/2250091"
    }
  ]
}
<?xml version="1.0"?>
<Query xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Count>76</Count>
  <Offset>0</Offset>
  <Limit>5</Limit>
  <Results>
    <Order>
      <Id>83432183</Id>
      <DateTime>2024-12-30T02:10:39.8816519+01:00</DateTime>
      <Status>Created</Status>
      <Url>https://test.printapi.nl/v2/orders/83432183</Url>
    </Order>
    <Order>
      <Id>17893211</Id>
      <DateTime>2024-12-30T02:10:39.8816519+01:00</DateTime>
      <Status>Processing</Status>
      <Url>https://test.printapi.nl/v2/orders/17893211</Url>
    </Order>
    <Order>
      <Id>59149125</Id>
      <DateTime>2024-12-30T02:10:39.8816519+01:00</DateTime>
      <Status>Shipped</Status>
      <Url>https://test.printapi.nl/v2/orders/59149125</Url>
    </Order>
    <Order>
      <Id>7006334</Id>
      <DateTime>2024-12-30T02:10:39.8816519+01:00</DateTime>
      <Status>Shipped</Status>
      <Url>https://test.printapi.nl/v2/orders/7006334</Url>
    </Order>
    <Order>
      <Id>2250091</Id>
      <DateTime>2024-12-30T02:10:39.8816519+01:00</DateTime>
      <Status>Shipped</Status>
      <Url>https://test.printapi.nl/v2/orders/2250091</Url>
    </Order>
  </Results>
</Query>