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

# inventoryContainerLabelExport

> Generate a PDF label for an owned container in the requested warehouse. Returns null for a missing or foreign container or warehouse.

**Required scopes:** [`inventory_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_write)

**Store must have one of:** `WMS`

## Arguments

**containerId** `ID!` *required*

The container to label.

**labelSize** `[InventoryContainerLabelSize!](/docs/api-reference/v3/reference/inventory/inventory-container-label-size)` *required*

The PDF page dimensions.

**locationId** `ID!` *required*

The container's current warehouse.

## Returns

**inventoryContainerLabelExport** `[GeneratedDocument](/docs/api-reference/v3/reference/common/generated-document)`

A generated file. The download URL has no promised expiry.

**fields**

**contentType** `String!` *required*

The file's media type.

**downloadUrl** `String!` *required*

The URL from which to download this generated file.

**fileName** `String!` *required*

A suggested filename.

**generatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When generation of this file began.

## Example

```graphql theme={null}
mutation {
  inventoryContainerLabelExport(containerId: "...", labelSize: FOUR_BY_SIX, locationId: "...") {
    contentType
    downloadUrl
    fileName
    generatedAt
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.