cart API and subscriptions

Solved
greg12
Excursionist
37 1 11

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)

Accepted Solutions
greg12
Excursionist
37 1 11

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
Excursionist
37 1 11

This is an accepted solution.

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