Analytics Annotation Create Payload
Return type for mutation.
Anchor to FieldsFields
- analyticsAnnotation (AnalyticsAnnotation)
- userErrors ([AnalyticsAnnotationCreateUserError!]!)
- Anchor to analyticsAnnotationanalytics•Analytics
Annotation Annotation The newly created analytics annotation.
- Anchor to userErrorsuser•[Analytics
Errors Annotation Create User Error!]! non-null The list of errors that occurred from executing the mutation.
Anchor to Mutations with this payloadMutations with this payload
- analyticsAnnotationCreate (AnalyticsAnnotationCreatePayload)
- •mutation
Creates an analytics annotation on the shop. Annotations are notable events that can be overlaid on analytics charts to provide context for changes in metrics. The annotation is attributed to the app that calls the mutation.
Shopify limits how many annotations an app can have for a shop. If the app reaches this limit, then the mutation returns a
LIMIT_REACHEDerror. Delete existing annotations or contact Shopify Support to request a higher limit.Use
to modify existing annotations orto remove them.The
typefield must specify a supported type for app-created annotations. Refer to the list of supported types.- Anchor to inputinput•Analytics
Annotation Create Input! required The input fields for creating an analytics annotation.
Arguments