---
title: DraftOrderInvoicePreviewPayload - GraphQL Admin
description: Return type for `draftOrderInvoicePreview` mutation.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/payloads/DraftOrderInvoicePreviewPayload
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/payloads/DraftOrderInvoicePreviewPayload.md
api_name: admin
api_type: graphql
type: payload
---

# Draft​Order​Invoice​Preview​Payload

payload

Return type for `draftOrderInvoicePreview` mutation.

## Fields

* preview​Html

  [HTML](https://shopify.dev/docs/api/admin-graphql/latest/scalars/HTML)

  The draft order invoice email rendered as HTML to allow previewing.

* preview​Subject

  [HTML](https://shopify.dev/docs/api/admin-graphql/latest/scalars/HTML)

  The subject preview for the draft order invoice email.

* user​Errors

  [\[User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/UserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Mutations with this payload

* [draft​Order​Invoice​Preview](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderInvoicePreview)

  mutation

  Previews a draft order invoice email.

  * email

    [Email​Input](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/EmailInput)

    ### Arguments

    Specifies the draft order invoice email fields.

  * id

    [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

    required

    Specifies the draft order invoice email to preview.

  ***

***

## Map

### Mutations with this payload

* [draft​Order​Invoice​Preview](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderInvoicePreview)
