Optimizely Realtimeinventory API

The Realtimeinventory API from Optimizely — 1 operation(s) for realtimeinventory.

Operations 1

POST /api/v1/realtimeinventory #

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/optimizely-realtimeinventory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

optimizely-realtimeinventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: storefront-v1
  title: Storefront API V1 Realtimeinventory API
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Realtimeinventory
paths:
  /api/v1/realtimeinventory:
    post:
      tags:
      - Realtimeinventory
      operationId: RealTimeInventoryV1_PostAsync
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryParameter'
          text/json:
            schema:
              $ref: '#/components/schemas/Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryParameter'
          application/xml:
            schema:
              $ref: '#/components/schemas/Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryParameter'
          text/xml:
            schema:
              $ref: '#/components/schemas/Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryParameter'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryParameter'
          text/html:
            schema:
              $ref: '#/components/schemas/Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryParameter'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryModel'
            text/json:
              schema:
                $ref: '#/components/schemas/Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryModel'
            application/xml:
              schema:
                $ref: '#/components/schemas/Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryModel'
            text/xml:
              schema:
                $ref: '#/components/schemas/Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryModel'
            text/html:
              schema:
                $ref: '#/components/schemas/Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryModel'
components:
  schemas:
    Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryModel:
      type: object
      properties:
        uri:
          type: string
        realTimeInventoryResults:
          type: array
          items:
            $ref: '#/components/schemas/Insite.Core.Plugins.Inventory.ProductInventoryDto'
        properties:
          type: object
          additionalProperties:
            type: string
    Insite.Core.Plugins.Inventory.ProductInventoryDto:
      type: object
      properties:
        productId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        qtyOnHand:
          format: decimal
          type: number
        inventoryAvailabilityDtos:
          type: array
          items:
            $ref: '#/components/schemas/Insite.Core.Plugins.Inventory.InventoryAvailabilityDto'
        inventoryWarehousesDtos:
          type: array
          items:
            $ref: '#/components/schemas/Insite.Core.Plugins.Inventory.InventoryWarehousesDto'
        additionalResults:
          type: object
          additionalProperties:
            type: string
    Insite.Catalog.Services.Dtos.WarehouseDto:
      type: object
      properties:
        messageType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          - 3
          type: integer
        message:
          type: string
        requiresRealTimeInventory:
          type: boolean
        name:
          type: string
        description:
          type: string
        qty:
          format: decimal
          type: number
        properties:
          type: object
          additionalProperties:
            type: string
    Insite.Core.Plugins.Inventory.InventoryWarehousesDto:
      type: object
      properties:
        unitOfMeasure:
          type: string
        warehouseDtos:
          type: array
          items:
            $ref: '#/components/schemas/Insite.Catalog.Services.Dtos.WarehouseDto'
    Insite.Catalog.Services.Dtos.AvailabilityDto:
      type: object
      properties:
        messageType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          - 3
          type: integer
        message:
          type: string
        requiresRealTimeInventory:
          type: boolean
    Insite.RealTimeInventory.WebApi.V1.ApiModels.RealTimeInventoryParameter:
      type: object
      properties:
        productIds:
          type: array
          items:
            format: uuid
            type: string
            example: 00000000-0000-0000-0000-000000000000
        properties:
          type: object
          additionalProperties:
            type: string
        includeAlternateInventory:
          type: boolean
        configurations:
          type: object
          additionalProperties:
            type: array
            items:
              format: uuid
              type: string
              example: 00000000-0000-0000-0000-000000000000
    Insite.Core.Plugins.Inventory.InventoryAvailabilityDto:
      type: object
      properties:
        unitOfMeasure:
          type: string
        availability:
          $ref: '#/components/schemas/Insite.Catalog.Services.Dtos.AvailabilityDto'
  securitySchemes:
    access_token:
      type: apiKey
      description: Token used to access storefront API.
      name: access_token
      in: query