{ "openapi": "3.0.0", "info": { "contact": { "name": "partnerapis@walmartlabs.com", "x-twitter": "Walmart" }, "description": "Please make sure you use the correct version of the APIs for your use case. To find out the appropriate version, go to the API Docs drop down on the menu.", "title": "Inventory", "version": "3.0.1", "x-apisguru-categories": [ "ecommerce" ], "x-logo": { "url": "https://api.apis.guru/v2/cache/logo/https_twitter.com_Walmart_profile_image.jpeg" }, "x-origin": [ { "format": "swagger", "url": "https://developer.walmart.com/v1/swaggerProxy?type=inventory", "version": "2.0" } ], "x-preferred": true, "x-providerName": "walmart.com", "x-serviceName": "inventory" }, "tags": [ { "name": "Version 2" }, { "name": "Version 3" } ], "paths": { "/v2/feeds": { "post": { "description": "You can upload an inventory feed. If the feed successfully processed, it returns a feed ID. Use the returned feed ID to retrieve a feed status. You need Your Consumer ID and the private key to upload the feed", "parameters": [ { "description": "Feed Type", "in": "query", "name": "feedType", "required": true, "schema": { "type": "string", "enum": [ "inventory" ], "default": "inventory" } }, { "description": "Channel Type", "in": "header", "name": "WM_CONSUMER.CHANNEL.TYPE", "required": true, "schema": { "type": "string", "enum": [ "SWAGGER_CHANNEL_TYPE" ], "default": "SWAGGER_CHANNEL_TYPE" } }, { "description": "Your Consumer ID", "in": "header", "name": "WM_CONSUMER.ID", "required": true, "schema": { "type": "string" } }, { "description": "Epoch timestamp", "in": "header", "name": "WM_SEC.TIMESTAMP", "required": true, "schema": { "type": "string", "default": "Auto populated" } }, { "description": "Authentication signature", "in": "header", "name": "WM_SEC.AUTH_SIGNATURE", "required": true, "schema": { "type": "string", "default": "Auto populated" } }, { "description": "The Service name", "in": "header", "name": "WM_SVC.NAME", "required": true, "schema": { "type": "string", "default": "Walmart Marketplace" } }, { "description": "A Transaction ID", "in": "header", "name": "WM_QOS.CORRELATION_ID", "required": true, "schema": { "type": "string", "default": "123456abcdef" } } ], "responses": { "default": { "description": "successful operation" } }, "summary": "Upload an inventory feed", "tags": [ "Version 2" ], "requestBody": { "$ref": "#/components/requestBodies/postV2Feeds" } } }, "/v2/inventory": { "get": { "description": "This endpoint retrieves inventory for a given item.", "parameters": [ { "description": "The SKU (seller-provided product identifier) of the item whose inventory we are retrieving", "in": "query", "name": "sku", "required": true, "schema": { "type": "string" } }, { "description": "Channel Type", "in": "header", "name": "WM_CONSUMER.CHANNEL.TYPE", "required": true, "schema": { "type": "string", "enum": [ "SWAGGER_CHANNEL_TYPE" ], "default": "SWAGGER_CHANNEL_TYPE" } }, { "description": "Your consumer id", "in": "header", "name": "WM_CONSUMER.ID", "required": true, "schema": { "type": "string" } }, { "description": "Epoch timestamp", "in": "header", "name": "WM_SEC.TIMESTAMP", "required": true, "schema": { "type": "string", "default": "Auto populated" } }, { "description": "Authentication signature", "in": "header", "name": "WM_SEC.AUTH_SIGNATURE", "required": true, "schema": { "type": "string", "default": "Auto populated" } }, { "description": "Service name", "in": "header", "name": "WM_SVC.NAME", "required": true, "schema": { "type": "string", "default": "Walmart Marketplace" } }, { "description": "Correlation id", "in": "header", "name": "WM_QOS.CORRELATION_ID", "required": true, "schema": { "type": "string", "default": "123456abcdef" } }, { "description": "application/xml", "in": "header", "name": "Accept", "required": true, "schema": { "type": "string", "default": "application/xml" } } ], "responses": { "default": { "description": "successful operation" } }, "summary": "Get inventory for an item", "tags": [ "Version 2" ] } }, "/v3/feeds": { "post": { "description": "You can upload an inventory feed. If the feed successfully processed, it returns a feed ID. Use the returned feed ID to retrieve a feed status. You need Your Consumer ID and the private key to upload the feed", "parameters": [ { "description": "Feed Type", "in": "query", "name": "feedType", "required": true, "schema": { "type": "string", "enum": [ "inventory" ], "default": "inventory" } }, { "description": "Ship Node", "in": "query", "name": "shipNode", "required": true, "schema": { "type": "string" } }, { "description": "Channel Type", "in": "header", "name": "WM_CONSUMER.CHANNEL.TYPE", "required": true, "schema": { "type": "string", "enum": [ "SWAGGER_CHANNEL_TYPE" ], "default": "SWAGGER_CHANNEL_TYPE" } }, { "description": "Your Consumer ID", "in": "header", "name": "WM_CONSUMER.ID", "required": true, "schema": { "type": "string" } }, { "description": "Epoch timestamp", "in": "header", "name": "WM_SEC.TIMESTAMP", "required": true, "schema": { "type": "string", "default": "Auto populated" } }, { "description": "Authentication signature", "in": "header", "name": "WM_SEC.AUTH_SIGNATURE", "required": true, "schema": { "type": "string", "default": "Auto populated" } }, { "description": "The Service name", "in": "header", "name": "WM_SVC.NAME", "required": true, "schema": { "type": "string", "default": "Walmart Marketplace" } }, { "description": "A Transaction ID", "in": "header", "name": "WM_QOS.CORRELATION_ID", "required": true, "schema": { "type": "string", "default": "123456abcdef" } } ], "responses": { "default": { "description": "successful operation" } }, "summary": "Upload an inventory feed", "tags": [ "Version 3" ], "requestBody": { "$ref": "#/components/requestBodies/postV2Feeds" } } }, "/v3/inventory": { "get": { "description": "This endpoint retrieves inventory for a given item.", "parameters": [ { "description": "The SKU (seller-provided product identifier) of the item whose inventory we are retrieving", "in": "query", "name": "sku", "required": true, "schema": { "type": "string" } }, { "description": "Ship Node", "in": "query", "name": "shipNode", "required": true, "schema": { "type": "string" } }, { "description": "Channel Type", "in": "header", "name": "WM_CONSUMER.CHANNEL.TYPE", "required": true, "schema": { "type": "string", "enum": [ "SWAGGER_CHANNEL_TYPE" ], "default": "SWAGGER_CHANNEL_TYPE" } }, { "description": "Your consumer id", "in": "header", "name": "WM_CONSUMER.ID", "required": true, "schema": { "type": "string" } }, { "description": "Epoch timestamp", "in": "header", "name": "WM_SEC.TIMESTAMP", "required": true, "schema": { "type": "string", "default": "Auto populated" } }, { "description": "Authentication signature", "in": "header", "name": "WM_SEC.AUTH_SIGNATURE", "required": true, "schema": { "type": "string", "default": "Auto populated" } }, { "description": "Service name", "in": "header", "name": "WM_SVC.NAME", "required": true, "schema": { "type": "string", "default": "Walmart Marketplace" } }, { "description": "Correlation id", "in": "header", "name": "WM_QOS.CORRELATION_ID", "required": true, "schema": { "type": "string", "default": "123456abcdef" } }, { "description": "application/xml", "in": "header", "name": "Accept", "required": true, "schema": { "type": "string", "default": "application/xml" } } ], "responses": { "default": { "description": "successful operation" } }, "summary": "Get inventory for an item", "tags": [ "Version 3" ] } } }, "servers": [ { "url": "https://developer.walmart.com/inventoryProxy/inventory-api-doc-app/rest" } ], "components": { "requestBodies": { "postV2Feeds": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "file": { "description": "Feed File to upload", "example": "XML conforming XSD v 1.5", "type": "string", "format": "binary" } }, "required": [ "file" ] } } } } } } }