Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

cart API and subscriptions

Solved

cart API and subscriptions

greg12
Shopify Partner
38 1 14

Hi all, 

As we all know https://shopify.dev/api/ajax/reference/cart we can easy add product to cart by specifying variantId and quantity. But it is not documented how one can add subscription created using sellingPlan API to the cart. Any idea where to look for related docs? Or for some reason this is not allowed? 

Accepted Solution (1)

greg12
Shopify Partner
38 1 14

This is an accepted solution.

My bad, it is there. I ws searching for bad phrase "subscription" while I should "selling_plan" 

View solution in original post

Reply 1 (1)

greg12
Shopify Partner
38 1 14

This is an accepted solution.

My bad, it is there. I ws searching for bad phrase "subscription" while I should "selling_plan"