--- title: Product ResourceFeedback description: >- Product resource feedback allows you to communicate the state of a shop's individual products, as it pertains to your application. api_version: 2025-07 api_name: admin-rest api_type: rest source_url: html: >- https://shopify.dev/docs/api/admin-rest/2025-07/resources/product-resourcefeedback md: >- https://shopify.dev/docs/api/admin-rest/2025-07/resources/product-resourcefeedback.md --- ![](https://shopify.dev/images/logos/GraphQL.svg)![](https://shopify.dev/images/logos/GraphQL-dark.svg) The REST Admin API is a legacy API as of October 1, 2024. Starting April 1, 2025, all new public apps must be built exclusively with the [GraphQL Admin API](https://shopify.dev/docs/api/admin-graphql). For details and migration steps, visit our [migration guide](https://shopify.dev/docs/apps/build/graphql/migrate). # Product Resource​Feedback Requires `resource_feedbacks` access scope. Important Product ResourceFeedback is only for use with the [Sales Channel SDK](https://shopify.dev/concepts/channels). The Product ResourceFeedback API allows you to communicate the state of a shop's individual products, as it pertains to your application, by sending product feedback within the Shopify admin. Once created, product resource feedback is used help merchants get your app setup on their store by addressing missing steps or fixing problems. ## Send product feedback You can send feedback on a product to let merchants know what steps they need to take to make sure your app is set up correctly. Feedback can have one of two states: `requires_action` or `success`. You will need to send a `requires_action` feedback request for each step that the merchant is required to complete. If there are multiple setup steps requiring merchant action, send feedback with a state of `requires_action` as merchants complete prior steps. Send a success feedback request to remove the feedback message from Shopify admin. Important Sending feedback replaces previously sent feedback for the Shop. Unlike REST-style APIs, you don't need to make a PATCH or PUT request to update any previously sent feedback. Send a new POST request to push the latest state of a shop or its resources to Shopify. ### Formatting the resource feedback message field If your state is `requires_action` you can send up to ten string messages, which communicate the action to be taken by the merchant. Each string must be a single message up to 100 characters long, must start with a capital letter (but not use all caps), and must end with a period. You must adhere to the message formatting rules or your requests will fail: **Examples:** * `Needs at least one image.` * `Needs to be a shippable product.` Merchants viewing individual products will see your app's messages as a bulleted list of errors. Other user interfaces in Shopify admin will report statistics like the number of errors your app has reported. Once the merchant has made a single or a series of updates to validate the product, your app can send a status of`success`. \# ## Endpoints * [post](https://shopify.dev/docs/api/admin-rest/2025-07/resources/product-resourcefeedback.md#post-products-product-id-resource-feedback) [/admin/api/2025-07/products/{product\_​id}/resource\_​feedback.​json](https://shopify.dev/docs/api/admin-rest/2025-07/resources/product-resourcefeedback.md#post-products-product-id-resource-feedback) Create a new Product ResourceFeedback [![](https://shopify.dev/images/logos/GraphQL.svg)![](https://shopify.dev/images/logos/GraphQL-dark.svg)](https://shopify.dev/docs/api/admin-graphql/latest/mutations/bulkProductResourceFeedbackCreate?example=create-a-new-product-resourcefeedback) [bulkProductResourceFeedbackCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/bulkProductResourceFeedbackCreate?example=create-a-new-product-resourcefeedback) * [get](https://shopify.dev/docs/api/admin-rest/2025-07/resources/product-resourcefeedback.md#get-products-product-id-resource-feedback) [/admin/api/2025-07/products/{product\_​id}/resource\_​feedback.​json](https://shopify.dev/docs/api/admin-rest/2025-07/resources/product-resourcefeedback.md#get-products-product-id-resource-feedback) Receive a list of all Product ResourceFeedbacks [![](https://shopify.dev/images/logos/GraphQL.svg)![](https://shopify.dev/images/logos/GraphQL-dark.svg)](https://shopify.dev/docs/api/admin-graphql/latest/queries/productResourceFeedback?example=receive-a-list-of-all-product-resourcefeedbacks) [productResourceFeedback](https://shopify.dev/docs/api/admin-graphql/latest/queries/productResourceFeedback?example=receive-a-list-of-all-product-resourcefeedbacks) *** ## The Product ResourceFeedback resource ### Properties *** created\_at deprecated DateTime when the resource feedback record was stored by Shopify. **Type:** ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. *** updated\_at deprecated DateTime when the resource feedback record was last updated by Shopify. **Type:** ISO 8601 UTC DateTime as string with year, month (or week), day, hour, minute, second, time zone. *** resource\_id read-only -> [![](https://shopify.dev/images/logos/GraphQL.svg)![](https://shopify.dev/images/logos/GraphQL-dark.svg)](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.productId) [productId](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.productId) Unique id of the resource. *** resource\_type read-only -> [![](https://shopify.dev/images/logos/GraphQL.svg)![](https://shopify.dev/images/logos/GraphQL-dark.svg)](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.productId) [productId](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.productId) Type of resource for which feedback is returned. eg. Shop, Product. *** state -> [![](https://shopify.dev/images/logos/GraphQL.svg)![](https://shopify.dev/images/logos/GraphQL-dark.svg)](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.state) [state](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.state) Indicates the state that the Shop or resource is in, from the perspective of your app. *** messages -> [![](https://shopify.dev/images/logos/GraphQL.svg)![](https://shopify.dev/images/logos/GraphQL-dark.svg)](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.messages) [messages](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.messages) A concise set of copy strings to be displayed to merchants, to guide them in resolving problems your app encounters when trying to make use of their Shop and its resources. Required only when state is `requires_action`. Disallowed when state is `success`. **Content restrictions for product feedback:** ten messages up to 100 characters long. *** feedback\_generated\_at -> [![](https://shopify.dev/images/logos/GraphQL.svg)![](https://shopify.dev/images/logos/GraphQL-dark.svg)](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.feedbackGeneratedAt) [feedbackGeneratedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.feedbackGeneratedAt) The time at which the payload is constructed. Used to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival. **Type:** ISO 8601 UTC DateTime as string with year, month \[or week], day, hour, minute, second, millisecond, and time zone. Note If you queue a Feedback API payload for delivery at a later time, do not update this value when the API call is actually made; ensure that the current time is set when building the payload. *** resource\_updated\_at -> [![](https://shopify.dev/images/logos/GraphQL.svg)![](https://shopify.dev/images/logos/GraphQL-dark.svg)](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.productUpdatedAt) [productUpdatedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductResourceFeedback#field-ProductResourceFeedback.fields.productUpdatedAt) The forwarded `updated_at` timestamp of the product. Used only for versioned resources, where the `updated_at` timestamp changes based on merchant actions. When required, it is used along with `feedback_generated_at` to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival. *** {} ## The Product ResourceFeedback resource ```json { "created_at": "2025-04-01 19:23:11 UTC", "updated_at": "2025-04-01 19:23:11 UTC", "resource_id": 321, "resource_type": "Product", "state": "requires_action", "messages": [ "Needs at least one image." ], "feedback_generated_at": "2025-04-01T19:23:11.384127Z", "resource_updated_at": "2025-04-01 19:23:11 UTC" } ``` *** ## postCreate a new Product Resource​Feedback [![](https://shopify.dev/images/logos/GraphQL.svg)![](https://shopify.dev/images/logos/GraphQL-dark.svg)](https://shopify.dev/docs/api/admin-graphql/latest/mutations/bulkProductResourceFeedbackCreate?example=create-a-new-product-resourcefeedback) [bulkProductResourceFeedbackCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/bulkProductResourceFeedbackCreate?example=create-a-new-product-resourcefeedback) Create product feedback. ### Parameters *** api\_version string required *** feedback\_generated\_at required An ISO 8601 date and time indicating when the feedback was generated by your app. *** messages required An array containing up to ten messages. *** product\_id string required *** resource\_updated\_at required The forwarded `updated_at` timestamp of the product. *** state required Must be one of the following values: Show state properties * **requires\_action**: Indicates that your app requires the merchant to resolve an issue with this product. * **success**: Indicates that the app does not have any outstanding issues with this product. *** ### Examples Create a product feedback record indicating a problem specific to your app Path parameters product\_​id=​632910392 string required Create a product feedback record indicating the product is usable by your app Path parameters product\_​id=​632910392 string required If the app is not configured as a Sales Channel, the API returns an error Path parameters product\_​id=​632910392 string required Sending an invalid feedback payload returns an error Path parameters product\_​id=​632910392 string required Sending outdated feedback (previous feedback payload has a greater resource\_updated\_at value) returns an error Path parameters product\_​id=​632910392 string required post ## /admin/api/2025-07/products/632910392/resource\_​feedback.​json ```bash curl -d '{"resource_feedback":{"state":"requires_action","messages":["Needs at least one image."],"resource_updated_at":"2025-04-01T15:44:57-04:00","feedback_generated_at":"2025-04-01T19:48:56.427228Z"}}' \ -X POST "https://your-development-store.myshopify.com/admin/api/2025-07/products/632910392/resource_feedback.json" \ -H "X-Shopify-Access-Token: {access_token}" \ -H "Content-Type: application/json" ``` {} ## Response JSON ```json HTTP/1.1 202 Accepted { "resource_feedback": { "created_at": "2025-04-01T15:48:56-04:00", "updated_at": "2025-04-01T15:48:56-04:00", "resource_id": 632910392, "resource_type": "Product", "resource_updated_at": "2025-04-01T15:44:57-04:00", "messages": [ "Needs at least one image." ], "feedback_generated_at": "2025-04-01T15:48:56-04:00", "state": "requires_action" } } ``` ### examples * #### Create a product feedback record indicating a problem specific to your app ##### ```curl curl -d '{"resource_feedback":{"state":"requires_action","messages":["Needs at least one image."],"resource_updated_at":"2025-04-01T15:44:57-04:00","feedback_generated_at":"2025-04-01T19:48:56.427228Z"}}' \ -X POST "https://your-development-store.myshopify.com/admin/api/2025-07/products/632910392/resource_feedback.json" \ -H "X-Shopify-Access-Token: {access_token}" \ -H "Content-Type: application/json" ``` ##### ```remix const { admin, session } = await authenticate.admin(request); const product_resource_feedback = new admin.rest.resources.ProductResourceFeedback({session: session}); product_resource_feedback.product_id = 632910392; product_resource_feedback.state = "requires_action"; product_resource_feedback.messages = [ "Needs at least one image." ]; product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00"; product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:56.427228Z"; await product_resource_feedback.save({ update: true, }); ``` ##### ```ruby # Session is activated via Authentication test_session = ShopifyAPI::Context.active_session product_resource_feedback = ShopifyAPI::ProductResourceFeedback.new(session: test_session) product_resource_feedback.product_id = 632910392 product_resource_feedback.state = "requires_action" product_resource_feedback.messages = [ "Needs at least one image." ] product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00" product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:56.427228Z" product_resource_feedback.save! ``` ##### ```node // Session is built by the OAuth process const product_resource_feedback = new shopify.rest.ProductResourceFeedback({session: session}); product_resource_feedback.product_id = 632910392; product_resource_feedback.state = "requires_action"; product_resource_feedback.messages = [ "Needs at least one image." ]; product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00"; product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:56.427228Z"; await product_resource_feedback.save({ update: true, }); ``` #### response ```json HTTP/1.1 202 Accepted{"resource_feedback":{"created_at":"2025-04-01T15:48:56-04:00","updated_at":"2025-04-01T15:48:56-04:00","resource_id":632910392,"resource_type":"Product","resource_updated_at":"2025-04-01T15:44:57-04:00","messages":["Needs at least one image."],"feedback_generated_at":"2025-04-01T15:48:56-04:00","state":"requires_action"}} ``` * #### Create a product feedback record indicating the product is usable by your app ##### ```curl curl -d '{"resource_feedback":{"state":"success","resource_updated_at":"2025-04-01T15:44:57-04:00","feedback_generated_at":"2025-04-01T19:48:55.213370Z"}}' \ -X POST "https://your-development-store.myshopify.com/admin/api/2025-07/products/632910392/resource_feedback.json" \ -H "X-Shopify-Access-Token: {access_token}" \ -H "Content-Type: application/json" ``` ##### ```remix const { admin, session } = await authenticate.admin(request); const product_resource_feedback = new admin.rest.resources.ProductResourceFeedback({session: session}); product_resource_feedback.product_id = 632910392; product_resource_feedback.state = "success"; product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00"; product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:55.213370Z"; await product_resource_feedback.save({ update: true, }); ``` ##### ```ruby # Session is activated via Authentication test_session = ShopifyAPI::Context.active_session product_resource_feedback = ShopifyAPI::ProductResourceFeedback.new(session: test_session) product_resource_feedback.product_id = 632910392 product_resource_feedback.state = "success" product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00" product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:55.213370Z" product_resource_feedback.save! ``` ##### ```node // Session is built by the OAuth process const product_resource_feedback = new shopify.rest.ProductResourceFeedback({session: session}); product_resource_feedback.product_id = 632910392; product_resource_feedback.state = "success"; product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00"; product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:55.213370Z"; await product_resource_feedback.save({ update: true, }); ``` #### response ```json HTTP/1.1 202 Accepted{"resource_feedback":{"created_at":"2025-04-01T15:48:55-04:00","updated_at":"2025-04-01T15:48:55-04:00","resource_id":632910392,"resource_type":"Product","resource_updated_at":"2025-04-01T15:44:57-04:00","messages":[],"feedback_generated_at":"2025-04-01T15:48:55-04:00","state":"success"}} ``` * #### If the app is not configured as a Sales Channel, the API returns an error ##### ```curl curl -d '{"resource_feedback":{"state":"success","resource_updated_at":"2025-04-01T15:44:57-04:00","feedback_generated_at":"2025-04-01T19:48:57.213639Z"}}' \ -X POST "https://your-development-store.myshopify.com/admin/api/2025-07/products/632910392/resource_feedback.json" \ -H "X-Shopify-Access-Token: {access_token}" \ -H "Content-Type: application/json" ``` ##### ```remix const { admin, session } = await authenticate.admin(request); const product_resource_feedback = new admin.rest.resources.ProductResourceFeedback({session: session}); product_resource_feedback.product_id = 632910392; product_resource_feedback.state = "success"; product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00"; product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:57.213639Z"; await product_resource_feedback.save({ update: true, }); ``` ##### ```ruby # Session is activated via Authentication test_session = ShopifyAPI::Context.active_session product_resource_feedback = ShopifyAPI::ProductResourceFeedback.new(session: test_session) product_resource_feedback.product_id = 632910392 product_resource_feedback.state = "success" product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00" product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:57.213639Z" product_resource_feedback.save! ``` ##### ```node // Session is built by the OAuth process const product_resource_feedback = new shopify.rest.ProductResourceFeedback({session: session}); product_resource_feedback.product_id = 632910392; product_resource_feedback.state = "success"; product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00"; product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:57.213639Z"; await product_resource_feedback.save({ update: true, }); ``` #### response ```json HTTP/1.1 403 Forbidden{"errors":{"message":"App must be configured as a Sales Channel."}} ``` * #### Sending an invalid feedback payload returns an error ##### ```curl curl -d '{"resource_feedback":{"state":"foobar","resource_updated_at":"2025-04-01T15:44:57-04:00","feedback_generated_at":"2025-04-01T19:48:55.832741Z"}}' \ -X POST "https://your-development-store.myshopify.com/admin/api/2025-07/products/632910392/resource_feedback.json" \ -H "X-Shopify-Access-Token: {access_token}" \ -H "Content-Type: application/json" ``` ##### ```remix const { admin, session } = await authenticate.admin(request); const product_resource_feedback = new admin.rest.resources.ProductResourceFeedback({session: session}); product_resource_feedback.product_id = 632910392; product_resource_feedback.state = "foobar"; product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00"; product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:55.832741Z"; await product_resource_feedback.save({ update: true, }); ``` ##### ```ruby # Session is activated via Authentication test_session = ShopifyAPI::Context.active_session product_resource_feedback = ShopifyAPI::ProductResourceFeedback.new(session: test_session) product_resource_feedback.product_id = 632910392 product_resource_feedback.state = "foobar" product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00" product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:55.832741Z" product_resource_feedback.save! ``` ##### ```node // Session is built by the OAuth process const product_resource_feedback = new shopify.rest.ProductResourceFeedback({session: session}); product_resource_feedback.product_id = 632910392; product_resource_feedback.state = "foobar"; product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00"; product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:55.832741Z"; await product_resource_feedback.save({ update: true, }); ``` #### response ```json HTTP/1.1 422 Unprocessable Entity{"errors":{"messages":["State must be one of success and requires_action"]}} ``` * #### Sending outdated feedback (previous feedback payload has a greater resource\_updated\_at value) returns an error ##### ```curl curl -d '{"resource_feedback":{"state":"success","resource_updated_at":"2025-04-01T15:44:57-04:00","feedback_generated_at":"2025-04-01T19:48:53.978116Z"}}' \ -X POST "https://your-development-store.myshopify.com/admin/api/2025-07/products/632910392/resource_feedback.json" \ -H "X-Shopify-Access-Token: {access_token}" \ -H "Content-Type: application/json" ``` ##### ```remix const { admin, session } = await authenticate.admin(request); const product_resource_feedback = new admin.rest.resources.ProductResourceFeedback({session: session}); product_resource_feedback.product_id = 632910392; product_resource_feedback.state = "success"; product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00"; product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:53.978116Z"; await product_resource_feedback.save({ update: true, }); ``` ##### ```ruby # Session is activated via Authentication test_session = ShopifyAPI::Context.active_session product_resource_feedback = ShopifyAPI::ProductResourceFeedback.new(session: test_session) product_resource_feedback.product_id = 632910392 product_resource_feedback.state = "success" product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00" product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:53.978116Z" product_resource_feedback.save! ``` ##### ```node // Session is built by the OAuth process const product_resource_feedback = new shopify.rest.ProductResourceFeedback({session: session}); product_resource_feedback.product_id = 632910392; product_resource_feedback.state = "success"; product_resource_feedback.resource_updated_at = "2025-04-01T15:44:57-04:00"; product_resource_feedback.feedback_generated_at = "2025-04-01T19:48:53.978116Z"; await product_resource_feedback.save({ update: true, }); ``` #### response ```json HTTP/1.1 409 Conflict{"errors":{"messages":["Feedback request not delivered. Feedback request is older than a previously delivered feedback request."]}} ``` *** ## getReceive a list of all Product Resource​Feedbacks [![](https://shopify.dev/images/logos/GraphQL.svg)![](https://shopify.dev/images/logos/GraphQL-dark.svg)](https://shopify.dev/docs/api/admin-graphql/latest/queries/productResourceFeedback?example=receive-a-list-of-all-product-resourcefeedbacks) [productResourceFeedback](https://shopify.dev/docs/api/admin-graphql/latest/queries/productResourceFeedback?example=receive-a-list-of-all-product-resourcefeedbacks) Retrieve all product feedback from your app associated with the product. ### Parameters *** api\_version string required *** product\_id string required *** product\_id Retrieve feedback for a specific product, by product id. *** ### Examples Get a list of resource feedback records for a specific product get ## /admin/api/2025-07/products/632910392/resource\_​feedback.​json ```bash curl -X GET "https://your-development-store.myshopify.com/admin/api/2025-07/products/632910392/resource_feedback.json" \ -H "X-Shopify-Access-Token: {access_token}" ``` {} ## Response JSON ```json HTTP/1.1 200 OK { "resource_feedback": [ { "created_at": "2025-04-01T15:48:54-04:00", "updated_at": "2025-04-01T15:48:54-04:00", "resource_id": 632910392, "resource_type": "Product", "resource_updated_at": "2025-04-01T15:44:57-04:00", "messages": [ "Needs at least one image." ], "feedback_generated_at": "2025-04-01T14:48:54-04:00", "state": "requires_action" } ] } ``` ### examples * #### Get a list of resource feedback records for a specific product ##### ```curl curl -X GET "https://your-development-store.myshopify.com/admin/api/2025-07/products/632910392/resource_feedback.json" \ -H "X-Shopify-Access-Token: {access_token}" ``` ##### ```remix await admin.rest.resources.ProductResourceFeedback.all({ session: session, product_id: 632910392, }); ``` ##### ```ruby # Session is activated via Authentication test_session = ShopifyAPI::Context.active_session ShopifyAPI::ProductResourceFeedback.all( session: test_session, product_id: 632910392, ) ``` ##### ```node // Session is built by the OAuth process await shopify.rest.ProductResourceFeedback.all({ session: session, product_id: 632910392, }); ``` #### response ```json HTTP/1.1 200 OK{"resource_feedback":[{"created_at":"2025-04-01T15:48:54-04:00","updated_at":"2025-04-01T15:48:54-04:00","resource_id":632910392,"resource_type":"Product","resource_updated_at":"2025-04-01T15:44:57-04:00","messages":["Needs at least one image."],"feedback_generated_at":"2025-04-01T14:48:54-04:00","state":"requires_action"}]} ```