Anchor to AnalyticsTargetCreateUserErrorAnalytics
objectAnalytics Target Create User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- code (AnalyticsTargetCreateUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Analytics
Target Create User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- analyticsTargetCreate (AnalyticsTargetCreatePayload)
- •mutation
Creates an analytics target that defines a merchant's goal for a specific metric over a date range. For example, a merchant can set a target of $50,000 in total sales for a quarter, or 1,000 orders in a month.
Provide the target attributes through the
inputargument. The target's currency is set to the shop's currency. A target is uniquely identified by the combination ofmetric,,, andfilters— attempting to create a duplicate returns a user error.- Anchor to inputinput•Analytics
Target Create Input! required The input fields for creating an analytics target.
Arguments
Was this section helpful?