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

# List deliveries

GET https://api.goautolane.com/dd/v1/deliveries

Reference: https://docs.goautolane.com/direct-delivery/api-reference/deliveries/list

## Authentication

- `Authorization` header (bearer token, required) — Autolane Platform API key. Org-scoped with granular permissions. Deliveries endpoints additionally require an `x-retailer-id` header containing the site UUID from the Autolane Portal; webhooks endpoints do not.

## Request

### Headers

- `x-retailer-id` (string, required) — Site ID (UUID) from the Autolane Portal identifying the store location

## Response

### 200

List of deliveries

- `success` (boolean, required)
- `data` (DdV1DeliveriesGetResponsesContentApplicationJsonSchemaData, required)

## Errors

### 401 Unauthorized Error

Invalid API key

- `error` (string, required) — Human-readable error message
- `code` (string, optional) — Machine-readable error code
- `details` (any, optional) — Additional error context

### 403 Forbidden Error

Missing permission

- `error` (string, required) — Human-readable error message
- `code` (string, optional) — Machine-readable error code
- `details` (any, optional) — Additional error context

## Types

### DdV1DeliveriesGetResponsesContentApplicationJsonSchemaData

- `deliveries` (list of DdV1DeliveriesGetResponsesContentApplicationJsonSchemaDataDeliveriesItems, required)
- `pagination` (DdV1DeliveriesGetResponsesContentApplicationJsonSchemaDataPagination, required)

### DdV1DeliveriesGetResponsesContentApplicationJsonSchemaDataDeliveriesItems

- `id` (double, required)
- `external_delivery_id` (string, required)
- `status` (enum, required)
  - Allowed values: `SCHEDULED`, `ASSIGNED`, `EN_ROUTE_TO_STORE`, `ARRIVED_AT_STORE`, `WAITING_FOR_LOAD`, `LOADED`, `EN_ROUTE_TO_CUSTOMER`, `ARRIVED_AT_CUSTOMER`, `COMPLETED`, `FAILED`, `CANCELLED`, `RETURN_IN_PROGRESS`, `RETURN_ARRIVED`, `RETURNED`, `EXPIRED`
- `ready_by` (string, required, nullable)
- `order_items` (list of map from string to any, required, nullable)
- `pickup_instructions` (string, required, nullable)
- `dropoff_instructions` (string, required, nullable)
- `pickup` (DdV1DeliveriesGetResponsesContentApplicationJsonSchemaDataDeliveriesItemsPickup, required)
- `delivery_fee_cents` (double, required, nullable)
- `pickup_eta` (string, required, nullable)
- `delivery_eta` (string, required, nullable)
- `customer` (DdV1DeliveriesGetResponsesContentApplicationJsonSchemaDataDeliveriesItemsCustomer, required)
- `delivery_address` (DdV1DeliveriesGetResponsesContentApplicationJsonSchemaDataDeliveriesItemsDeliveryAddress, required, nullable)
- `created_at` (string, required)

### DdV1DeliveriesGetResponsesContentApplicationJsonSchemaDataPagination

- `total` (double, required)
- `offset` (double, required)
- `limit` (double, required)
- `hasMore` (boolean, required)

### DdV1DeliveriesGetResponsesContentApplicationJsonSchemaDataDeliveriesItemsPickup

- `id` (double, required, nullable)
- `status` (string, required, nullable)

### DdV1DeliveriesGetResponsesContentApplicationJsonSchemaDataDeliveriesItemsCustomer

- `phone` (string, required, nullable)

### DdV1DeliveriesGetResponsesContentApplicationJsonSchemaDataDeliveriesItemsDeliveryAddress

- `street` (string, required)
- `city` (string, required)
- `state` (string, required)
- `zip` (string, required)
- `unit` (string, optional)

## Examples

**Response**

```json
{
  "success": true,
  "data": {
    "deliveries": [
      {
        "id": 1.1,
        "external_delivery_id": "string",
        "status": "SCHEDULED",
        "ready_by": "string",
        "order_items": [
          {}
        ],
        "pickup_instructions": "string",
        "dropoff_instructions": "string",
        "pickup": {
          "id": 1.1,
          "status": "string"
        },
        "delivery_fee_cents": 1.1,
        "pickup_eta": "string",
        "delivery_eta": "string",
        "customer": {
          "phone": "string"
        },
        "delivery_address": {
          "street": "string",
          "city": "string",
          "state": "string",
          "zip": "string",
          "unit": "string"
        },
        "created_at": "string"
      }
    ],
    "pagination": {
      "total": 1.1,
      "offset": 1.1,
      "limit": 1.1,
      "hasMore": true
    }
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.goautolane.com/dd/v1/deliveries"

headers = {
    "x-retailer-id": "x-retailer-id",
    "Authorization": "Bearer <token>"
}

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

print(response.json())
```

```javascript
const url = 'https://api.goautolane.com/dd/v1/deliveries';
const options = {
  method: 'GET',
  headers: {'x-retailer-id': 'x-retailer-id', 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.goautolane.com/dd/v1/deliveries"

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

	req.Header.Add("x-retailer-id", "x-retailer-id")
	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.goautolane.com/dd/v1/deliveries")

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

request = Net::HTTP::Get.new(url)
request["x-retailer-id"] = 'x-retailer-id'
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.goautolane.com/dd/v1/deliveries")
  .header("x-retailer-id", "x-retailer-id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.goautolane.com/dd/v1/deliveries', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'x-retailer-id' => 'x-retailer-id',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.goautolane.com/dd/v1/deliveries");
var request = new RestRequest(Method.GET);
request.AddHeader("x-retailer-id", "x-retailer-id");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "x-retailer-id": "x-retailer-id",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.goautolane.com/dd/v1/deliveries")! 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()
```