> This page is for version Prod (default).
> For other versions, use one of these documentation indexes:
> - Prod (default): https://docs.chrt.com/prod/llms.txt
> - Staging: https://docs.chrt.com/staging/llms.txt
> - Dev: https://docs.chrt.com/dev/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.chrt.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.chrt.com/_mcp/server.

# List

GET https://api.chrt.com/shipping_integrations/courie/orders/list/v1

Lists mirrored Courie orders for the caller's organization with filtering, sorting, and pagination. | () -> (CourieOrderListRes)

Reference: https://docs.chrt.com/api-reference/api-reference/shipping-integrations/courie/orders/list-v-1

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://api.chrt.com` (Production, default)
- `https://api.dev.chrt.com` (Development)
- `https://api.staging.chrt.com` (Staging)
- `https://localhost:8000` (Local)

## Request

### Query parameters

- `sort_by` (enum, optional) — Field to sort by.
  - Allowed values: `mirrored_at_timestamp`, `created_at_timestamp`, `updated_at_timestamp`, `integration_order_id`
- `sort_order` (enum, optional) — Sort order (asc or desc).
  - Allowed values: `asc`, `desc`
- `page` (integer, optional, default: 1)
- `page_size` (integer, optional, default: 20)
- `filter_provider_org_id` (string, optional) — Filter by provider org ID(s)
- `filter_integration_order_id` (string, optional) — Filter by Courie's exact order ID
- `filter_customer_id` (string, optional) — Filter by the Courie customer the order belongs to
- `filter_provider_status` (enum, optional) — Filter by Courie's own order status
  - Allowed values: `CREATED`, `ASSIGNED`, `IN_TRANSIT`, `COMPLETED`, `ATTEMPTED`, `ON_HOLD`, `DELETED`, `FAILED`
- `filter_mirrored_at_timestamp_gte` (datetime, optional) — Filter mirrored_at_timestamp >= value
- `filter_mirrored_at_timestamp_lte` (datetime, optional) — Filter mirrored\_at\_timestamp \<= value
- `filter_created_at_timestamp_gte` (datetime, optional) — Filter created_at_timestamp >= value
- `filter_created_at_timestamp_lte` (datetime, optional) — Filter created\_at\_timestamp \<= value
- `filter_updated_at_timestamp_gte` (datetime, optional) — Filter updated_at_timestamp >= value
- `filter_updated_at_timestamp_lte` (datetime, optional) — Filter updated\_at\_timestamp \<= value

## Response

### 200

Successful Response

- `items` (list of CourieOrder1, required)
- `total_count` (integer, required)

## Errors

### 422 Orders List V1request Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### CourieOrder1

- `_id` (string, required)
- `created_at_timestamp` (datetime, required)
- `integration_order_id` (string, required)
- `mirrored_at_timestamp` (datetime, required)
- `org_id` (string, required) — Must be a string starting with `org_`
- `provider_org_id` (string, required) — Must be a string starting with `org_`
- `provider_payload` (CourieOrderResponse1, required) — One Courie order, as returned by both the list and detail endpoints. The list endpoint returns this same complete shape, so the mirror never needs a per-order detail call.
- `provider_payload_hash` (string, required)
- `schema_version` (integer, required)
- `shipping_integration` ("courie", required)
- `updated_at_timestamp` (datetime, required)

### ValidationError

- `loc` (list of LocationItem, required)
- `msg` (string, required)
- `type` (string, required)
- `ctx` (map from string to any, optional)
- `input` (any, optional)

### CourieOrderResponse1

One Courie order, as returned by both the list and detail endpoints. The list endpoint returns this same complete shape, so the mirror never needs a per-order detail call.

- `customerId` (string, required)
- `id` (string, required)
- `status` (enum, required) — Courie's own order status. The spec documents these only as a bare enum list with no per-value meaning. `IN_TRANSIT`, `ON_HOLD` and `DELETED` have not been observed live. `unified.py` derives progress from the pickup milestone rather than this field.
  - Allowed values: `CREATED`, `ASSIGNED`, `IN_TRANSIT`, `COMPLETED`, `ATTEMPTED`, `ON_HOLD`, `DELETED`, `FAILED`
- `activities` (list of CourieOrderEventResponse1, optional)
- `customFields` (list of CourieCustomFieldResponse1, optional)
- `customerCompanyName` (string, optional)
- `deliveredAt` (datetime, optional)
- `displayId` (integer, optional)
- `numPackages` (integer, optional)
- `packageDescription` (string, optional)
- `packageItems` (list of CouriePackageItemResponse1, optional)
- `packageSize` (string, optional)
- `packageTypeName` (string, optional)
- `packageWeightInPounds` (double, optional)
- `packages` (list of CouriePackageResponse1, optional)
- `pickedUpAt` (datetime, optional)
- `proofOfDeliveries` (list of CourieProofOfDeliveryResponse1, optional)
- `proofOfPickUps` (list of CourieProofOfDeliveryResponse1, optional)
- `referenceNumber` (string, optional)
- `remoteId` (string, optional)
- `serviceTypeName` (string, optional)
- `shipmentDate` (string, optional)
- `shipmentType` (string, optional)
- `statusDescription` (string, optional)
- `stops` (list of CourieStopResponse1, optional)
- `trackingNumber` (string, optional)
- `trackingUrl` (string, optional)
- `vehicleTypeName` (string, optional)

### LocationItem

- string
- integer

### CourieOrderEventResponse1

- `event` (enum, required) — Activity event types. NOTE: there is no assignment event, so an order moving to `ASSIGNED` leaves no trace here and status cannot be reconstructed from this log.
  - Allowed values: `CREATED`, `PICKED_UP`, `DROPPED_OFF`, `RETURNED_TO_PICK_UP`, `ATTEMPTED`, `COMPLETED`
- `timestamp` (datetime, required)
- `address` (string, optional)

### CourieCustomFieldResponse1

- `name` (string, optional)
- `type` (string, optional)
- `value` (string, optional)

### CouriePackageItemResponse1

Per-item dimensions and weight. Values are **per piece**, not per entry: the spec's `quantity` note says "quantity 5 with weight 10 is 5 pieces weighing 50 lbs in total". Anything summing weight must multiply by `quantity` first.

- `height` (double, optional)
- `length` (double, optional)
- `quantity` (integer, optional)
- `weight` (double, optional)
- `width` (double, optional)

### CouriePackageResponse1

- `reference` (string, optional)
- `status` (string, optional)

### CourieProofOfDeliveryResponse1

- `signedBy` (string, optional)
- `timestamp` (string, optional)
- `type` (string, optional)
- `url` (string, optional)

### CourieStopResponse1

One end of a route. Timestamps here are epoch seconds, not ISO strings.

- `type` (enum, required)
  - Allowed values: `PICK_UP`, `DROP_OFF`
- `address` (CourieAddressResponse1, optional)
- `attemptedAt` (integer, optional)
- `attempts` (list of CourieStopAttemptResponse1, optional)
- `companyName` (string, optional)
- `completedAt` (integer, optional)
- `contactName` (string, optional)
- `driver` (CourieDriverResponse1, optional)
- `driverAnswers` (list of CourieDriverAnswerResponse1, optional)
- `driverStopSequenceNumber` (integer, optional)
- `due` (integer, optional)
- `instruction` (string, optional)
- `locationScans` (list of CourieLocationScanResponse1, optional)
- `orderId` (string, optional)
- `phone` (string, optional)
- `ready` (integer, optional)
- `stopSequenceNumber` (integer, optional)
- `suite` (string, optional)

### CourieAddressResponse1

- `city` (string, optional)
- `country` (string, optional)
- `display` (string, optional)
- `lngLat` (CourieLatLngResponse1, optional)
- `postalCode` (string, optional)
- `state` (string, optional)
- `streetAddress` (string, optional)
- `suite` (string, optional)

### CourieStopAttemptResponse1

- `date` (string, optional)
- `reason` (CourieAttemptReasonResponse1, optional)

### CourieDriverResponse1

- `firstName` (string, optional)
- `lastName` (string, optional)

### CourieDriverAnswerResponse1

- `answer` (string, optional)
- `photoUrl` (string, optional)
- `question` (string, optional)
- `type` (string, optional)

### CourieLocationScanResponse1

- `code` (string, optional)
- `scannedAt` (integer, optional)

### CourieLatLngResponse1

- `latitude` (double, optional)
- `longitude` (double, optional)
- `valid` (boolean, optional)

### CourieAttemptReasonResponse1

- `code` (string, optional)
- `name` (string, optional)

## Examples

**Response**

```json
{
  "items": [
    {
      "_id": "_id",
      "created_at_timestamp": "2024-01-15T09:30:00Z",
      "integration_order_id": "integration_order_id",
      "mirrored_at_timestamp": "2024-01-15T09:30:00Z",
      "org_id": "org_id",
      "provider_org_id": "provider_org_id",
      "provider_payload": {
        "customerId": "customerId",
        "id": "id",
        "status": "CREATED"
      },
      "provider_payload_hash": "provider_payload_hash",
      "schema_version": 1,
      "shipping_integration": "courie",
      "updated_at_timestamp": "2024-01-15T09:30:00Z"
    }
  ],
  "total_count": 1
}
```

**SDK Code**

```python
import requests

url = "https://api.chrt.com/shipping_integrations/courie/orders/list/v1"

querystring = {"filter_created_at_timestamp_gte":"2024-01-15T09:30:00Z","filter_created_at_timestamp_lte":"2024-01-15T09:30:00Z","filter_customer_id":"filter_customer_id","filter_integration_order_id":"filter_integration_order_id","filter_mirrored_at_timestamp_gte":"2024-01-15T09:30:00Z","filter_mirrored_at_timestamp_lte":"2024-01-15T09:30:00Z","filter_provider_org_id":"[\"filter_provider_org_id\"]","filter_provider_status":"CREATED","filter_updated_at_timestamp_gte":"2024-01-15T09:30:00Z","filter_updated_at_timestamp_lte":"2024-01-15T09:30:00Z","page":"1","page_size":"1","sort_by":"mirrored_at_timestamp","sort_order":"asc"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript
const url = 'https://api.chrt.com/shipping_integrations/courie/orders/list/v1?filter_created_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_created_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_customer_id=filter_customer_id&filter_integration_order_id=filter_integration_order_id&filter_mirrored_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_mirrored_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_provider_org_id=%5B%22filter_provider_org_id%22%5D&filter_provider_status=CREATED&filter_updated_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_updated_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&page=1&page_size=1&sort_by=mirrored_at_timestamp&sort_order=asc';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.chrt.com/shipping_integrations/courie/orders/list/v1?filter_created_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_created_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_customer_id=filter_customer_id&filter_integration_order_id=filter_integration_order_id&filter_mirrored_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_mirrored_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_provider_org_id=%5B%22filter_provider_org_id%22%5D&filter_provider_status=CREATED&filter_updated_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_updated_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&page=1&page_size=1&sort_by=mirrored_at_timestamp&sort_order=asc"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.chrt.com/shipping_integrations/courie/orders/list/v1?filter_created_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_created_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_customer_id=filter_customer_id&filter_integration_order_id=filter_integration_order_id&filter_mirrored_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_mirrored_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_provider_org_id=%5B%22filter_provider_org_id%22%5D&filter_provider_status=CREATED&filter_updated_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_updated_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&page=1&page_size=1&sort_by=mirrored_at_timestamp&sort_order=asc")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.chrt.com/shipping_integrations/courie/orders/list/v1?filter_created_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_created_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_customer_id=filter_customer_id&filter_integration_order_id=filter_integration_order_id&filter_mirrored_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_mirrored_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_provider_org_id=%5B%22filter_provider_org_id%22%5D&filter_provider_status=CREATED&filter_updated_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_updated_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&page=1&page_size=1&sort_by=mirrored_at_timestamp&sort_order=asc")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.chrt.com/shipping_integrations/courie/orders/list/v1?filter_created_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_created_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_customer_id=filter_customer_id&filter_integration_order_id=filter_integration_order_id&filter_mirrored_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_mirrored_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_provider_org_id=%5B%22filter_provider_org_id%22%5D&filter_provider_status=CREATED&filter_updated_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_updated_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&page=1&page_size=1&sort_by=mirrored_at_timestamp&sort_order=asc', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.chrt.com/shipping_integrations/courie/orders/list/v1?filter_created_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_created_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_customer_id=filter_customer_id&filter_integration_order_id=filter_integration_order_id&filter_mirrored_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_mirrored_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_provider_org_id=%5B%22filter_provider_org_id%22%5D&filter_provider_status=CREATED&filter_updated_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_updated_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&page=1&page_size=1&sort_by=mirrored_at_timestamp&sort_order=asc");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.chrt.com/shipping_integrations/courie/orders/list/v1?filter_created_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_created_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_customer_id=filter_customer_id&filter_integration_order_id=filter_integration_order_id&filter_mirrored_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_mirrored_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&filter_provider_org_id=%5B%22filter_provider_org_id%22%5D&filter_provider_status=CREATED&filter_updated_at_timestamp_gte=2024-01-15T09%3A30%3A00Z&filter_updated_at_timestamp_lte=2024-01-15T09%3A30%3A00Z&page=1&page_size=1&sort_by=mirrored_at_timestamp&sort_order=asc")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```