> ## Documentation Index
> Fetch the complete documentation index at: https://juo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Subscription resource

> Subscription represents a contract between a business and a customer.

The `Subscription` object stores information and rules defining the contract between a business and a customer. It is created when a customer purchases a subscription-based product.

### Search query fields

| Field | Description | Type |
| - | - | - |
| id | The subscription identifier | string |
| serial | The incremental subscription number | string |
| status | The subscription status | string |
| createdAt | The date subscription was created | date |
| updatedAt | The last date the subscription was updated | date |
| nextBillingDate | The upcoming next billing date | date |
| canceledAt | The date subscription was cancelled | date |

### Reference


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.