I had completely forgotten about it. From looking at the latest docs, it looks like 13 months later nothing has changed. I may be wrong.
I did my best to lay out what I need in the original question, if anything is unclear I can go into more detail. Rephrasing it:
I have an application that uses the storefront API.
I would like something that looks like a cart to users.
Add products, checkout, the usual cart stuff
It needs to be able to apply gift cards.
I would like to be able to add subscription products, like a yearly recurring membership.
Currently I use Checkouts. I create a Checkout for each user to act as a cart. They add products, apply gift cards, discount codes, etc. It works well. However, I don’t think there is a way to add subscription products to a Checkout.
The alternative would be to use Carts. They can add subscription products. However, I think there is no way to apply gift cards to a Cart. I’m not sure what other limitations there would be.
If Carts had all the mutations/features of Checkouts (applying gift cards and more), I could use them.
Or, if Checkouts line items accepted a subscription product (through seller id or whatever method makes that work) I could use them.
But as is now, I don’t seem to be able to use either for this purpose.
Thanks for confirming your question still applies, I will do my best to answer it now.
There’s no plan to introduce Selling Plans in the Checkout API. In general, it’s recommended to add subscription products via the Cart API, and redirect the customer to the web checkout where they will be able to apply their gift cards. Hope this helps.
How to add a giftcard code to a Storefront API Cart so its included in the checkout.
Tried providing the giftcard code as a discount code in the cartDiscountCodesUpdate mutation: This adds the code to the cart but does not appear to affect the checkout and no discount/giftcard is added to the checkout.