When creating a checkout via the Checkout API one can apply a discount to the order using the AppliedDiscount.
This allows the consumer of the API to add a custom discount.
However, this discount cannot be a “free shipping” discount.
How can we set a discount for the shipping line?
Note: I am aware that the DiscountCode field can be used to add an existing “free shipping” discount code.
However, we want to avoid using the discount code field for this purposes. There are a number of use cases where we cannot use the discount code field, so we’re looking for an alternative.