Microsoft Azure Partner Inventory API

The PartnerInventory API from Microsoft Azure, for partnerinventory.

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrderPartner/locations/{location}/productFamilies/{familyIdentifier}/inventories/{serialNumber}/manageInventoryMetadata Update metadata on an Edge device inventory item · Microsoft Azure Api For Updating Inventory Metadata And Inventory Configuration #
Ask an LLM
“How do I update the inventory metadata for an edge device I sell as a partner?”
“Can I push configuration settings onto an inventory device by its serial number?”
Tell an agent
Update inventory metadata for device {serialNumber} in product family {familyIdentifier} at {location} to {inventoryMetadata}.
Set on-device configuration {configurationOnDevice} for inventory serial {serialNumber}.
POST /subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrderPartner/searchInventories Search partner inventory by serial number · Microsoft Azure Api For Search Inventories #
Ask an LLM
“How do I find an edge device in my partner inventory by its serial number?”
“Can I look up inventory for a specific product family and serial?”
Tell an agent
Search inventories for serial number {serialNumber} in family {familyIdentifier}.
Find the partner inventory record for device {serialNumber} of family {familyIdentifier}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-partnerinventory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-partnerinventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2020-12-01-preview
  title: Microsoft Azure Edge Ordering Service-Partner Partner…
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: PartnerInventory
paths:
  ? /subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrderPartner/locations/{location}/productFamilies/{familyIdentifier}/inventories/{serialNumber}/manageInventoryMetadata
  : post:
      tags:
      - PartnerInventory
      summary: Microsoft Azure Api For Updating Inventory Metadata And Inventory Configuration
      operationId: microsoftAzureManageinventorymetadata
      parameters:
      - $ref: '#/components/parameters/familyIdentifierParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: '#/components/parameters/locationParameter'
      - $ref: '#/components/parameters/serialNumberParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: '"Success"'
        '202':
          description: '"Request is accepted to manage inventory metadata"'
        '204':
          description: '"No content"'
        default:
          description: Error response describing reason for operation failure.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation: true
      x-ms-examples:
        ManageInventoryMetadata:
          $ref: ./examples/ManageInventoryMetadata.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManageInventoryMetadataRequest'
        description: Updates inventory metadata and inventory configuration
        required: true
  ? /subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrderPartner/locations/{location}/productFamilies/{familyIdentifier}/inventories/{serialNumber}/manageLink
  : post:
      tags:
      - PartnerInventory
      summary: Microsoft Azure Api For Linking Management Resource With Inventory
      operationId: microsoftAzureManagelink
      parameters:
      - $ref: '#/components/parameters/familyIdentifierParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: '#/components/parameters/locationParameter'
      - $ref: '#/components/parameters/serialNumberParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: '"Success"'
        '204':
          description: '"No content"'
        default:
          description: Error response describing reason for operation failure.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-examples:
        ManageLink:
          $ref: ./examples/ManageLink.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManageLinkRequest'
        description: Links the management resource to the inventory
        required: true
  /subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrderPartner/searchInventories:
    post:
      tags:
      - PartnerInventory
      summary: Microsoft Azure Api For Search Inventories
      operationId: microsoftAzureSearchinventories
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerInventoryList'
        default:
          description: Error response describing reason for operation failure.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        SearchInventories:
          $ref: ./examples/SearchInventories.json
        SearchInventoriesDetails:
          $ref: ./examples/SearchInventoriesDetails.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchInventoriesRequest'
        description: Searches inventories with the given filters and returns in the form of a list
        required: true
components:
  schemas:
    StageDetails:
      description: Resource stage details.
      type: object
      properties:
        stageStatus:
          description: Stage status.
          enum:
          - None
          - InProgress
          - Succeeded
          - Failed
          - Cancelled
          - Cancelling
          type: string
          readOnly: true
          x-ms-enum:
            name: StageStatus
            modelAsExtensible: true
            values:
            - value: None
              description: No status available yet.
            - value: InProgress
              description: Stage is in progress.
            - value: Succeeded
              description: Stage has succeeded.
            - value: Failed
              description: Stage has failed.
            - value: Cancelled
              description: Stage has been cancelled.
            - value: Cancelling
              description: Stage is cancelling.
        stageName:
          description: Stage name
          enum:
          - DeviceOrdered
          - DevicePrepared
          - PickedUp
          - AtAzureDC
          - DataCopy
          - Completed
          - CompletedWithErrors
          - Cancelled
          - Aborted
          - CompletedWithWarnings
          - ReadyToDispatchFromAzureDC
          - ReadyToReceiveAtAzureDC
          - Placed
          - InReview
          - Confirmed
          - ReadyForDispatch
          - Shipped
          - Delivered
          - InUse
          type: string
          readOnly: true
          x-ms-enum:
            name: StageName
            modelAsExtensible: true
            values:
            - value: DeviceOrdered
              description: An order has been created.
            - value: DevicePrepared
              description: A device has been prepared for the order.
            - value: PickedUp
              description: Device has been picked up from user and in transit to Azure datacenter.
            - value: AtAzureDC
              description: Device has been received at Azure datacenter from the user.
            - value: DataCopy
              description: Data copy from the device at Azure datacenter.
            - value: Completed
              description: Order has completed.
            - value: CompletedWithErrors
              description: Order has completed with errors.
            - value: Cancelled
              description: Order has been cancelled.
            - value: Aborted
              description: Order has been aborted.
            - value: Current
            - value: CompletedWithWarnings
              description: Order has completed with warnings.
            - value: ReadyToDispatchFromAzureDC
              description: Device is ready to be handed to customer from Azure DC.
            - value: ReadyToReceiveAtAzureDC
              description: Device can be dropped off at Azure DC.
            - value: Placed
              description: Currently in draft mode and can still be cancelled
            - value: InReview
              description: Order is currently in draft mode and can still be cancelled
            - value: Confirmed
              description: Order is confirmed
            - value: ReadyForDispatch
              description: Order is ready for dispatch
            - value: Shipped
              description: Order is in transit to customer
            - value: Delivered
              description: Order is delivered to customer
            - value: InUse
              description: Order is in use at customer site
        displayName:
          description: Display name of the resource stage.
          type: string
          readOnly: true
        startTime:
          format: date-time
          description: Stage start time
          type: string
          readOnly: true
    PartnerInventory:
      description: Represents partner inventory contract
      type: object
      properties:
        properties:
          $ref: '#/components/schemas/InventoryProperties'
          description: Inventory properties
          readOnly: true
          x-ms-client-flatten: true
    ConfigurationData:
      description: Contains information about inventory configuration
      type: object
      properties:
        familyIdentifier:
          description: Family identifier of inventory
          type: string
          readOnly: true
        productLineIdentifier:
          description: Product Line identifier of inventory
          type: string
          readOnly: true
        productIdentifier:
          description: Product identifier of inventory
          type: string
          readOnly: true
        configurationIdentifier:
          description: Configuration identifier of inventory
          type: string
          readOnly: true
        configurationIdentifierOnDevice:
          description: 'Configuration identifier on device - this is used in case of any mismatch

            between actual configuration on inventory and configuration stored in service'
          type: string
          readOnly: true
    ManageInventoryMetadataRequest:
      description: Request body for ManageInventoryMetadata call
      required:
      - inventoryMetadata
      type: object
      properties:
        inventoryMetadata:
          description: Inventory metadata to be updated
          type: string
        configurationOnDevice:
          $ref: '#/components/schemas/ConfigurationOnDevice'
          description: Inventory configuration to be updated
    InventoryAdditionalDetails:
      description: Represents additional details about the partner inventory
      type: object
      properties:
        orderItem:
          $ref: '#/components/schemas/AdditionalOrderItemDetails'
          description: Represents additional details about the order item
        inventoryMetadata:
          description: Contains inventory metadata
          type: string
          readOnly: true
        configuration:
          $ref: '#/components/schemas/ConfigurationDetails'
          description: Represents additional details about the configuration
          readOnly: true
        inventory:
          $ref: '#/components/schemas/AdditionalInventoryDetails'
          description: Represents additional data about the inventory
          readOnly: true
        billing:
          $ref: '#/components/schemas/BillingDetails'
          description: Represents additional details about billing for the inventory
          readOnly: true
        inventorySecrets:
          description: Represents secrets on the inventory
          type: object
          additionalProperties:
            type: string
          readOnly: true
    SearchInventoriesRequest:
      description: Request body for SearchInventories call
      required:
      - serialNumber
      - familyIdentifier
      type: object
      properties:
        serialNumber:
          description: Serial number of the inventory
          type: string
        familyIdentifier:
          description: Family identifier for inventory
          type: string
    OrderItemData:
      description: Contains information about the order item to which inventory belongs
      type: object
      properties:
        armId:
          description: Arm ID of order item
          type: string
          readOnly: true
        orderItemType:
          description: Order item type - purchase or rental
          enum:
          - Purchase
          - Rental
          type: string
          readOnly: true
          x-ms-enum:
            name: OrderItemType
            modelAsExtensible: true
            values:
            - value: Purchase
              description: Purchase OrderItem.
            - value: Rental
              description: Rental OrderItem.
    InventoryData:
      description: Contains basic information about inventory
      type: object
      properties:
        status:
          description: Inventory status
          type: string
          readOnly: true
        location:
          description: Inventory location
          type: string
          readOnly: true
        registrationAllowed:
          description: Boolean flag to indicate if registration is allowed
          type: boolean
          readOnly: true
    AdditionalOrderItemDetails:
      description: Contains additional order item details
      type: object
      properties:
        status:
          $ref: '#/components/schemas/StageDetails'
          description: Order item status
          readOnly: true
        subscription:
          $ref: '#/components/schemas/SubscriptionDetails'
          description: Subscription details
          readOnly: true
    PartnerInventoryList:
      description: Represents the list of partner inventories
      type: object
      properties:
        value:
          description: List of partner inventories
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/PartnerInventory'
          readOnly: true
        nextLink:
          description: Link for the next set of partner inventories.
          type: string
    ConfigurationOnDevice:
      description: Configuration parameters for ManageInventoryMetadata call
      required:
      - configurationIdentifier
      type: object
      properties:
        configurationIdentifier:
          description: Configuration identifier on device
          type: string
    InventoryProperties:
      description: Represents inventory properties
      type: object
      properties:
        serialNumber:
          description: Serial number of the device.
          type: string
          readOnly: true
        orderItem:
          $ref: '#/components/schemas/OrderItemData'
          description: Represents basic order item data.
          readOnly: true
        configuration:
          $ref: '#/components/schemas/ConfigurationData'
          description: Represents basic configuration data.
          readOnly: true
        managementResource:
          $ref: '#/components/schemas/ManagementResourceData'
          description: Represents management resource data associated with inventory.
          readOnly: true
        inventory:
          $ref: '#/components/schemas/InventoryData'
          description: Represents basic inventory data.
          readOnly: true
        location:
          description: Location of inventory
          type: string
          readOnly: true
        details:
          $ref: '#/components/schemas/InventoryAdditionalDetails'
          description: Represents additional details of inventory
          readOnly: true
    SpecificationDetails:
      description: Specification details for the inventory
      type: object
      properties:
        name:
          description: Name of the specification property
          type: string
          readOnly: true
        value:
          description: Value of the specification property
          type: string
          readOnly: true
    BillingDetails:
      description: Contains billing details for the inventory
      type: object
      properties:
        billingType:
          description: Billing type for the inventory
          type: string
          readOnly: true
        status:
          description: Billing status for the inventory
          type: string
          readOnly: true
    AdditionalInventoryDetails:
      description: Contains additional data about inventory in dictionary format
      type: object
      properties:
        additionalData:
          description: Additional Data
          type: object
          additionalProperties:
            type: string
          readOnly: true
    ManageLinkRequest:
      description: Request body for ManageLink call
      required:
      - managementResourceArmId
      - operation
      - tenantId
      type: object
      properties:
        managementResourceArmId:
          description: 'Arm Id of the management resource to which inventory is to be linked

            For unlink operation, enter empty string'
          type: string
        operation:
          description: Operation to be performed - Link, Unlink, Relink
          enum:
          - Link
          - Unlink
          - Relink
          type: string
          x-ms-enum:
            name: ManageLinkOperation
            modelAsExtensible: true
            values:
            - value: Link
              description: Link.
            - value: Unlink
              description: Unlink.
            - value: Relink
              description: Relink.
        tenantId:
          description: Tenant ID of management resource associated with inventory
          type: string
    ManagementResourceData:
      description: Contains information about management resource
      type: object
      properties:
        armId:
          description: Arm ID of management resource associated with inventory
          type: string
          readOnly: true
        tenantId:
          description: Tenant ID of management resource associated with inventory
          type: string
          readOnly: true
    SubscriptionDetails:
      description: Contains subscription details
      type: object
      properties:
        id:
          description: Subscription Id
          type: string
          readOnly: true
        state:
          description: Subscription State
          type: string
          readOnly: true
        quotaId:
          description: Subscription QuotaId
          type: string
          readOnly: true
    ConfigurationDetails:
      description: Contains additional configuration details about inventory
      type: object
      properties:
        specifications:
          description: Collection of specification details about the inventory
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/SpecificationDetails'
          readOnly: true
  parameters:
    locationParameter:
      name: location
      in: path
      description: The location of the resource
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    serialNumberParameter:
      name: serialNumber
      in: path
      description: The serial number of the device
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    familyIdentifierParameter:
      name: familyIdentifier
      in: path
      description: Unique identifier for the product family
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow