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

# Analytics​Target​Update​Payload

payload

Return type for `analyticsTargetUpdate` mutation.

## Fields

* analytics​Target

  [Analytics​Target](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsTarget)

  The updated [analytics target](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsTarget).

* user​Errors

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

  non-null

  The list of errors that occurred from executing the mutation.

***

## Mutations with this payload

* [analytics​Target​Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsTargetUpdate)

  mutation

  Updates an existing [analytics target](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsTarget). Only the fields provided in the `input` argument are modified; omitted fields remain unchanged. Setting a nullable field to `null` clears its value.

  Use [`analyticsTargetCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsTargetCreate) to create a new target, or [`analyticsTargetsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsTargetsDelete) to remove targets.

  * id

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

    required

    ### Arguments

    The ID of the analytics target to update.

  * input

    [Analytics​Target​Update​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/AnalyticsTargetUpdateInput)

    required

    The input fields for updating an [analytics target](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsTarget).

  ***

***

## Map

### Mutations with this payload

* [analytics​Target​Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/analyticsTargetUpdate)
