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

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

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

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/queryNotificationsState`
- Auth: none declared

Get private store notifications state

## Path parameters

- `privateStoreId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK

- PrivateStoreNotificationsState: Get private store notifications state
  - `stopSellNotifications` StopSellNotifications[]
    - `offerId` string: Gets offer id
    - `displayName` string: Gets offer display name
    - `isEntire` boolean: Gets a value indicating whether entire offer is in stop sell or only few of its plans
    - `messageCode` integer: Gets or sets the notification message id
    - `icon` string: Gets or sets the icon url
    - `plans` PlanNotificationDetails[]: Gets or sets removed plans notifications
      - `planId` string: Gets or sets the plan id
      - `planDisplayName` string: Gets or sets the plan display name
  - `newNotifications` NewNotifications[]
    - `offerId` string: Gets offer id
    - `displayName` string: Gets offer display name
    - `isFuturePlansEnabled` boolean: Gets a value indicating whether future plans is enabled.
    - `messageCode` integer: Gets or sets the notification message id
    - `icon` string: Gets or sets the icon url
    - `plans` PlanNotificationDetails[]: Gets or sets removed plans notifications
      - `planId` string: Gets or sets the plan id
      - `planDisplayName` string: Gets or sets the plan display name
  - `approvalRequests` RequestApprovalsDetails[]
    - `offerId` string: Gets offer id
    - `displayName` string: Gets offer display name
    - `publisherId` string: Gets or sets publisher id
    - `messageCode` integer: Gets or sets the notification message id
    - `icon` string: Gets or sets the icon url
    - `plans` PlanNotificationDetails[]: Gets or sets removed plans notifications
      - `planId` string: Gets or sets the plan id
      - `planDisplayName` string: Gets or sets the plan display name

## Other responses

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

## Changes

- **2026-07-13** (2020-01-01) `664e71f176b6`: 1 breaking
  - added the new path request parameter `privateStoreId`
- **2026-07-13** (2020-01-01) `5e13d5031090`: 1 breaking
  - api path removed without deprecation
- **2026-07-13** (2020-01-01) `6edb51bd3697`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/marketplace-microsoft-marketplace-marketplace/changes/providers/Microsoft.Marketplace/privateStores/:privateStoreId/queryNotificationsState/post.md)

---

[API](https://skmtc.dev/azure/apis/marketplace-microsoft-marketplace-marketplace.md) - [All operations](https://skmtc.dev/azure/apis/marketplace-microsoft-marketplace-marketplace/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/marketplace-microsoft-marketplace-marketplace/revisions/37c9205efbf0?raw)
