> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetPackageById

> Returns a single package by its ID.



**query** `GetPackageById(packageId: ID!): Package`

## Arguments

**`packageId`**: `ID!` (required)

## Returns

`Package`

**`id`**: `ID!`

This package's ID.

---

**`deliveryNoteId`**: `ID!`

The ID of the delivery note associated with this package.

---

**`weight`**: `Decimal!`

This package's weight.

---

**`shippingDate`**: `DateTime`

The shipping date, or null if this package has not yet been shipped.

---

**`trackingNumber`**: `String`

The tracking number, or null if the package has not yet been shipped or is being shipped without tracking.

## Examples

```graphql Query
query GetPackageById($packageId: ID!) {
  GetPackageById(packageId: $packageId) {
    id
    deliveryNoteId
    weight
    shippingDate
    trackingNumber
  }
}
```

```json Variables
{
  "packageId": "id"
}
```

```json Response
{
  "data": {
    "GetPackageById": {
      "id": "id",
      "deliveryNoteId": "id",
      "weight": "value",
      "shippingDate": "value",
      "trackingNumber": "string"
    }
  }
}
```
