Anchor to section titled 'undefined'

productResourceFeedback
query

Requires read_resource_feedbacks access scope. Also: App must be configured to use the Storefront API or as a Sales Channel.

Returns the product resource feedback for the currently authenticated app.


Anchor to id
id
required

The product associated with the resource feedback.


Was this section helpful?

Anchor to ProductResourceFeedback
ProductResourceFeedback
Access requirements

Reports the status of product for a Sales Channel or Storefront API. This might include why a product is not available in a Sales Channel and how a merchant might fix this.


Was this section helpful?

Examples

Hide code
Copy
query {
  productResourceFeedback(id: "gid://shopify/Product/1048875085") {
    feedbackGeneratedAt
    messages
    productId
    productUpdatedAt
    state
  }
}
Hide code
Response
JSON
{
  "productResourceFeedback": {
    "feedbackGeneratedAt": "2024-09-12T01:11:00Z",
    "messages": [
      "Needs an image."
    ],
    "productId": "gid://shopify/Product/1048875085",
    "productUpdatedAt": "2024-09-12T01:11:00Z",
    "state": "REQUIRES_ACTION"
  }
}