Hello,
I’m reaching out to you as I’m facing an issue when applying a discount of “shipping charges” type configured with a “Minimum Purchase Conditions” on a specific amount.
Currently, I’m attempting to apply this discount to a cart with an amount below the specified condition. To achieve this, I’m using the GraphQL mutation checkoutDiscountCodeApplyV2 as per the documentation available at the following link: link to documentation.
However, when executing this mutation on a checkout without any shippingLine, the discount is applied. When I fill a shipping line the API return the checkout with no discountApplications.
My question is: is it normal that the discount is applied even if the condition is not verify ?