# customer-subscription

> Subscription row template, cloned once per contract.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/elements/customer-subscription  
Updated: 2026-10-13

`customer-subscription` is a **template**, read by [`customer-subscriptions`](https://www.smootify.io/docs/reference/elements/customer-subscriptions), [`subscription-activate`](https://www.smootify.io/docs/reference/elements/subscription-activate), [`subscription-cancel`](https://www.smootify.io/docs/reference/elements/subscription-cancel), [`subscription-pause`](https://www.smootify.io/docs/reference/elements/subscription-pause): it is never defined on its own.

## Where it can go

- **Inside** [`customer-subscriptions`](https://www.smootify.io/docs/reference/elements/customer-subscriptions).
- **Out of place,** it stays in the page and does nothing.

## What it requires

Nothing beyond Smootify: it works on every plan.

## Attributes on the element

- **Smootify writes** `data-contract-id`, `data-status` on it: do not set them yourself.

## Attributes inside it

| Group | Attribute name | Values |
|---|---|---|
| [Subscription](https://www.smootify.io/docs/reference/attributes/subscription) | `subscription` | 17 |
