# State diagram

The following diagram shows the state (status) transition process of a subscription within the Marketplace Platform.

<figure><img src="/files/O071j77wkLVNuR1SagnR" alt=""><figcaption><p>The state transition diagram of a subscription.</p></figcaption></figure>

<table><thead><tr><th width="135">State</th><th>Definition</th></tr></thead><tbody><tr><td><strong>Draft</strong></td><td>The vendor has created the subscription, but the order has not been completed yet.</td></tr><tr><td><strong>Active</strong></td><td>The subscription is active and in use.</td></tr><tr><td><strong>Updating</strong></td><td>A business transaction is in progress for the subscription. This status applies to change orders submitted for the subscription.</td></tr><tr><td><strong>Terminating</strong></td><td>A termination order has been created for the subscription.</td></tr><tr><td><strong>Terminated</strong></td><td>The vendor has completed the termination order, and the subscription is now terminated.</td></tr><tr><td><strong>Deleted</strong></td><td>The draft subscription has been deleted by the vendor.</td></tr></tbody></table>


---

# Agent Instructions: 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:

```
GET https://docs.platform.softwareone.com/developer-resources/rest-api/commerce-api/subscriptions/subscription-states.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
