> For the complete documentation index, see [llms.txt](https://script-and-theory.gitbook.io/all-in-one-commerce-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://script-and-theory.gitbook.io/all-in-one-commerce-docs/subscription.md).

# Subscription

The Subscription module allows merchants to offer products as part of a recurring purchase plan, including Subscribe & Save and Prepaid Subscriptions. With this feature, customers can subscribe to products at a discounted rate, ensuring convenience while boosting store revenue. Additionally, a Customer Portal is available on the store's frontend, enabling customers to manage their subscriptions effortlessly. Through this portal, they can view their active subscriptions, update preferences, and modify subscription statuses such as canceling or renewing their plans, providing a seamless and flexible subscription experience.

**How to Use the Subscription Module**

* To begin using the Subscription module, you first need to ensure that the module is enabled. Once enabled, you’ll have access to all the features and functionalities of the Subscription module.
*

```
<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXekJSOjqP2C4RPWv0L5PrYRtwLqff6rWBw96tXJdT7WzOan3RstIBRKEcyc_DJaUdQ-IGT6WL5E9cD1RyaR73NZZT6AsqVMHD7gRxJgMM6o6USzies3gsvavxUayl43AG10g2g?key=PWWdpJ3Y_qEUOcs-2MfQnVdS" alt=""><figcaption></figcaption></figure>
```

Let’s explore each functionality in details:


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://script-and-theory.gitbook.io/all-in-one-commerce-docs/subscription.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
