> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/products/llms.txt)
> Source: https://docs.saleor.io/api-reference/products/objects/allocation

# Allocation Object

Represents allocation.

```graphql
type Allocation implements Node {
  id: ID!
  quantity: Int!
  warehouse: Warehouse!
}
```

<a id="fields"></a>

### Fields

<a id="id"></a>

#### [`id`](#id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

The ID of allocation.

<a id="quantity"></a>

#### [`quantity`](#quantity) ● [`Int!`](/api-reference/miscellaneous/scalars/int.md)

Quantity allocated for orders.

Requires one of the following permissions: MANAGE\_PRODUCTS MANAGE\_ORDERS

<a id="warehouse"></a>

#### [`warehouse`](#warehouse) ● [`Warehouse!`](/api-reference/products/objects/warehouse.md)

The warehouse were items were allocated.

Requires one of the following permissions: MANAGE\_PRODUCTS MANAGE\_ORDERS

<a id="interfaces"></a>

### Interfaces

<a id="node"></a>

#### [`Node`](/api-reference/miscellaneous/interfaces/node.md)

An object with an ID

<a id="member-of"></a>

### Member Of

[`OrderLine`](/api-reference/orders/objects/order-line.md) object
