# Store

> A space that lists and sells one-time products (courses, tickets, materials), showing every active product or only the ones you choose, with the same access rules as other spaces.

The **Store** is a type of space that shows one-time products for sale: a course, a ticket, a set of materials, a gift. Whoever sees the store can buy what it shows.

> [!SOON]
> The store configuration already exists in the API (`/api/storefront/spaces/{spaceId}`), but the module doesn't appear in the app's **Create Space** window yet, and a Store space created through the API still opens as a Feed. Plans (subscriptions) are still sold on the pricing page, `/pricing`.

## What it's for

| Community | Store |
|---|---|
| Online school | **Standalone courses**: the courses you buy once |
| Association | **Tickets**: the conference and the workshops |
| Company HR | **Gifts**: the benefits store, for employees |
| SaaS | **Extensions**: only for plan subscribers |

## How it will work

### Two ways to set it up

| Mode | What the store shows |
|---|---|
| **All** | Every **active** one-time product in the community |
| **Selected** | Only the products you choose, in the order you set |

### Purchase rules

- The store follows **visibility** like any space: a subscribers' store only appears to subscribers.
- A one-time product can only be bought if it appears in a store the person can see, or if the product's **direct link** is turned on. Otherwise: *"This product is not available for purchase here. Look for it in the community store."*
- Plans (subscriptions) **don't** go in the store: they have the pricing page.

### Who can

Configure the store: **owner** and **admin**. Buy: whoever sees the store.

## Example

**Extensions for subscribers only.** An **Extensions** store with **Subscribers** visibility and **Selected** mode, with two products. Non-subscribers don't see the store, so they can't buy the extensions.

## In the API

`GET`/`PUT /api/storefront/spaces/{spaceId}` (`mode`: `all` or `selected`, and `productIds`) and `GET /api/storefront/spaces/{spaceId}/products`. See [Storefront](/api/referencia/storefront).

## Related

- [Products](/monetizacao/produtos)
- [Visibility and access](/conceitos/visibilidade-e-acesso)
