While trying to reproduce an issue reported by a merchant, I noticed in the Shopify Functions error log that every line item in the cart had CartLine.sellingPlanAllocation set to null.
The Order Discount Functions API doesn’t have documentation about when it is supposed to be null.
When is CartLine.sellingPlanAllocation null?
If sellingPlanAllocation is null, what should we assume? Is the line item a one time purchase, or a subscription?
Thanks in advance.