Anchor to ResourceFeedbackCreateInputResource
input_objectResource Feedback Create Input
The input fields for a resource feedback object.
Anchor to FieldsFields
- channelId (ID)
- feedbackGeneratedAt (DateTime!)
- messages ([String!])
- state (ResourceFeedbackState!)
- Anchor to channelIdchannel•ID
Id The ID of the channel that the feedback is for. Used to scope feedback to a specific sales channel when the app has multiple channels.
- Anchor to feedbackGeneratedAtfeedback•Date
Generated At Time! non-null The date and time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback.
- Anchor to messagesmessages•[String!]
If the feedback state is
, then you can send a string message that communicates the action to be taken by the merchant. The string must be a single message up to 100 characters long and must end with a period. You need to adhere to the message formatting rules or your requests will fail:[Explanation of the problem]. [Suggested action].
Examples:
[Your app name]isn't connected. Connect your account to use this sales channel.[Learn more][Your app name]isn't configured. Agree to the terms and conditions to use this app.[Learn more]BothYour app nameandLearn more(a button which directs merchants to your app) are automatically populated in the Shopify admin.
- Anchor to statestate•Resource
Feedback State! non-null The state of the feedback and whether it requires merchant action.
Was this section helpful?