Microsoft.Marketplace (stable:2020-12-01)

2025/09/26 • 10 new, 10 deleted methods

PrivateStore_QueryNotificationsState (new)
Description Get private store notifications state
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
stopSellNotifications:
[
{
offerId: string ,
displayName: string ,
isEntire: boolean ,
messageCode: integer ,
icon: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
}
,
]
,
}
,
]
,
newNotifications:
[
{
offerId: string ,
displayName: string ,
isFuturePlansEnabled: boolean ,
messageCode: integer ,
icon: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
}
,
]
,
}
,
]
,
approvalRequests:
[
{
offerId: string ,
displayName: string ,
publisherId: string ,
messageCode: integer ,
icon: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_AcknowledgeOfferNotification (new)
Description Acknowledge notification for offer
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}/acknowledgeNotification
{
payload:
{
properties:
{
acknowledge: boolean ,
dismiss: boolean ,
removeOffer: boolean ,
addPlans:
[
string ,
]
,
removePlans:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_GetApprovalRequestsList (new)
Description Get all open approval requests of current user
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals
{}

⚐ Response (200)

{
value:
[
{
properties:
{
offerId: string ,
offerDisplayName: string ,
publisherId: string ,
plansDetails:
[
{
planId: string ,
status: enum ,
requestDate: string ,
justification: string ,
}
,
]
,
isClosed: boolean ,
messageCode: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_GetRequestApproval (new)
Description Get open request approval details
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
{}

⚐ Response (200)

{
properties:
{
offerId: string ,
offerDisplayName: string ,
publisherId: string ,
plansDetails:
[
{
planId: string ,
status: enum ,
requestDate: string ,
justification: string ,
}
,
]
,
isClosed: boolean ,
messageCode: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_CreateApprovalRequest (new)
Description Create approval request
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
{
payload:
{
properties:
{
offerId: string ,
offerDisplayName: string ,
publisherId: string ,
plansDetails:
[
{
planId: string ,
status: enum ,
requestDate: string ,
justification: string ,
}
,
]
,
isClosed: boolean ,
messageCode: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
offerId: string ,
offerDisplayName: string ,
publisherId: string ,
plansDetails:
[
{
planId: string ,
status: enum ,
requestDate: string ,
justification: string ,
}
,
]
,
isClosed: boolean ,
messageCode: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_QueryRequestApproval (new)
Description Get request statuses foreach plan, this api is used as a complex GET action.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}/query
{
payload:
{
properties:
{
publisherId: string ,
planIds:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
uniqueOfferId: string ,
plansDetails: object ,
etag: string ,
messageCode: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_WithdrawPlan (new)
Description Withdraw a user request approval on specific plan
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}/withdrawPlan
{
payload:
{
properties:
{
planId: string ,
publisherId: string ,
}
,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_AdminRequestApprovalsList (new)
Description Get list of admin request approvals
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals
{}

⚐ Response (200)

{
value:
[
{
properties:
{
offerId: string ,
displayName: string ,
publisherId: string ,
adminAction: enum ,
approvedPlans:
[
string ,
]
,
comment: string ,
administrator: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
requesters:
[
{
user: string ,
date: string ,
justification: string ,
}
,
]
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_GetAdminRequestApproval (new)
Description Get open approval requests
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
{
publisherId: string ,
}

⚐ Response (200)

{
properties:
{
offerId: string ,
displayName: string ,
publisherId: string ,
adminAction: enum ,
approvedPlans:
[
string ,
]
,
comment: string ,
administrator: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
requesters:
[
{
user: string ,
date: string ,
justification: string ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_UpdateAdminRequestApproval (new)
Description Update the admin action, weather the request is approved or rejected and the approved plans
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
{
payload:
{
properties:
{
offerId: string ,
displayName: string ,
publisherId: string ,
adminAction: enum ,
approvedPlans:
[
string ,
]
,
comment: string ,
administrator: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
requesters:
[
{
user: string ,
date: string ,
justification: string ,
}
,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
offerId: string ,
displayName: string ,
publisherId: string ,
adminAction: enum ,
approvedPlans:
[
string ,
]
,
comment: string ,
administrator: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
requesters:
[
{
user: string ,
date: string ,
justification: string ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_QueryNotificationsState (removed)
Description Get private store notifications state
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
stopSellNotifications:
[
{
offerId: string ,
displayName: string ,
isEntire: boolean ,
messageCode: integer ,
icon: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
}
,
]
,
}
,
]
,
newNotifications:
[
{
offerId: string ,
displayName: string ,
isFuturePlansEnabled: boolean ,
messageCode: integer ,
icon: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
}
,
]
,
}
,
]
,
approvalRequests:
[
{
offerId: string ,
displayName: string ,
publisherId: string ,
messageCode: integer ,
icon: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_AcknowledgeOfferNotification (removed)
Description Acknowledge notification for offer
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}/acknowledgeNotification
{
payload:
{
properties:
{
acknowledge: boolean ,
dismiss: boolean ,
removeOffer: boolean ,
addPlans:
[
string ,
]
,
removePlans:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_GetApprovalRequestsList (removed)
Description Get all open approval requests of current user
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals
{}

⚐ Response (200)

{
value:
[
{
properties:
{
offerId: string ,
offerDisplayName: string ,
publisherId: string ,
plansDetails:
[
{
planId: string ,
status: enum ,
requestDate: string ,
justification: string ,
}
,
]
,
isClosed: boolean ,
messageCode: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_GetRequestApproval (removed)
Description Get open request approval details
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
{}

⚐ Response (200)

{
properties:
{
offerId: string ,
offerDisplayName: string ,
publisherId: string ,
plansDetails:
[
{
planId: string ,
status: enum ,
requestDate: string ,
justification: string ,
}
,
]
,
isClosed: boolean ,
messageCode: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_CreateApprovalRequest (removed)
Description Create approval request
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
{
payload:
{
properties:
{
offerId: string ,
offerDisplayName: string ,
publisherId: string ,
plansDetails:
[
{
planId: string ,
status: enum ,
requestDate: string ,
justification: string ,
}
,
]
,
isClosed: boolean ,
messageCode: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
offerId: string ,
offerDisplayName: string ,
publisherId: string ,
plansDetails:
[
{
planId: string ,
status: enum ,
requestDate: string ,
justification: string ,
}
,
]
,
isClosed: boolean ,
messageCode: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_QueryRequestApproval (removed)
Description Get request statuses foreach plan, this api is used as a complex GET action.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}/query
{
payload:
{
properties:
{
publisherId: string ,
planIds:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
uniqueOfferId: string ,
plansDetails: object ,
etag: string ,
messageCode: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_WithdrawPlan (removed)
Description Withdraw a user request approval on specific plan
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}/withdrawPlan
{
payload:
{
properties:
{
planId: string ,
publisherId: string ,
}
,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_AdminRequestApprovalsList (removed)
Description Get list of admin request approvals
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals
{}

⚐ Response (200)

{
value:
[
{
properties:
{
offerId: string ,
displayName: string ,
publisherId: string ,
adminAction: enum ,
approvedPlans:
[
string ,
]
,
comment: string ,
administrator: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
requesters:
[
{
user: string ,
date: string ,
justification: string ,
}
,
]
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_GetAdminRequestApproval (removed)
Description Get open approval requests
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
{
publisherId: string ,
}

⚐ Response (200)

{
properties:
{
offerId: string ,
displayName: string ,
publisherId: string ,
adminAction: enum ,
approvedPlans:
[
string ,
]
,
comment: string ,
administrator: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
requesters:
[
{
user: string ,
date: string ,
justification: string ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_UpdateAdminRequestApproval (removed)
Description Update the admin action, weather the request is approved or rejected and the approved plans
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
{
payload:
{
properties:
{
offerId: string ,
displayName: string ,
publisherId: string ,
adminAction: enum ,
approvedPlans:
[
string ,
]
,
comment: string ,
administrator: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
requesters:
[
{
user: string ,
date: string ,
justification: string ,
}
,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
offerId: string ,
displayName: string ,
publisherId: string ,
adminAction: enum ,
approvedPlans:
[
string ,
]
,
comment: string ,
administrator: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
requesters:
[
{
user: string ,
date: string ,
justification: string ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}