Microsoft.Marketplace (stable:2025-01-01)

2025/04/08 • 45 new methods

PrivateStore_List (new)
Description Gets the list of available private stores.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
availability: enum ,
privateStoreId: string ,
eTag: string ,
privateStoreName: string ,
tenantId: string ,
isGov: boolean ,
collectionIds:
[
string ,
]
,
branding: object ,
notificationsSettings:
{
recipients:
[
{
principalId: string ,
emailAddress: string ,
displayName: string ,
}
,
]
,
sendToAllMarketplaceAdmins: boolean ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_Get (new)
Description Get information about the private store
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
availability: enum ,
privateStoreId: string ,
eTag: string ,
privateStoreName: string ,
tenantId: string ,
isGov: boolean ,
collectionIds:
[
string ,
]
,
branding: object ,
notificationsSettings:
{
recipients:
[
{
principalId: string ,
emailAddress: string ,
displayName: string ,
}
,
]
,
sendToAllMarketplaceAdmins: boolean ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_CreateOrUpdate (new)
Description Changes private store properties
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
{
payload:
{
properties:
{
availability: enum ,
privateStoreId: string ,
eTag: string ,
privateStoreName: string ,
tenantId: string ,
isGov: boolean ,
collectionIds:
[
string ,
]
,
branding: object ,
notificationsSettings:
{
recipients:
[
{
principalId: string ,
emailAddress: string ,
displayName: string ,
}
,
]
,
sendToAllMarketplaceAdmins: boolean ,
}
,
}
,
}
,
privateStoreId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_Delete (new)
Description Deletes the private store. All that is not saved will be lost.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
{
privateStoreId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_AnyExistingOffersInTheCollections (new)
Description Query whether exists any offer in the collections.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/anyExistingOffersInTheCollections
{
privateStoreId: string ,
}

⚐ Response (200)

{
value: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_QueryOffers (new)
Description List of offers, regardless the collections
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/queryOffers
{
privateStoreId: string ,
}

⚐ Response (200)

{
value:
[
{
uniqueOfferId: string ,
offerDisplayName: string ,
publisherDisplayName: string ,
eTag: string ,
privateStoreId: string ,
createdAt: string ,
modifiedAt: string ,
specificPlanIdsLimitation:
[
string ,
]
,
updateSuppressedDueIdempotence: boolean ,
iconFileUris: object ,
isStopSell: boolean ,
plans:
[
{
skuId: string ,
planId: string ,
planDisplayName: string ,
accessibility: enum ,
altStackReference: string ,
stackType: string ,
isStopSell: boolean ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_QueryUserOffers (new)
Description List of user's approved offers for the provided offers and subscriptions
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/queryUserOffers
{
privateStoreId: string ,
payload:
{
properties:
{
offerIds:
[
string ,
]
,
subscriptionIds:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
value:
[
{
uniqueOfferId: string ,
offerDisplayName: string ,
publisherDisplayName: string ,
eTag: string ,
privateStoreId: string ,
createdAt: string ,
modifiedAt: string ,
specificPlanIdsLimitation:
[
string ,
]
,
updateSuppressedDueIdempotence: boolean ,
iconFileUris: object ,
isStopSell: boolean ,
plans:
[
{
skuId: string ,
planId: string ,
planDisplayName: string ,
accessibility: enum ,
altStackReference: string ,
stackType: string ,
isStopSell: boolean ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
QueryUserRules (new)
Description All rules approved in the private store that are relevant for user subscriptions
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/queryUserRules
{
privateStoreId: string ,
payload:
{
properties:
{
subscriptionIds:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
value:
[
{
type: enum ,
value:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_BillingAccounts (new)
Description Tenant billing accounts names
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/billingAccounts
{
privateStoreId: string ,
}

⚐ Response (200)

{
billingAccounts:
[
string ,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_CollectionsToSubscriptionsMapping (new)
Description For a given subscriptions list, the API will return a map of collections and the related subscriptions from the supplied list.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collectionsToSubscriptionsMapping
{
payload:
{
properties:
{
subscriptionIds:
[
string ,
]
,
}
,
}
,
privateStoreId: string ,
}

⚐ Response (200)

{
details: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollection_List (new)
Description Gets private store collections list
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections
{
privateStoreId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
collectionId: string ,
collectionName: string ,
claim: string ,
allSubscriptions: boolean ,
approveAllItems: boolean ,
approveAllItemsModifiedAt: string ,
subscriptionsList:
[
string ,
]
,
enabled: boolean ,
numberOfOffers: integer ,
appliedRules:
[
{
type: enum ,
value:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollection_Get (new)
Description Gets private store collection
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}
{
privateStoreId: string ,
collectionId: string ,
}

⚐ Response (200)

{
properties:
{
collectionId: string ,
collectionName: string ,
claim: string ,
allSubscriptions: boolean ,
approveAllItems: boolean ,
approveAllItemsModifiedAt: string ,
subscriptionsList:
[
string ,
]
,
enabled: boolean ,
numberOfOffers: integer ,
appliedRules:
[
{
type: enum ,
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollection_CreateOrUpdate (new)
Description Create or update private store collection
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}
{
payload:
{
properties:
{
collectionId: string ,
collectionName: string ,
claim: string ,
allSubscriptions: boolean ,
approveAllItems: boolean ,
approveAllItemsModifiedAt: string ,
subscriptionsList:
[
string ,
]
,
enabled: boolean ,
numberOfOffers: integer ,
appliedRules:
[
{
type: enum ,
value:
[
string ,
]
,
}
,
]
,
}
,
}
,
privateStoreId: string ,
collectionId: string ,
}

⚐ Response (200)

{
properties:
{
collectionId: string ,
collectionName: string ,
claim: string ,
allSubscriptions: boolean ,
approveAllItems: boolean ,
approveAllItemsModifiedAt: string ,
subscriptionsList:
[
string ,
]
,
enabled: boolean ,
numberOfOffers: integer ,
appliedRules:
[
{
type: enum ,
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollection_Delete (new)
Description Delete a collection from the given private store.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}
{
privateStoreId: string ,
collectionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollection_Post (new)
Description Delete Private store collection. This is a workaround.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}
{
payload: string ,
privateStoreId: string ,
collectionId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollection_TransferOffers (new)
Description transferring offers (copy or move) from source collection to target collection(s)
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/transferOffers
{
payload:
{
properties:
{
targetCollections:
[
string ,
]
,
operation: string ,
offerIdsList:
[
string ,
]
,
}
,
}
,
privateStoreId: string ,
collectionId: string ,
}

⚐ Response (200)

{
succeeded:
[
{
collectionName: string ,
collectionId: string ,
}
,
]
,
failed:
[
{
collectionName: string ,
collectionId: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_QueryApprovedPlans (new)
Description Get map of plans and related approved subscriptions.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/queryApprovedPlans
{
payload:
{
properties:
{
offerId: string ,
planIds:
[
string ,
]
,
subscriptionIds:
[
string ,
]
,
}
,
}
,
privateStoreId: string ,
}

⚐ Response (200)

{
details:
[
{
planId: string ,
subscriptionIds:
[
string ,
]
,
allSubscriptions: boolean ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_BulkCollectionsAction (new)
Description Perform an action on bulk collections
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/bulkCollectionsAction
{
privateStoreId: string ,
payload:
{
properties:
{
collectionIds:
[
string ,
]
,
action: string ,
}
,
}
,
}

⚐ Response (200)

{
succeeded:
[
{
collectionName: string ,
collectionId: string ,
}
,
]
,
failed:
[
{
collectionName: string ,
collectionId: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollection_ApproveAllItems (new)
Description Delete all existing offers from the collection and enable approve all items.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/approveAllItems
{
privateStoreId: string ,
collectionId: string ,
}

⚐ Response (200)

{
properties:
{
collectionId: string ,
collectionName: string ,
claim: string ,
allSubscriptions: boolean ,
approveAllItems: boolean ,
approveAllItemsModifiedAt: string ,
subscriptionsList:
[
string ,
]
,
enabled: boolean ,
numberOfOffers: integer ,
appliedRules:
[
{
type: enum ,
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollection_DisableApproveAllItems (new)
Description Disable approve all items for the collection.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/disableApproveAllItems
{
privateStoreId: string ,
collectionId: string ,
}

⚐ Response (200)

{
properties:
{
collectionId: string ,
collectionName: string ,
claim: string ,
allSubscriptions: boolean ,
approveAllItems: boolean ,
approveAllItemsModifiedAt: string ,
subscriptionsList:
[
string ,
]
,
enabled: boolean ,
numberOfOffers: integer ,
appliedRules:
[
{
type: enum ,
value:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollectionOffer_List (new)
Description Get a list of all private offers in the given private store and collection
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers
{
privateStoreId: string ,
collectionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
uniqueOfferId: string ,
offerDisplayName: string ,
publisherDisplayName: string ,
eTag: string ,
privateStoreId: string ,
createdAt: string ,
modifiedAt: string ,
specificPlanIdsLimitation:
[
string ,
]
,
updateSuppressedDueIdempotence: boolean ,
iconFileUris: object ,
isStopSell: boolean ,
plans:
[
{
skuId: string ,
planId: string ,
planDisplayName: string ,
accessibility: enum ,
altStackReference: string ,
stackType: string ,
isStopSell: boolean ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollectionOffer_ListByContexts (new)
Description Get a list of all offers in the given collection according to the required contexts.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/mapOffersToContexts
{
payload:
{
properties:
{
subscriptionIds:
[
string ,
]
,
}
,
}
,
privateStoreId: string ,
collectionId: string ,
}

⚐ Response (200)

{
value:
[
{
context: string ,
offers:
{
value:
[
{
uniqueOfferId: string ,
offerDisplayName: string ,
publisherDisplayName: string ,
eTag: string ,
privateStoreId: string ,
createdAt: string ,
modifiedAt: string ,
specificPlanIdsLimitation:
[
string ,
]
,
updateSuppressedDueIdempotence: boolean ,
iconFileUris: object ,
isStopSell: boolean ,
plans:
[
{
skuId: string ,
planId: string ,
planDisplayName: string ,
accessibility: enum ,
altStackReference: string ,
stackType: string ,
isStopSell: boolean ,
}
,
]
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
SetCollectionRules (new)
Description Set rule for specific private store and collection
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/setRules
{
privateStoreId: string ,
collectionId: string ,
payload:
{
value:
[
{
type: enum ,
value:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
QueryRules (new)
Description Get a list of all private store rules in the given private store and collection
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/queryRules
{
privateStoreId: string ,
collectionId: string ,
}

⚐ Response (200)

{
value:
[
{
type: enum ,
value:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollectionOffer_Get (new)
Description Gets information about a specific offer.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
{
privateStoreId: string ,
collectionId: string ,
offerId: string ,
}

⚐ Response (200)

{
properties:
{
uniqueOfferId: string ,
offerDisplayName: string ,
publisherDisplayName: string ,
eTag: string ,
privateStoreId: string ,
createdAt: string ,
modifiedAt: string ,
specificPlanIdsLimitation:
[
string ,
]
,
updateSuppressedDueIdempotence: boolean ,
iconFileUris: object ,
isStopSell: boolean ,
plans:
[
{
skuId: string ,
planId: string ,
planDisplayName: string ,
accessibility: enum ,
altStackReference: string ,
stackType: string ,
isStopSell: boolean ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollectionOffer_CreateOrUpdate (new)
Description Update or add an offer to a specific collection of the private store.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
{
payload:
{
properties:
{
uniqueOfferId: string ,
offerDisplayName: string ,
publisherDisplayName: string ,
eTag: string ,
privateStoreId: string ,
createdAt: string ,
modifiedAt: string ,
specificPlanIdsLimitation:
[
string ,
]
,
updateSuppressedDueIdempotence: boolean ,
iconFileUris: object ,
isStopSell: boolean ,
plans:
[
{
skuId: string ,
planId: string ,
planDisplayName: string ,
accessibility: enum ,
altStackReference: string ,
stackType: string ,
isStopSell: boolean ,
}
,
]
,
}
,
}
,
privateStoreId: string ,
collectionId: string ,
offerId: string ,
}

⚐ Response (200)

{
properties:
{
uniqueOfferId: string ,
offerDisplayName: string ,
publisherDisplayName: string ,
eTag: string ,
privateStoreId: string ,
createdAt: string ,
modifiedAt: string ,
specificPlanIdsLimitation:
[
string ,
]
,
updateSuppressedDueIdempotence: boolean ,
iconFileUris: object ,
isStopSell: boolean ,
plans:
[
{
skuId: string ,
planId: string ,
planDisplayName: string ,
accessibility: enum ,
altStackReference: string ,
stackType: string ,
isStopSell: boolean ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollectionOffer_Delete (new)
Description Deletes an offer from the given collection of private store.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
{
privateStoreId: string ,
collectionId: string ,
offerId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollectionOffer_Post (new)
Description Delete Private store offer. This is a workaround.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
{
payload: string ,
privateStoreId: string ,
collectionId: string ,
offerId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollectionOffer_ContextsView (new)
Description Retrieve offer information with plans under required contexts restrictions.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}/contextsView
{
privateStoreId: string ,
collectionId: string ,
offerId: string ,
payload:
{
properties:
{
subscriptionIds:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
uniqueOfferId: string ,
offerDisplayName: string ,
publisherDisplayName: string ,
eTag: string ,
privateStoreId: string ,
createdAt: string ,
modifiedAt: string ,
specificPlanIdsLimitation:
[
string ,
]
,
updateSuppressedDueIdempotence: boolean ,
iconFileUris: object ,
isStopSell: boolean ,
plans:
[
{
skuId: string ,
planId: string ,
planDisplayName: string ,
accessibility: enum ,
altStackReference: string ,
stackType: string ,
isStopSell: boolean ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStoreCollectionOffer_UpsertOfferWithMultiContext (new)
Description Upsert an offer with multiple context details.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}/upsertOfferWithMultiContext
{
privateStoreId: string ,
collectionId: string ,
offerId: string ,
payload:
{
properties:
{
offerId: string ,
eTag: string ,
plansContext:
[
{
context: string ,
planIds:
[
string ,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
uniqueOfferId: string ,
offerDisplayName: string ,
publisherDisplayName: string ,
eTag: string ,
privateStoreId: string ,
createdAt: string ,
modifiedAt: string ,
specificPlanIdsLimitation:
[
string ,
]
,
updateSuppressedDueIdempotence: boolean ,
iconFileUris: object ,
isStopSell: boolean ,
plans:
[
{
skuId: string ,
planId: string ,
planDisplayName: string ,
accessibility: enum ,
altStackReference: string ,
stackType: string ,
isStopSell: boolean ,
}
,
]
,
}
,
}

⚐ 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
{
privateStoreId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
offerId: string ,
offerDisplayName: string ,
publisherId: string ,
plansDetails:
[
{
planId: string ,
status: enum ,
requestDate: string ,
justification: string ,
subscriptionId: string ,
subscriptionName: 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}
{
privateStoreId: string ,
requestApprovalId: string ,
}

⚐ Response (200)

{
properties:
{
offerId: string ,
offerDisplayName: string ,
publisherId: string ,
plansDetails:
[
{
planId: string ,
status: enum ,
requestDate: string ,
justification: string ,
subscriptionId: string ,
subscriptionName: 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 ,
subscriptionId: string ,
subscriptionName: string ,
}
,
]
,
isClosed: boolean ,
messageCode: integer ,
}
,
}
,
privateStoreId: string ,
requestApprovalId: string ,
}

⚐ Response (200)

{
properties:
{
offerId: string ,
offerDisplayName: string ,
publisherId: string ,
plansDetails:
[
{
planId: string ,
status: enum ,
requestDate: string ,
justification: string ,
subscriptionId: string ,
subscriptionName: 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
{
privateStoreId: string ,
requestApprovalId: string ,
payload:
{
properties:
{
publisherId: string ,
planIds:
[
string ,
]
,
subscriptionId: string ,
}
,
}
,
}

⚐ Response (200)

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

⚐ 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
{
privateStoreId: string ,
}

⚐ 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 ,
subscriptionId: string ,
subscriptionName: string ,
}
,
]
,
}
,
]
,
collectionIds:
[
string ,
]
,
icon: 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}
{
privateStoreId: string ,
adminRequestApprovalId: string ,
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 ,
subscriptionId: string ,
subscriptionName: string ,
}
,
]
,
}
,
]
,
collectionIds:
[
string ,
]
,
icon: 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}
{
privateStoreId: string ,
adminRequestApprovalId: string ,
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 ,
subscriptionId: string ,
subscriptionName: string ,
}
,
]
,
}
,
]
,
collectionIds:
[
string ,
]
,
icon: 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 ,
subscriptionId: string ,
subscriptionName: string ,
}
,
]
,
}
,
]
,
collectionIds:
[
string ,
]
,
icon: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ 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
{
privateStoreId: string ,
offerId: string ,
payload:
{
properties:
{
acknowledge: boolean ,
dismiss: boolean ,
removeOffer: boolean ,
addPlans:
[
string ,
]
,
removePlans:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{}

⚐ 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
{
privateStoreId: string ,
requestApprovalId: string ,
payload:
{
properties:
{
planId: string ,
publisherId: string ,
}
,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_FetchAllSubscriptionsInTenant (new)
Description Fetch all subscriptions in tenant, only for marketplace admin
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/fetchAllSubscriptionsInTenant
{
privateStoreId: string ,
next-page-token: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
subscriptionId: string ,
displayName: string ,
state: enum ,
}
,
]
,
skipToken: string ,
count: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_ListNewPlansNotifications (new)
Description List new plans notifications
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/listNewPlansNotifications
{
privateStoreId: string ,
}

⚐ Response (200)

{
newPlansNotifications:
[
{
offerId: string ,
displayName: string ,
isFuturePlansEnabled: boolean ,
messageCode: integer ,
icon: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_ListStopSellOffersPlansNotifications (new)
Description List stop sell notifications for both stop sell offers and stop sell plans
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/listStopSellOffersPlansNotifications
{
privateStoreId: string ,
stopSellSubscriptions:
{
subscriptions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
stopSellNotifications:
[
{
offerId: string ,
displayName: string ,
isEntire: boolean ,
messageCode: integer ,
icon: string ,
plans:
[
{
planId: string ,
planDisplayName: string ,
}
,
]
,
publicContext: boolean ,
subscriptionsIds:
[
string ,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateStore_ListSubscriptionsContext (new)
Description List all the subscriptions in the private store context
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/listSubscriptionsContext
{
privateStoreId: string ,
}

⚐ Response (200)

{
subscriptionsIds:
[
string ,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Operations_List (new)
Description Lists all of the available Microsoft.Marketplace REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Marketplace/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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