Skip to main content

Documentation Index

Fetch the complete documentation index at: https://ebaymcp.com/llms.txt

Use this file to discover all available pages before exploring further.

Inventory Locations

Inventory locations represent physical warehouses or fulfillment centers where your products are stored. Locations are required for certain eBay programs like In-Store Pickup.

Creating a Location

const location = await mcp.useTool('inventory_createInventoryLocation', {
  merchant_location_key: 'warehouse-main',
  location: {
    address: {
      addressLine1: '123 Warehouse St',
      city: 'Los Angeles',
      stateOrProvince: 'CA',
      postalCode: '90001',
      country: 'US'
    }
  },
  location_types: ['WAREHOUSE'],
  name: 'Main Warehouse - LA',
  merchant_location_status: 'ENABLED'
});

console.log(`✅ Location created: ${location.merchantLocationKey}`);

Location Types

  • WAREHOUSE - Storage/fulfillment center
  • STORE - Physical retail store (for in-store pickup)

Managing Locations

Get All Locations

const locations = await mcp.useTool('inventory_getInventoryLocations', {
  limit: 100
});

locations.locations.forEach(loc => {
  console.log(`${loc.name}: ${loc.merchantLocationStatus}`);
});

Update Location

await mcp.useTool('inventory_updateInventoryLocation', {
  merchant_location_key: 'warehouse-main',
  location: {
    address: {
      addressLine1: '456 New Address St',
      city: 'Los Angeles',
      stateOrProvince: 'CA',
      postalCode: '90002',
      country: 'US'
    }
  }
});

Disable/Enable Location

await mcp.useTool('inventory_disableInventoryLocation', {
  merchant_location_key: 'warehouse-temp'
});

await mcp.useTool('inventory_enableInventoryLocation', {
  merchant_location_key: 'warehouse-temp'
});

Next Steps

Inventory Overview

Back to Inventory API overview

Fulfillment API

Process and ship orders