> ## 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.

# GetOrderData

> Delivers order data for a specific package



**query** `GetOrderData(packageId: String!): OrderDataItem!`

## Arguments

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

## Returns

`OrderDataItem!`

**`id`**: `String!`

The Package ID of the Order

---

**`totalWeight`**: `Decimal`

Total weight in kg (range 0-10000)

---

**`orderId`**: `ID!`

Order ID

---

**`customerId`**: `ID!`

Customer ID

---

**`companyId`**: `ID!`

Company ID

---

**`warehouseId`**: `ID!`

Warehouse ID

---

**`shippingAddress`**: `ShippingAddress!`

Shipping address

---

**`companyAddress`**: `CompanyAddress!`

Company address

---

**`warehouseAddress`**: `WarehouseAddress!`

Warehouse address

---

**`deliveryNotes`**: `[DeliveryNoteItem!]!`

List of delivery notes

---

**`content`**: `[PackageContent!]!`

List of package content items

## Examples

```graphql Query
query GetOrderData($packageId: String!) {
  GetOrderData(packageId: $packageId) {
    id
    totalWeight
    orderId
    customerId
    companyId
    warehouseId
  }
}
```

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

```json Response
{
  "data": {
    "GetOrderData": {
      "id": "string",
      "totalWeight": "value",
      "orderId": "id",
      "customerId": "id",
      "companyId": "id",
      "warehouseId": "id"
    }
  }
}
```
