Skip to main content
Anchor to DiscountResourceFeedback

DiscountResourceFeedback

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.

•ID!non-null

The ID of the discount associated with the feedback.

•DateTime!non-null

The timestamp of the discount associated with the feedback.

•DateTime!non-null

The time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback.

•[String!]!non-null

The feedback messages presented to the merchant.

•ResourceFeedbackState!non-null

Conveys the state of the feedback and whether it requires merchant action or not.


Was this section helpful?

•query

Returns the discount resource feedback for the currently authenticated app.


Was this section helpful?

•mutation

Creates resource feedback for multiple discounts.

Arguments

•[DiscountResourceFeedbackInput!]!required

An array of inputs to create the feedback. Limited to 50.


Fields

•[DiscountResourceFeedback!]

The feedback that's created.

•[BulkDiscountResourceFeedbackCreateUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?