Subscriptions on Checkout line items, or gift card apply on Cart through Storefront API

Matt_Lein
Shopify Partner
3 0 2

Hello,

I have an application that has been happily using checkouts as carts on the Storefront API (carts did not exist at that time).

Now I would like to add subscription products, and I see that subscriptions are not supported on checkout line items https://shopify.dev/api/storefront/reference/checkouts/checkoutlineiteminput

I see that the new(ish) Carts do support selling plans, which I assume allow subscriptions https://shopify.dev/api/storefront/reference/cart/cartlineinput

However, carts have no mutation to apply gift cards like checkouts do, with https://shopify.dev/api/storefront/reference/checkouts/checkoutgiftcardapply

My store needs gift card application, and subscription products, but I don't see any way to do that in the storefront api.

Is this possible?

Replies 0 (0)