# Subscription history

The object below is returned directly or within a successful response from the following API request:

<a href="/pages/68dd7c724fe47ca2477bb424eeb98c7f8a202948" class="button primary" data-icon="folder-check">Retrieve subscription history</a>

## Subscription history object

<table><thead><tr><th width="214">Parameter</th><th>Type / Description</th></tr></thead><tbody><tr><td><code>ReferenceNo</code></td><td><strong>String</strong><br>Unique, system-generated order reference number.</td></tr><tr><td><code>Type</code></td><td><p><strong>String</strong></p><p>Purchase type:</p><ul><li>SALE</li><li>RENEWAL</li><li>UPGRADE</li></ul></td></tr><tr><td><code>SubscriptionReference</code></td><td><strong>String</strong><br>Unique, system-generated subscription reference.</td></tr><tr><td><code>StartDate</code></td><td><strong>String</strong><br>Subscription start date (YYYY-MM-DD) - <code>StartDate</code> is mandatory when importing subscription data. If you changed the time zone for the 2Checkout API by editing system settings under Account settings, then the <code>StartDate</code> you provide must be in accordance with your custom configuration.</td></tr><tr><td><code>ExpirationDate</code></td><td><strong>String</strong><br>Subscription expiration date(YYYY-MM-DD) - <code>ExpirationDate</code> is mandatory when importing subscription data. If you changed the time zone for the 2Checkout API by editing system settings under Account settings, then the <code>ExpirationDate</code> you provide must be in accordance with your custom configuration.</td></tr><tr><td><code>Lifetime</code></td><td><p><strong>Boolean</strong><br>Possible values:</p><ul><li>True – the subscription is evergreen</li><li>False – the subscription has a recurring billing cycle less than or equal to three years.</li></ul></td></tr><tr><td><code>SKU</code></td><td><strong>String</strong><br>Stock keeping unit you defined.</td></tr><tr><td><code>DeliveryInfo</code></td><td><strong>Object</strong><br>Object with information about the delivery made to the customer - structure described below</td></tr><tr><td><code>PartnerCode</code></td><td><p><strong>String</strong></p><p>Possible values:</p><ul><li>Empty = ecommerce order</li><li>Partner Code</li></ul></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.2checkout.com/soap-api-reference/soap-api-6.0/api-responses/subscription-history.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.
