How to Specify the SellingPlan with the createCheckout mutation?

3 0 0

We are experimenting with Subscriptions.

We have a little app that creates checkouts using the createCheckout mutation which uses createCheckoutInput as a parameter

I Installed Recharge in a test store, marked one of my variants as a Subscription object, but I haven't been able to create the checkout link. The LineItem contract is missing a SellingPlan attribute.

Is this a problem of the documentation? or is it not possible to use this endpoint to add Subscriptions? (I've tried passing it as the customAttributes param... maybe I'm missing the right format there)

If it's not possible at the moment, what are the alternatives? (Using GraphQL, maybe there's another endpoint?)