Discount Resource Feedback
Requires 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.
Anchor to FieldsFields
- Anchor to discountIddiscount•ID!
Id non-null The ID of the discount associated with the feedback.
- Anchor to discountUpdatedAtdiscount•Date
Updated At Time! non-null The timestamp of the discount associated with the feedback.
- Anchor to feedbackGeneratedAtfeedback•Date
Generated At Time! non-null The time when the feedback was generated. Used to help determine whether incoming feedback is outdated compared to existing feedback.
- Anchor to messagesmessages•[String!]!non-null
The feedback messages presented to the merchant.
- Anchor to statestate•Resource
Feedback State! non-null Conveys the state of the feedback and whether it requires merchant action or not.
Anchor to QueriesQueries
- •query
Returns the discount resource feedback for the currently authenticated app.
Anchor to MutationsMutations
- •mutation
Creates resource feedback for multiple discounts.