---
title: "POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/fetchAllSubscriptionsInTenant"
method: POST
path: "/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/fetchAllSubscriptionsInTenant"
tags: ["PrivateStores"]
---

# POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/fetchAllSubscriptionsInTenant

`POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/fetchAllSubscriptionsInTenant`

Fetch all subscriptions in tenant, only for marketplace admin

## Path parameters

- `privateStoreId` string, required

## Headers

- `next-page-token` string

## Response `200`

OK. The request has succeeded.

- SubscriptionsResponse — Subscription list operation response.
  - `value` Subscription[] — An array of subscriptions.
    - `id` string — The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.
    - `subscriptionId` string — The subscription ID.
    - `displayName` string — The subscription display name.
    - `state` 'Enabled' | 'Warned' | 'PastDue' | 'Disabled' | 'Deleted' — The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.
  - `skipToken` string — The skip token to retrieve the next page.
  - `count` integer — Number of subscriptions on the page

## Other responses

- `default` — Microsoft.Marketplace error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/marketplace-microsoft-marketplace-marketplace.md) · [All operations](https://skmtc.net/azure/apis/marketplace-microsoft-marketplace-marketplace/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/marketplace-microsoft-marketplace-marketplace/revisions/37c9205efbf0/schema)
