Skip to main content
Anchor to AnalyticsAnnotationUpdatePayload

AnalyticsAnnotationUpdatePayload

payload

Return type for analyticsAnnotationUpdate mutation.

•AnalyticsAnnotation

The updated analytics annotation.

Show fields
•[AnalyticsAnnotationUpdateUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Updates an existing analytics annotation. Only the fields provided in the input argument are modified; omitted fields remain unchanged. Setting endedAt to null makes the annotation open-ended.

An app can update only annotations that it created. If an app attempts to update an annotation that it didn't create, then the mutation returns a NOT_FOUND error.

Use analyticsAnnotationCreate to create a new annotation, or analyticsAnnotationDelete to remove it.

If provided, the type field must specify a supported type for app-created annotations. Refer to the list of supported types.

Show payload

Arguments

•ID!
required

The ID of the analytics annotation to update.

•AnalyticsAnnotationUpdateInput!
required

The input fields for updating the analytics annotation.

Show input fields


Was this section helpful?