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

# cartonManifestExport

> Generate a manifest for a warehouse-owned carton and its live descendants, with each line identifying its directly assigned carton. Currently requires a consolidation-backed carton. Null for an absent, foreign, deleted or voided carton.

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

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

## Arguments

**cartonId** `ID!` *required*

The carton's opaque ID.

**format** `[DocumentFormat!](/docs/api-reference/v3/reference/consolidations/document-format)` *required*

The representation to generate.

## Returns

**cartonManifestExport** `[GeneratedDocument](/docs/api-reference/v3/reference/consolidations/generated-document)`

A generated file containing current packed data. It is not an immutable shipment snapshot. 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 export began, not an atomic contents snapshot time.

## Example

```graphql theme={null}
mutation {
  cartonManifestExport(cartonId: "...", format: CSV) {
    contentType
    downloadUrl
    fileName
    generatedAt
  }
}
```


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