BaseLinker MCP by usefulapi
Read orders, shipments, catalogs and stock; set order status and stock levels in BaseLinker.
사용해야 할까요
품질 및 안전성
발견 사항 (4)
- LOWbaselinker_list_inventory_products에서
- LOWbaselinker_get_inventory_products에서
- LOWbaselinker_get_inventory_product_stock에서
- LOWbaselinker_update_inventory_stock에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"baselinker": {
"url": "https://baselinker.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://baselinker.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (15)
🟢baselinker_list_inventories
List the product catalogs (inventories) of the account, with their warehouses, price groups and default language. Start here: catalog ids are needed by the product tools. BaseLinker API: getInventories.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baselinker_list_order_statuses
List the order statuses created in the order manager, with their ids, names and status groups. Use the ids with baselinker_set_order_status and as the status_id filter of baselinker_list_orders. BaseLinker API: getOrderStatusList.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baselinker_list_order_sources
List the connected order sources (shops, marketplace accounts, personal sources) with their ids. Use the ids as filters of baselinker_list_orders. BaseLinker API: getOrderSources.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baselinker_list_orders(order_id, date_confirmed_from, date_from, id_from, get_unconfirmed_orders, ...)
List orders from the order manager. Returns at most 100 orders per call. Unconfirmed orders are left out unless get_unconfirmed_orders is true. To read all confirmed orders since a time: pass date_confirmed_from; when 100 orders come back, pass the last order's date_confirmed plus 1 second as date_confirmed_from, and repeat until fewer than 100 come back. BaseLinker API: getOrders.
입력 스키마
{
"type": "object",
"properties": {
"order_id": {
"description": "Return only this order.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"date_confirmed_from": {
"description": "Return orders confirmed at or after this time.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"date_from": {
"description": "Return orders placed at or after this time.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"id_from": {
"description": "Return orders with an id at or above this value.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"get_unconfirmed_orders": {
"description": "Include unconfirmed orders (may be incomplete). Default false.",
"type": "boolean"
},
"status_id": {
"description": "Return orders in this status (from baselinker_list_order_statuses).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"filter_email": {
"description": "Return orders of this buyer e-mail.",
"type": "string",
"maxLength": 50
},
"filter_order_source": {
"description": "Order source name, for example 'ebay'.",
"type": "string",
"maxLength": 20
},
"filter_order_source_id": {
"description": "Order source id. Needs filter_order_source.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"filter_shop_order_id": {
"description": "The shop's own order id.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"filter_external_order_id": {
"description": "External (marketplace) order id, for example an Allegro transaction number.",
"type": "string",
"maxLength": 50
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baselinker_get_order_payments(order_id, show_full_history)
Get the payment history of one order, including external payment ids from the payment gateway. By default only payments with an external id are returned. BaseLinker API: getOrderPaymentsHistory.
입력 스키마
{
"type": "object",
"properties": {
"order_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Order id (BaseLinker order number)."
},
"show_full_history": {
"description": "Include value changes and manual payment edits. Default false.",
"type": "boolean"
}
},
"required": [
"order_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baselinker_get_order_packages(order_id)
List the shipments (packages) of one order with courier, tracking number and tracking status. BaseLinker API: getOrderPackages.
입력 스키마
{
"type": "object",
"properties": {
"order_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Order id (BaseLinker order number)."
}
},
"required": [
"order_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baselinker_list_order_events(last_log_id, logs_types, order_id)
List the order event log (order created, confirmed, paid, product edited, shipment created and so on) from last_log_id on, or for one order. Use it to find recently changed orders. BaseLinker API: getJournalList.
입력 스키마
{
"type": "object",
"properties": {
"last_log_id": {
"description": "Log id number from which the events are retrieved.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"logs_types": {
"description": "Only these event type ids.",
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"order_id": {
"description": "Return events of this order only.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baselinker_list_invoices(invoice_id, order_id, date_from, id_from, series_id, ...)
List invoices issued from the order manager (at most 100 per call), with numbers, dates and totals. Filter by invoice, order, date or series. BaseLinker API: getInvoices.
입력 스키마
{
"type": "object",
"properties": {
"invoice_id": {
"description": "Return only this invoice.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"order_id": {
"description": "Return the invoice of this order.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"date_from": {
"description": "Return invoices issued at or after this time.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"id_from": {
"description": "Return invoices with an id at or above this value.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"series_id": {
"description": "Numbering series id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"get_external_invoices": {
"description": "Set false to omit invoices uploaded from outside BaseLinker.",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baselinker_list_warehouses
List the warehouses of the account with their ids (format type_id, for example bl_123) and whether manual stock editing is allowed. Use the ids in baselinker_update_inventory_stock. BaseLinker API: getInventoryWarehouses.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baselinker_list_inventory_products(inventory_id, filter_id, filter_category_id, filter_tag, filter_ean, ...)
List the products of one catalog (ids, names, SKUs, EANs, prices), one page at a time with filters. BaseLinker API: getInventoryProductsList.
입력 스키마
{
"type": "object",
"properties": {
"inventory_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Catalog id, from baselinker_list_inventories."
},
"filter_id": {
"description": "Return only this product id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"filter_category_id": {
"description": "Category id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"filter_tag": {
"description": "Return products with this tag id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"filter_ean": {
"description": "Exact EAN, including additional EANs.",
"type": "string",
"maxLength": 32
},
"filter_sku": {
"description": "Exact SKU.",
"type": "string",
"maxLength": 50
},
"filter_name": {
"description": "Part of the product name.",
"type": "string",
"maxLength": 200
},
"filter_price_from": {
"description": "Minimum price.",
"type": "number"
},
"filter_price_to": {
"description": "Maximum price.",
"type": "number"
},
"filter_stock_from": {
"description": "Minimum stock quantity.",
"type": "number"
},
"filter_stock_to": {
"description": "Maximum stock quantity.",
"type": "number"
},
"filter_sort": {
"description": "Sort order value from the BaseLinker API method page (for example 'id [ASC]').",
"type": "string",
"maxLength": 30
},
"filter_locations": {
"description": "Filter by warehouse location name.",
"type": "string",
"maxLength": 20
},
"include_variants": {
"description": "Include product variants in addition to products.",
"type": "boolean"
},
"page": {
"description": "Results page, starting at 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"inventory_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baselinker_get_inventory_products(inventory_id, products, include_additional_eans, include_suppliers)
Get the full data of selected catalog products by product id (descriptions, prices, stock, images and so on, with optional blocks). BaseLinker API: getInventoryProductsData.
입력 스키마
{
"type": "object",
"properties": {
"inventory_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Catalog id, from baselinker_list_inventories."
},
"products": {
"minItems": 1,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"description": "Product ids to read."
},
"include_additional_eans": {
"description": "Include additional EANs.",
"type": "boolean"
},
"include_suppliers": {
"description": "Include supplier data.",
"type": "boolean"
}
},
"required": [
"inventory_id",
"products"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baselinker_get_inventory_product_stock(inventory_id, filter_id, filter_category_id, filter_ean, filter_sku, ...)
List the stock of catalog products per warehouse, with filters and paging (1000 products per page for the Base warehouse). BaseLinker API: getInventoryProductsStock.
입력 스키마
{
"type": "object",
"properties": {
"inventory_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Catalog id, from baselinker_list_inventories."
},
"filter_id": {
"description": "Return only this product id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"filter_category_id": {
"description": "Category id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"filter_ean": {
"description": "Exact EAN, including additional EANs.",
"type": "string",
"maxLength": 32
},
"filter_sku": {
"description": "Exact SKU.",
"type": "string",
"maxLength": 50
},
"filter_name": {
"description": "Part of the product name.",
"type": "string",
"maxLength": 200
},
"filter_asin": {
"description": "Exact ASIN.",
"type": "string",
"maxLength": 50
},
"filter_stock_from": {
"description": "Minimum stock quantity.",
"type": "number"
},
"filter_stock_to": {
"description": "Maximum stock quantity.",
"type": "number"
},
"filter_sort": {
"description": "Sort order value from the BaseLinker API method page (for example 'id [ASC]').",
"type": "string",
"maxLength": 30
},
"filter_locations": {
"description": "Filter by warehouse location name.",
"type": "string",
"maxLength": 20
},
"page": {
"description": "Results page, starting at 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"inventory_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴baselinker_set_order_status(order_id, status_id)
Change the status of one order. The order's customer and any automation tied to the status can react. Get status ids from baselinker_list_order_statuses. BaseLinker API: setOrderStatus.
입력 스키마
{
"type": "object",
"properties": {
"order_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Order id (BaseLinker order number)."
},
"status_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Target status id (from baselinker_list_order_statuses)."
}
},
"required": [
"order_id",
"status_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴baselinker_set_order_fields(order_id, admin_comments, email, phone, delivery_method, ...)
Edit selected fields of one order: comments, buyer contact and delivery address or method. Only the given fields change. The buyer may receive the change. BaseLinker API: setOrderFields.
입력 스키마
{
"type": "object",
"properties": {
"order_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Order id (BaseLinker order number)."
},
"admin_comments": {
"description": "Seller comment (internal).",
"type": "string",
"maxLength": 200
},
"email": {
"description": "Buyer e-mail.",
"type": "string",
"maxLength": 150
},
"phone": {
"description": "Buyer phone.",
"type": "string",
"maxLength": 100
},
"delivery_method": {
"description": "Delivery method name.",
"type": "string",
"maxLength": 30
},
"delivery_price": {
"description": "Gross delivery price.",
"type": "number"
},
"delivery_fullname": {
"description": "Delivery name.",
"type": "string",
"maxLength": 156
},
"delivery_company": {
"description": "Delivery company.",
"type": "string",
"maxLength": 156
},
"delivery_address": {
"description": "Delivery street and number.",
"type": "string",
"maxLength": 156
},
"delivery_postcode": {
"description": "Delivery postcode.",
"type": "string",
"maxLength": 100
},
"delivery_city": {
"description": "Delivery city.",
"type": "string",
"maxLength": 100
},
"delivery_state": {
"description": "Delivery state or province.",
"type": "string",
"maxLength": 35
},
"delivery_country_code": {
"description": "Delivery country code, two letters (for example 'PL').",
"type": "string",
"pattern": "^[A-Za-z]{2}$"
}
},
"required": [
"order_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴baselinker_update_inventory_stock(inventory_id, products)
Set the stock quantity of catalog products per warehouse. Quantities are absolute, not changes. Keys of products are product ids; keys of stocks are warehouse ids such as bl_123 (from baselinker_list_warehouses). Warehouses that mirror other shops or wholesalers cannot be set. BaseLinker API: updateInventoryProductsStock.
입력 스키마
{
"type": "object",
"properties": {
"inventory_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Catalog id, from baselinker_list_inventories."
},
"products": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^\\d+$"
},
"additionalProperties": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[a-z]+_\\d+$"
},
"additionalProperties": {
"type": "number",
"minimum": 0
}
},
"description": "Example: {\"12345\": {\"bl_123\": 7}} — product id, then warehouse id, then quantity."
}
},
"required": [
"inventory_id",
"products"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거