--- title: DiscountResourceFeedback - GraphQL Admin description: |- Reports the status of discount for a Sales Channel or Storefront API. This might include why a discount is not available in a Sales Channel and how a merchant might fix this. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/DiscountResourceFeedback md: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/DiscountResourceFeedback.md --- # Discount​Resource​Feedback object Requires `read_resource_feedbacks` access scope. Also: App must be configured to use the Storefront API or as a Sales Channel. Reports the status of discount for a Sales Channel or Storefront API. This might include why a discount is not available in a Sales Channel and how a merchant might fix this. ## Fields * discount​Id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) non-null The ID of the discount associated with the feedback. * discount​Updated​At [Date​Time!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/DateTime) non-null The timestamp of the discount associated with the feedback. * feedback​Generated​At [Date​Time!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/DateTime) non-null The time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback. * messages [\[String!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) non-null The feedback messages presented to the merchant. * state [Resource​Feedback​State!](https://shopify.dev/docs/api/admin-graphql/unstable/enums/ResourceFeedbackState) non-null Conveys the state of the feedback and whether it requires merchant action or not. *** ## Map No referencing types *** ## Queries * [discount​Resource​Feedback](https://shopify.dev/docs/api/admin-graphql/unstable/queries/discountResourceFeedback) query Returns the discount resource feedback for the currently authenticated app. * id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) required ### Arguments The discount associated with the resource feedback. *** *** ## \DiscountResourceFeedback Queries ### Queried by * \[discount​Resource​Feedback](https://shopify.dev/docs/api/admin-graphql/unstable/queries/discountResourceFeedback) *** ## Mutations * [bulk​Discount​Resource​Feedback​Create](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/bulkDiscountResourceFeedbackCreate) mutation Creates resource feedback for multiple discounts. * feedback​Input [\[Discount​Resource​Feedback​Input!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DiscountResourceFeedbackInput) required ### Arguments An array of inputs to create the feedback. Limited to 50. *** *** ## <\~> DiscountResourceFeedback Mutations ### Mutated by * <\~>[bulk​Discount​Resource​Feedback​Create](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/bulkDiscountResourceFeedbackCreate)