I don’t want to apply discounts to certain items, but the interface doesn’t allow me to do that.
Hi @Shota_Yamamoto,
Is it possible for you to change the discount settings to exclude the products that you don’t want to be discounted? You can go to Discounts
on the sidebar in Shopify admin. You can set the Applies to
field to suit your needs. This is available in Product discount
.
At this time, the orderCreate
mutation doesn’t support the ability to apply discounts to specific line items. Unfortunately, you’ll have to take the approach described in your other post.
Thanks, @Alex_Chinn!
We recently included a mention about the limitations related to applying discounts with the orderCreate mutation reference. Additionally, we’ve enhanced many of the descriptions on that page to share more context about how the mutation works and highlight other related mutations that you can use.