How to implement Subscriptions using Storefront APIs

harishvitta
Shopify Partner
1 0 0

I used Storefront APIs and developed a mobile application to sell our products in a Native Mobile Application.

 

I have used checkout flow to add products, discounts, user information, and shipping address to complete the checkout either web checkout or Apple Pay.

 

We want to sell subscriptions also inside our mobile app. I see only one option to add a subscription using the cart object. Is there a way to get a checkout object using the cart object to do additional steps before completing the payment? 

 

I can only see checkoutUrl using the cart object and don't see an option to update the shipping address.

 

https://shopify.dev/api/storefront/2022-07/queries/cart

Replies 0 (0)