Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to DraftOrderDiscountNotAppliedWarning

DraftOrderDiscountNotAppliedWarning

object

Requires read_draft_orders access scope.

A warning indicating that a discount cannot be applied to a draft order.

•

The code of the discount that can't be applied.

•

The title of the discount that can't be applied.

•
String!non-null

The error code.

•
String!non-null

The input field that the warning applies to.

•
String!non-null

The warning message.

•

The price rule that can't be applied.


Was this section helpful?


Was this section helpful?