Menu
shopResourceFeedbackCreate
The ResourceFeedback object lets your app report the status of shops and their resources. For example, if your app is a marketplace channel, then you can use resource feedback to alert merchants that they need to…
Use it in a workflow
- Add a step and choose the Shopify connector.
- Pick the shopResourceFeedbackCreate action (under Shop).
- Fill in the fields below, then reference the result from later steps as
{{shopresourcefeedbackcreate.response.data}}.
Query
This is the mutation the action sends by default. Edit it in the step's Query field to change which fields come back.
mutation ShopResourceFeedbackCreate($input: ResourceFeedbackCreateInput!) {
shopResourceFeedbackCreate(input: $input) {
feedback {
app {
apiKey
appStoreAppUrl
appStoreDeveloperUrl
availableAccessScopes
banner
description
developerName
developerType
developerUrl
embedded
failedRequirements
features
feedback
handle
icon
id
installUrl
installation
isPostPurchaseAppInUse
launchUrl
navigationItems
optionalAccessScopes
previouslyInstalled
pricingDetails
pricingDetailsSummary
privacyPolicyUrl
publicCategory
published
requestedAccessScopes
screenshots
shopifyDeveloped
title
uninstallMessage
uninstallUrl
webhookApiVersion
}
channel {
accountId
accountName
activeRegions
app
handle
id
marketsCount
name
navigationItems
overviewPath
resourceFeedback
specificationHandle
supportsFuturePublishing
}
feedbackGeneratedAt
link {
label
url
}
messages {
field
message
}
state
}
userErrors {
code
field
message
}
}
}
Variables
Pass these as a JSON object in the step's Variables field.
{
"input": {
"feedbackGeneratedAt": "string",
"state": "ACCEPTED",
"messages": [
"string"
],
"channelId": "string"
}
}
Response
Read the result with {{shopresourcefeedbackcreate.response.data.data.shopResourceFeedbackCreate}}. If the API returns errors, the step fails and they are at {{shopresourcefeedbackcreate.response.data.errors}}.
Need more? See the Shopify guide for connection setup and behaviour shared by every action.
Was this page helpful?