> For the complete documentation index, see [llms.txt](https://help.smartrr.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smartrr.com/docs/support/subscription-setup/subscriptions-when-an-item-is-unavailable.md).

# Subscriptions when an item is unavailable

Sometimes, products in your Shopify store are deleted, drafted or archived.

## Deleted & Archived Products

In the case when a product or variant is deleted or archived, any customer subscriptions containing these items will be automatically paused to prevent missing items from subscription deliveries or unexpected transaction errors during billing.&#x20;

From the customer's account, a banner will appear in these instances, guiding customers on necessary actions to resume their subscription. Whether it's **swapping** or **removing** the affected item, these changes aim to ensure a seamless experience for customers when needing to make adjustments to their subscriptions.

<figure><img src="https://3658670565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FndNAuxS4koYyI8AQTpS9%2Fuploads%2Fc81nCrT8GeMRdgwxw4Io%2Fswap.gif?alt=media&amp;token=cceadbd8-5349-44af-a0a9-a84585b249fd" alt="Banner displayed in the subscription portal, prompting the customer to swap the unavailable product from their subscription."><figcaption></figcaption></figure>

Customers will also receive an email notification informing them that their subscription has been paused. You can edit the contents of this email in your admin portal under **Customer Notifications > Subscription Paused.**

Customers will receive an email notification informing them of the update to their subscription. They'll also receive a corresponding “Item out of stock” email notification under **Customer Notifications > Item out of stock or deleted.**

<figure><img src="https://3658670565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FndNAuxS4koYyI8AQTpS9%2Fuploads%2FTUHHGgESAoeb4fK6tDA8%2FScreenshot%202024-04-07%20at%2010.02.27%E2%80%AFPM.png?alt=media&amp;token=05c5e6b6-c83c-40a3-b20d-33a178500852" alt="Enable the &#x22;Item out of stock or deleted&#x22; email notification to update your customers when a product in their subscription has gone out of stock."><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.smartrr.com/docs/support/subscription-setup/subscriptions-when-an-item-is-unavailable.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
