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

# Get a Delivery

GET https://sandbox-api.deliveryapp.com/api/v1/deliveries/{deliveryId}

Reference: https://api-docs.zippd.com/deliveries/get-deliveries-delivery-id

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /deliveries/{deliveryId}:
    get:
      operationId: get-deliveries-delivery-id
      summary: Get a Delivery
      tags:
        - subpackage_deliveries
      parameters:
        - name: deliveryId
          in: path
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Deliveries_get-deliveries-deliveryId_Response_200
        '404':
          description: The resource could not be found using the given request data.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Get-deliveries-deliveryIdRequestNotFoundError
servers:
  - url: https://sandbox-api.deliveryapp.com/api/v1
components:
  schemas:
    DeliveryInstruction:
      type: string
      enum:
        - address
        - safe-place
      description: A key that determines how the delivery should be flfilled.
      title: DeliveryInstruction
    DeliveryStatus:
      type: string
      enum:
        - order-received
        - out-for-delivery
        - delivered
        - delivery-partially-successful
        - delivery-unsuccessful
        - status-unknown
      description: The current status of the delivery.
      title: DeliveryStatus
    DeliveryRecipientAddress:
      type: object
      properties:
        address_line_1:
          type: string
          description: The first line of the recipient's address.
        address_line_2:
          type:
            - string
            - 'null'
          description: The second line of the recipient's address.
        city:
          type: string
          description: The city of the recipient's address.
        postcode:
          type: string
          description: The postal code of the recipient's address.
        latitude:
          type: number
          format: double
          description: The latitude coordinate of the recipient's address.
        longitude:
          type: number
          format: double
          description: The longitude coordinate of the recipient's address.
      description: Recipient's address details.
      title: DeliveryRecipientAddress
    DeliveryRecipientDetails:
      type: object
      properties:
        contact_name:
          type: string
          description: The recipient's name.
        phone_number:
          type: string
          description: A contact number of the recipient.
        email:
          type: string
          format: email
          description: The contact email of the recipient.
        company_name:
          type:
            - string
            - 'null'
          description: The name of the company.
      description: Recipient's personal and contact details.
      title: DeliveryRecipientDetails
    DeliverySenderDetails:
      type: object
      properties:
        company_name:
          type:
            - string
            - 'null'
          description: The name of the company sending the delivery.
        logo_url:
          type:
            - string
            - 'null'
          format: uri
          description: An absolute URL to the sender's logo image.
      description: The sending party's details.
      title: DeliverySenderDetails
    DeliveryDriverDetails:
      type: object
      properties:
        first_name:
          type: string
          description: The delivery driver's first name.
        full_name:
          type: string
          description: The delivery driver's full name.
        profile_image:
          type: string
          description: >-
            An absolute URL to the delivery driver's profile image. The URL to a
            generic silhouette image will be returned if the driver doesn't have
            a profile image set.


            See `has_uploaded_profile_image` to see if the given profile image
            was uploaded by the user or is a system default.
        has_uploaded_profile_image:
          type: boolean
          description: >-
            This will be `true` if `profile_image` refers to an image that was
            uploaded by the driver.
        total_deliveries:
          type: integer
          description: The total number of deliveries that this driver has fulfilled.
        average_rating:
          type:
            - number
            - 'null'
          format: double
          description: >-
            The driver's average rating. This will be `null` if the driver
            hasn't received a rating yet.
      description: Useful information about the delivery driver.
      title: DeliveryDriverDetails
    DeliveryDriverRecentLocation:
      type: object
      properties:
        latitude:
          type: number
          format: double
          description: The latitude coordinate of the driver's last known location.
        longitude:
          type: number
          format: double
          description: The longitude coordinate of the driver's last known location.
      description: >-
        The coordinates of the driver's most recent known location. This data
        may lag behind the driver's real-time location by around 5 minutes.
      title: DeliveryDriverRecentLocation
    DeliveryDriver:
      type: object
      properties:
        details:
          $ref: '#/components/schemas/DeliveryDriverDetails'
          description: Useful information about the delivery driver.
        recent_location:
          oneOf:
            - $ref: '#/components/schemas/DeliveryDriverRecentLocation'
            - type: 'null'
          description: >-
            The coordinates of the driver's most recent known location. This
            data may lag behind the driver's real-time location by around 5
            minutes.
        distance:
          type:
            - number
            - 'null'
          format: double
          description: >-
            The distance in miles that the delivery driver is from the drop-off
            location.
      description: >-
        Driver information. This will be `null` if no driver is currently
        assigned to the delivery.
      title: DeliveryDriver
    DeliveryMilestonesOrderReceived:
      type: object
      properties:
        datetime:
          type: string
          format: date-time
          description: Date/time at which this milestone was reached.
      title: DeliveryMilestonesOrderReceived
    DeliveryMilestonesDriverOnTheWayToPickup:
      type: object
      properties:
        datetime:
          type: string
          format: date-time
          description: Date/time at which this milestone was reached.
      title: DeliveryMilestonesDriverOnTheWayToPickup
    DeliveryMilestonesDriverArrivedAtFirstPickup:
      type: object
      properties:
        datetime:
          type: string
          format: date-time
          description: Date/time at which this milestone was reached.
      title: DeliveryMilestonesDriverArrivedAtFirstPickup
    DeliveryMilestonesOutForDelivery:
      type: object
      properties:
        datetime:
          type: string
          format: date-time
          description: Date/time at which this milestone was reached.
        driver_expected_from:
          type: string
          format: date-time
          description: The start of the time range when the driver is expected to arrive.
        driver_expected_to:
          type: string
          format: date-time
          description: The end of the time range when the driver is expected to arrive.
      title: DeliveryMilestonesOutForDelivery
    DeliveryMilestonesDeliveredProofOfDelivery:
      type: object
      properties:
        photo:
          type: string
          description: An absolute URL to the photo the driver took as proof of delivery.
        signature:
          type: string
          description: >-
            An absolute URL to the recipient's signature taken after delivery
            was fulfilled.
        signer_name:
          type: string
          description: The name of the delivery recipient.
      title: DeliveryMilestonesDeliveredProofOfDelivery
    DeliveryMilestonesDelivered:
      type: object
      properties:
        datetime:
          type: string
          format: date-time
          description: Date/time at which this milestone was reached.
        proof_of_delivery:
          $ref: '#/components/schemas/DeliveryMilestonesDeliveredProofOfDelivery'
      title: DeliveryMilestonesDelivered
    DeliveryMilestonesDeliveryPartiallySuccessfulUndeliverablesItemBarcode:
      type: object
      properties:
        item_code:
          type: string
          description: The item's barcode.
        reason:
          type: string
          description: A short description of why the item could not be delivered.
      title: DeliveryMilestonesDeliveryPartiallySuccessfulUndeliverablesItemBarcode
    DeliveryMilestonesDeliveryPartiallySuccessfulUndeliverables:
      type: object
      properties:
        '[item barcode]':
          $ref: >-
            #/components/schemas/DeliveryMilestonesDeliveryPartiallySuccessfulUndeliverablesItemBarcode
      description: An object list of the items that could not be delivered.
      title: DeliveryMilestonesDeliveryPartiallySuccessfulUndeliverables
    DeliveryMilestonesDeliveryPartiallySuccessfulProofOfDelivery:
      type: object
      properties:
        photo:
          type: string
          description: An absolute URL to the photo driver took as proof of delivery.
        signature:
          type: string
          description: >-
            An absolute URL to the recipient's signature taken after delivery
            was fulfilled.
        signer_name:
          type: string
          description: The name of the delivery recipient.
      title: DeliveryMilestonesDeliveryPartiallySuccessfulProofOfDelivery
    DeliveryMilestonesDeliveryPartiallySuccessful:
      type: object
      properties:
        datetime:
          type: string
          format: date-time
          description: Date/time at which this milestone was reached.
        undeliverables:
          $ref: >-
            #/components/schemas/DeliveryMilestonesDeliveryPartiallySuccessfulUndeliverables
          description: An object list of the items that could not be delivered.
        undeliverable_item_count:
          type: integer
          description: Number of items that could not be delivered.
        deliverable_item_count:
          type: integer
          description: Number of items that were successfully delivered.
        total_item_count:
          type: integer
          description: Total number of items attributed to this delivery.
        proof_of_delivery:
          $ref: >-
            #/components/schemas/DeliveryMilestonesDeliveryPartiallySuccessfulProofOfDelivery
      title: DeliveryMilestonesDeliveryPartiallySuccessful
    DeliveryMilestonesDeliveryUnsuccessfulUndeliverablesItemBarcode:
      type: object
      properties:
        item_code:
          type: string
          description: The item's barcode.
        reason:
          type: string
          description: A short description of why the item could not be delivered.
      title: DeliveryMilestonesDeliveryUnsuccessfulUndeliverablesItemBarcode
    DeliveryMilestonesDeliveryUnsuccessfulUndeliverables:
      type: object
      properties:
        '[item barcode]':
          $ref: >-
            #/components/schemas/DeliveryMilestonesDeliveryUnsuccessfulUndeliverablesItemBarcode
      description: An object list of the items that could not be delivered.
      title: DeliveryMilestonesDeliveryUnsuccessfulUndeliverables
    DeliveryMilestonesDeliveryUnsuccessful:
      type: object
      properties:
        datetime:
          type: string
          format: date-time
          description: Date/time at which this milestone was reached.
        undeliverables:
          $ref: >-
            #/components/schemas/DeliveryMilestonesDeliveryUnsuccessfulUndeliverables
          description: An object list of the items that could not be delivered.
      title: DeliveryMilestonesDeliveryUnsuccessful
    DeliveryMilestones:
      type: object
      properties:
        order-received:
          $ref: '#/components/schemas/DeliveryMilestonesOrderReceived'
        driver-on-the-way-to-pickup:
          $ref: '#/components/schemas/DeliveryMilestonesDriverOnTheWayToPickup'
        driver-arrived-at-first-pickup:
          $ref: '#/components/schemas/DeliveryMilestonesDriverArrivedAtFirstPickup'
        out-for-delivery:
          $ref: '#/components/schemas/DeliveryMilestonesOutForDelivery'
        delivered:
          $ref: '#/components/schemas/DeliveryMilestonesDelivered'
        delivery-partially-successful:
          $ref: '#/components/schemas/DeliveryMilestonesDeliveryPartiallySuccessful'
        delivery-unsuccessful:
          $ref: '#/components/schemas/DeliveryMilestonesDeliveryUnsuccessful'
      description: >-
        An object list of milestones that this delivery has reached. Milestones
        that the delivery has not reached yet will not be present in the object.
      title: DeliveryMilestones
    Review:
      type: object
      properties:
        rating:
          type: integer
          description: The numerical rating of this review, between 1 and 5.
        message:
          type: string
          description: >-
            Additional information given by the reviewer when the review was
            given.
        reviewer_name:
          type: string
          description: The name of the person who provided the review.
        created_at:
          type: string
          format: date-time
          description: The date/time at which the review was given.
      description: The details of a review given for the order (delivery) or drop-off.
      title: Review
    Delivery:
      type: object
      properties:
        id:
          type: integer
          description: The ID of the delivery.
        order_location_id:
          type: integer
          description: The ID of the order location that this delivery is relevant to.
        instruction:
          $ref: '#/components/schemas/DeliveryInstruction'
          description: A key that determines how the delivery should be flfilled.
        instruction_details:
          type:
            - string
            - 'null'
          description: >-
            Additional details relating to `instruction`. For example, if
            `instruction` is `safe-place`, this will hold the details of the
            safe place.
        status:
          $ref: '#/components/schemas/DeliveryStatus'
          description: The current status of the delivery.
        tracking_code:
          type: string
          description: The unique tracking code of this delivery.
        web_tracking_url:
          type: string
          format: uri
          description: >-
            An absolute URL to a page where you or your recipient can track the
            delivery in the browser.
        recipient_address:
          $ref: '#/components/schemas/DeliveryRecipientAddress'
          description: Recipient's address details.
        recipient_details:
          $ref: '#/components/schemas/DeliveryRecipientDetails'
          description: Recipient's personal and contact details.
        sender_details:
          $ref: '#/components/schemas/DeliverySenderDetails'
          description: The sending party's details.
        driver:
          oneOf:
            - $ref: '#/components/schemas/DeliveryDriver'
            - type: 'null'
          description: >-
            Driver information. This will be `null` if no driver is currently
            assigned to the delivery.
        milestones:
          $ref: '#/components/schemas/DeliveryMilestones'
          description: >-
            An object list of milestones that this delivery has reached.
            Milestones that the delivery has not reached yet will not be present
            in the object.
        review:
          $ref: '#/components/schemas/Review'
      title: Delivery
    DeliveriesDeliveryIdGetResponsesContentApplicationJsonSchemaMeta:
      type: object
      properties:
        all_safe_places:
          type: array
          items:
            type: string
        all_statuses:
          type: array
          items:
            type: string
      title: DeliveriesDeliveryIdGetResponsesContentApplicationJsonSchemaMeta
    Deliveries_get-deliveries-deliveryId_Response_200:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/Delivery'
        meta:
          $ref: >-
            #/components/schemas/DeliveriesDeliveryIdGetResponsesContentApplicationJsonSchemaMeta
      title: Deliveries_get-deliveries-deliveryId_Response_200
    Get-deliveries-deliveryIdRequestNotFoundError:
      type: object
      properties:
        error:
          type: string
      title: Get-deliveries-deliveryIdRequestNotFoundError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: ''

```

## SDK Code Examples

```python
import requests

url = "https://sandbox-api.deliveryapp.com/api/v1/deliveries/deliveryId"

payload = {}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript
const url = 'https://sandbox-api.deliveryapp.com/api/v1/deliveries/deliveryId';
const options = {
  method: 'GET',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{}'
};

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"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://sandbox-api.deliveryapp.com/api/v1/deliveries/deliveryId"

	payload := strings.NewReader("{}")

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

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	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://sandbox-api.deliveryapp.com/api/v1/deliveries/deliveryId")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

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://sandbox-api.deliveryapp.com/api/v1/deliveries/deliveryId")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://sandbox-api.deliveryapp.com/api/v1/deliveries/deliveryId', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://sandbox-api.deliveryapp.com/api/v1/deliveries/deliveryId");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://sandbox-api.deliveryapp.com/api/v1/deliveries/deliveryId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```