> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/deprecated/llms.txt)
> Source: https://docs.saleor.io/api-reference/deprecated/gift-cards/mutations/export-gift-cards

# exportGiftCards Mutation

DEPRECATED

Export functionality is deprecated and will be removed. All data can be fetched via the GraphQL API and parsed into the desired format by apps or external tools.

Export gift cards to csv file.

Requires the MANAGE\_GIFT\_CARD permission.

Triggers the following webhook events:

-   NOTIFY\_USER (async): A notification for the exported file.
-   GIFT\_CARD\_EXPORT\_COMPLETED (async): A notification for the exported file.

```graphql
exportGiftCards(
  input: ExportGiftCardsInput!
): ExportGiftCards @deprecated
```

Details

```graphql
type ExportGiftCards {
  exportFile: ExportFile
  errors: [ExportError!]!
}
```

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

### Arguments

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

#### [`input`](#input) ● [`ExportGiftCardsInput!`](/api-reference/gift-cards/inputs/export-gift-cards-input.md)

Fields required to export gift cards data.

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

### Type

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

#### [`ExportGiftCards`](/api-reference/gift-cards/objects/export-gift-cards.md)

Export gift cards to csv file.

Requires the MANAGE\_GIFT\_CARD permission.

Triggers the following webhook events:

-   NOTIFY\_USER (async): A notification for the exported file.
-   GIFT\_CARD\_EXPORT\_COMPLETED (async): A notification for the exported file.
