---
updatedAt: 2026-09-30T12:26:51.000Z
agentTools:
  projectIndex: https://docs.servertastic.com/llms.txt
---

# Expiring Orders

Use this call to obtain orders expiring within the next 90 days.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "servertastic-api",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://api.servertastic.com"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/v2/order/expiring.json": {
      "get": {
        "summary": "Expiring Orders",
        "description": "Use this call to obtain orders expiring within the next 90 days.",
        "operationId": "expiring-orders",
        "parameters": [
          {
            "name": "api_key",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "description": "Number of days prior to expiry. Minimum `1` maximum `90`. Default `60`",
            "schema": {
              "type": "string",
              "default": "60"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"success\": \"Expiring Orders\",\n  \"orders\": {\n    \"order\": [\n      {\n        \"reseller_order_id\": \"STR_99_99999999\",\n        \"reseller_unique_reference\": \"999999999\",\n        \"order_status\": \"Completed\",\n        \"order_date\": \"2020-09-30 13:54:48\",\n        \"domain_name\": \"example.com\",\n        \"order_points\": 0,\n        \"expiry_date\": \"2020-10-08 12:00:00\",\n        \"st_product_code\": \"QuickSSLPremium-12\",\n        \"order_token\": \"927686321ca99378330b61d0ffdd230d\"\n      },\n      {\n        \"reseller_order_id\": \"STR_99_11111111\",\n        \"reseller_unique_reference\": \"11111111\",\n        \"order_status\": \"Completed\",\n        \"order_date\": \"2020-09-30 13:54:48\",\n        \"domain_name\": \"*.example.com\",\n        \"order_points\": 0,\n        \"expiry_date\": \"2020-10-08 12:00:00\",\n        \"st_product_code\": \"RapidSSLWildcard-12\",\n        \"order_token\": \"73c9d65f22833746ed6fdc3890247fda\"\n      }\n    ]\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "string",
                      "example": "Expiring Orders"
                    },
                    "orders": {
                      "type": "object",
                      "properties": {
                        "order": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "reseller_order_id": {
                                "type": "string",
                                "example": "STR_99_99999999"
                              },
                              "reseller_unique_reference": {
                                "type": "string",
                                "example": "999999999"
                              },
                              "order_status": {
                                "type": "string",
                                "example": "Completed"
                              },
                              "order_date": {
                                "type": "string",
                                "example": "2020-09-30 13:54:48"
                              },
                              "domain_name": {
                                "type": "string",
                                "example": "example.com"
                              },
                              "order_points": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              },
                              "expiry_date": {
                                "type": "string",
                                "example": "2020-10-08 12:00:00"
                              },
                              "st_product_code": {
                                "type": "string",
                                "example": "QuickSSLPremium-12"
                              },
                              "order_token": {
                                "type": "string",
                                "example": "927686321ca99378330b61d0ffdd230d"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```

# Sibling pages

* [Generate Token](https://docs.servertastic.com/reference/generate-token.md)
* [Place Order](https://docs.servertastic.com/reference/place-order.md)
* [Product Fields](https://docs.servertastic.com/reference/product-fields.md)
* [Review](https://docs.servertastic.com/reference/order-review.md)
* [Cancel](https://docs.servertastic.com/reference/cancel.md)
* [Regenerate Token](https://docs.servertastic.com/reference/regenerate-token.md)
* [Change Auth Method](https://docs.servertastic.com/reference/change-auth-method.md)
* [Poll Auth](https://docs.servertastic.com/reference/poll-auth.md)
* [Show Tokens](https://docs.servertastic.com/reference/show-tokens.md)
* [Reissue Certificate](https://docs.servertastic.com/reference/reissue-certificate.md)
* [Resend Email](https://docs.servertastic.com/reference/resend-email.md)
* [Change Approver Email](https://docs.servertastic.com/reference/change-approver-email.md)
* [Approver List](https://docs.servertastic.com/reference/approver-list.md)
* [Check CSR](https://docs.servertastic.com/reference/check-csr.md)