---
title: "GET /teams/{team_name}/subscription-orders/{subscription_order_id}"
method: GET
path: "/teams/{team_name}/subscription-orders/{subscription_order_id}"
tags: ["teams"]
---

# GET /teams/{team_name}/subscription-orders/{subscription_order_id}

`GET /teams/{team_name}/subscription-orders/{subscription_order_id}`

Get a subscription order for the team.

## Path parameters

- `team_name` string, required — The unique name for the team.
- `subscription_order_id` string, uuid, required — ID of the team subscription order

## Response `200`

Response

- TeamSubscriptionOrder — Team subscription order
  - `id` string, uuid, required — ID of the team subscription order
  - `team_name` string, required — The unique name for the team.
  - `plan` 'free' | 'paid' | 'enterprise' | 'trial', required — The plan the team is on (trial is deprecated)
  - `status` 'pending' | 'completed' | 'cancelled', required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `completed_at` string, date-time
  - `completion_url` string, uri — Stripe URL for completing purchase. Only shown in response to POST request when a paid plan is selected.

## Other responses

- `401` — Requires authentication
- `403` — Forbidden
- `404` — Resource not found
- `500` — Internal Error

---

[API](https://skmtc.dev/cloudquery/apis/cloudquery-openapi-spec.md) · [All operations](https://skmtc.dev/cloudquery/apis/cloudquery-openapi-spec/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudquery/cloudquery-openapi-spec/revisions/ef9782a3ed5e/schema)
