Magento · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Magento REST Inventory API

7 actions 7 updates phrasing extends openapi/magento-inventory-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Magento's API. It is a proposal applied on top of the contract, not a document Magento publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/V1/inventory/sources'].get
$.paths['/V1/inventory/sources'].post
$.paths['/V1/inventory/sources/{sourceCode}'].get
$.paths['/V1/inventory/sources/{sourceCode}'].put
$.paths['/V1/inventory/source-items'].get
$.paths['/V1/inventory/source-items'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Magento REST Inventory API
  version: 1.0.0
extends: openapi/magento-inventory-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/V1/inventory/sources'].get
  update:
    x-apievangelist-phrasing:
      intent: List configured inventory sources
      effect: read
      questions:
      - Which inventory sources are set up in my multi-source inventory?
      - Can I page through all my fulfillment locations sorted by a field?
      - What filters can I apply when listing inventory sources?
      instructions:
      - text: List all inventory sources.
      - text: List inventory sources filtered on the field {field}.
        slots:
          field: query.searchCriteria[filter_groups][0][filters][0][field]
      - text: List inventory sources sorted by {sort_field}.
        slots:
          sort_field: query.searchCriteria[sortOrders][0][field]
      - text: Show page {page} of inventory sources with {page_size} per page.
        slots:
          page: query.searchCriteria[currentPage]
          page_size: query.searchCriteria[pageSize]
      method: generated
      generated: '2026-11-17'
- target: $.paths['/V1/inventory/sources'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an inventory source
      effect: write
      questions:
      - How do I add a new fulfillment location as an inventory source?
      - What does a new inventory source need, like a name and code?
      instructions:
      - text: Create inventory source {source}.
        slots:
          source: requestBody.source
      - text: Add a new inventory source with code {source}.
        slots:
          source: requestBody.source
      method: generated
      generated: '2026-11-17'
- target: $.paths['/V1/inventory/sources/{sourceCode}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an inventory source
      effect: read
      questions:
      - What are the address and enabled status of one inventory source?
      - Can I look up a single fulfillment location by its code?
      instructions:
      - text: Get inventory source {sourceCode}.
        slots:
          sourceCode: path.sourceCode
      - text: Show the details of inventory source {sourceCode}.
        slots:
          sourceCode: path.sourceCode
      method: generated
      generated: '2026-11-17'
- target: $.paths['/V1/inventory/sources/{sourceCode}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an inventory source
      effect: write
      questions:
      - How do I change the address or carrier links on an existing inventory source?
      - Can I rename an inventory source after it's created?
      instructions:
      - text: Update inventory source {sourceCode} with {source}.
        slots:
          sourceCode: path.sourceCode
          source: requestBody.source
      - text: Change the enabled status of inventory source {sourceCode}.
        slots:
          sourceCode: path.sourceCode
      method: generated
      generated: '2026-11-17'
- target: $.paths['/V1/inventory/source-items'].get
  update:
    x-apievangelist-phrasing:
      intent: List product quantities at inventory sources
      effect: read
      questions:
      - What stock levels does each inventory source hold for my products?
      - Can I check the quantity of one SKU across all sources?
      - How do I read per-source stock quantities page by page?
      instructions:
      - text: List all source item quantities.
      - text: List source item quantities filtered on the field {field}, such as sku or source_code.
        slots:
          field: query.searchCriteria[filter_groups][0][filters][0][field]
      - text: List source item quantities sorted by {sort_field}.
        slots:
          sort_field: query.searchCriteria[sortOrders][0][field]
      - text: Show page {page} of source item quantities, {page_size} per page.
        slots:
          page: query.searchCriteria[currentPage]
          page_size: query.searchCriteria[pageSize]
      method: generated
      generated: '2026-11-17'
- target: $.paths['/V1/inventory/source-items'].post
  update:
    x-apievangelist-phrasing:
      intent: Synchronize stock levels across inventory sources
      effect: write
      questions:
      - How do I sync stock levels from my warehouse system into Magento?
      - Can I set quantity and status for several products at once?
      instructions:
      - text: Update source items {sourceItems}.
        slots:
          sourceItems: requestBody.sourceItems
      - text: 'Sync stock levels for these products and sources: {sourceItems}.'
        slots:
          sourceItems: requestBody.sourceItems
      method: generated
      generated: '2026-11-17'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/magento-inventory-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.