WooCommerce allows e-commerce website owners to sell products and services with recurring payments. For this purpose, it offers the WooCommerce Subscriptions extension that provides two related items,  subscription products and subscriptions

The API2Cart API is integrated with the extension. It returns subscription data in the subscription_info field of the product.info  and  product.list  API methods. Below you can see an example response in the field:

              
              "subscription_info":[  
                {  
                    "subscription_price":500,
                    "subscription_period_interval":1,
                    "subscription_period":"month",
                    "subscription_period_length":0,
                    "sign_up_fee":0,
                    "trial_period":"day",
                    "trial_period_length":0,
                    "one_time_shipping":false,
                    "subscription_limit":"no"
                }
              ]