# Baselinker — how to use (mcp.ai)

Connect your Baselinker account and use 106 tools for ecommerce straight from your AI agent. Connect with your own API key. BaseLinker is a comprehensive e-commerce management platform that integrates with various marketplaces, online stores, carriers, and accounting systems to streamline order processing, inventory management, and sales automation.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_baselinker?ms=1787293380000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `baselinker_add_inventory`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/baselinker`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/baselinker/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/baselinker/add/inventory` — Tool to add or update a BaseLinker catalog (inventory). Use when you need to create a new catalog or update an existing one with the same identifier.
  - body: { name: string, languages?: string[], warehouses?: string[], description?: string, inventory_id?: integer, price_groups?: integer[], reservations?: boolean, default_language: string, default_warehouse: string, default_price_group: integer }
- `POST https://api.mcp.ai/api/baselinker/add/inventory/category` — Tool to add or update a category in the BaseLinker catalog. Use when you need to create a new category or update an existing one. Adding a category with the same identifier again updates the previousl
  - body: { name: string, parent_id: integer, category_id?: integer, inventory_id: integer }
- `POST https://api.mcp.ai/api/baselinker/add/inventory/document` — Tool to create a new inventory document in BaseLinker storage. Use when you need to create goods receipts, issues, or transfers. Documents are created as drafts and require confirmation via user actio
  - body: { notes?: string, date_add?: integer, contractor?: string, invoice_no?: string, date_execute?: integer, warehouse_id: integer, document_type: integer, target_warehouse_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/add/inventory/manufacturer` — Tool to add or update a manufacturer in the BaseLinker catalog. Use when you need to create a new manufacturer or update an existing one. Adding a manufacturer with the same identifier again updates t
  - body: { name: string, manufacturer_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/add/inventory/payer` — Tool to add a new payer or update an existing one in BaseLinker storage. Use when you need to create a new payer with contact details or update an existing payer's information.
  - body: { city?: string, name: string, tax_no?: string, address?: string, payer_id?: integer, postcode?: string }
- `POST https://api.mcp.ai/api/baselinker/add/inventory/price/group` — Tool to create or update a price group in BaseLinker storage. Use when you need to define pricing tiers (e.g., wholesale, retail, VIP) that can be later assigned to inventory items via addInventory me
  - body: { name: string, currency: string, description?: string, price_group_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/add/inventory/product` — Add a new product to BaseLinker catalog or update an existing product. Use when creating inventory items or modifying product details like SKU, price, stock, dimensions, and text fields. Provide produ
  - body: { ean?: string, sku?: string, star?: integer, stock?: object, width?: number, height?: number, images?: object, length?: number, prices?: object, weight?: number, tax_rate?: number, is_bundle?: boolean, parent_id?: string, product_id?: string, category_id?: integer, text_fields?: object, inventory_id: string, manufacturer_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/add/inventory/purchase/order` — Tool to create a new purchase order in BaseLinker storage. Orders are created as drafts by default. Use when you need to create a new purchase order for inventory management.
  - body: { name?: string, notes?: string, currency: string, payer_id: integer, series_id: integer, invoice_no?: string, supplier_id: integer, date_created?: integer, warehouse_id: integer }
- `POST https://api.mcp.ai/api/baselinker/add/inventory/purchase/order/items` — Tool to add items to an existing purchase order in BaseLinker. Use when you need to add products to a purchase order that has already been created.
  - body: { items: object[], order_id: integer }
- `POST https://api.mcp.ai/api/baselinker/add/inventory/supplier` — Tool to add a new supplier or update an existing one in BaseLinker storage. Use when you need to manage supplier information for inventory management. If supplier_id is provided, the existing supplier
  - body: { city?: string, name: string, email?: string, phone?: string, address?: string, currency?: string, postcode?: string, supplier_id?: integer, email_copy_to?: string, take_product_code_from: string, take_product_cost_from: string }
- `POST https://api.mcp.ai/api/baselinker/add/inventory/warehouse` — Tool to add a new warehouse or update an existing warehouse in BaseLinker inventories. Use when you need to create new warehouse locations for inventory management or update warehouse details. Adding 
  - body: { name: string, description?: string, warehouse_id?: integer, stock_edition: boolean }
- `POST https://api.mcp.ai/api/baselinker/add/invoice` — Tool to issue an order invoice in BaseLinker. Use when you need to generate an invoice for an existing order using a specific numbering series.
  - body: { order_id: integer, vat_rate?: string|integer|number, series_id: integer }
- `POST https://api.mcp.ai/api/baselinker/add/invoice/correction` — Tool to issue an order invoice correction. Use when correcting pricing errors, handling returns, or updating invoice data. Either original_invoice_id or return_order_id must be provided.
  - body: { items?: object[], date_sell?: integer, fv_person?: string, series_id?: integer, fv_payment?: string, invoice_nip?: string, invoice_city?: string, invoice_state?: string, correcting_data?: integer, invoice_address?: string, invoice_company?: string, return_order_id?: integer, correcting_items?: integer, invoice_fullname?: string, invoice_postcode?: string, correcting_reason?: integer, original_invoice_id?: integer, invoice_country_code?: string }
- `POST https://api.mcp.ai/api/baselinker/add/order` — Tool to add a new order to the BaseLinker order manager. Use when you need to create a new order with customer details, products, and delivery information.
  - body: { paid: boolean, email?: string, phone?: string, currency: string, date_add: integer, products: object[], user_login?: string, invoice_nip?: string, invoice_city?: string, want_invoice?: boolean, delivery_city?: string, extra_field_1?: string, extra_field_2?: string, invoice_state?: string, user_comments?: string, admin_comments?: string, delivery_price?: number, delivery_state?: string, payment_method: string, delivery_method?: string, invoice_address?: string, invoice_company?: string, order_status_id: integer, custom_source_id?: integer, delivery_address?: string, delivery_company?: string, invoice_fullname?: string, invoice_postcode?: string, delivery_fullname?: string, delivery_point_id?: string, delivery_postcode?: string, payment_method_cod: boolean, custom_extra_fields?: object[], delivery_point_city?: string, delivery_point_name?: string, invoice_country_code?: string, delivery_country_code?: string, delivery_point_address?: string, delivery_point_postcode?: string }
- `POST https://api.mcp.ai/api/baselinker/add/order/by/split` — Tool to create a new order by splitting selected products from an existing order. Use when you need to split an order into multiple shipments or separate deliveries. The new order inherits all custome
  - body: { order_id: integer, items_to_split: object[], delivery_cost_to_split?: number }
- `POST https://api.mcp.ai/api/baselinker/add/order/duplicate` — Tool to add a new order by duplicating an existing order in BaseLinker. The new order will have the same data as the original order but with a different ID.
  - body: { order_id: integer }
- `POST https://api.mcp.ai/api/baselinker/add/order/return` — Tool to add a new order return to BaseLinker. Use when creating a return for an order. Requires status_id (get from getOrderReturnStatusList), date_add (Unix timestamp), currency (3-letter code), and 
  - body: { email?: string, phone?: string, currency: string, date_add: integer, order_id?: integer, products?: object[], refunded?: boolean, status_id: integer, user_login?: string, refund_iban?: string, refund_swift?: string, delivery_city?: string, extra_field_1?: string, extra_field_2?: string, admin_comments?: string, delivery_price?: number, delivery_state?: string, custom_source_id?: integer, delivery_address?: string, delivery_company?: string, reference_number?: string, delivery_fullname?: string, delivery_postcode?: string, custom_extra_fields?: object[], delivery_country_code?: string, refund_account_number?: string }
- `POST https://api.mcp.ai/api/baselinker/add/order/return/product` — Tool to add a new product to an existing order return in BaseLinker. Use when a customer is returning items and you need to register the returned products.
  - body: { ean?: string, sku?: string, name?: string, weight?: number, storage?: string, location?: string, quantity?: integer, tax_rate?: number, return_id: integer, status_id?: integer, attributes?: string, auction_id?: string, product_id?: string, storage_id?: string, variant_id?: string, price_brutto?: number, warehouse_id?: integer, order_product_id?: integer, return_reason_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/add/shop/category` — Tool to add a new category to BaseLinker storage (shops, warehouses, or BaseLinker inventory). Use when you need to create a new category in a connected storage's category structure. Requires a storag
  - body: { name: string, parent_id: string, storage_id: string }
- `POST https://api.mcp.ai/api/baselinker/create/package/manual` — Tool to register shipping details for orders when shipments are created outside BaseLinker. Use when you need to add tracking numbers and courier information for manually created shipments. Supports m
  - body: { order_id: integer, pickup_date: integer, courier_code: string, package_number: string, return_shipment?: boolean }
- `POST https://api.mcp.ai/api/baselinker/delete/inventory` — Tool to delete a catalog from BaseLinker storage. Use when you need to permanently remove an inventory/catalog.
  - body: { inventory_id: integer }
- `POST https://api.mcp.ai/api/baselinker/delete/inventory/category` — Tool to remove categories from BaseLinker warehouse. Along with the category, the products contained therein are removed (however, this does not apply to products in subcategories). The subcategories 
  - body: { category_id: integer }
- `POST https://api.mcp.ai/api/baselinker/delete/inventory/manufacturer` — Tool to remove a manufacturer from the BaseLinker catalog. Use when you need to delete a manufacturer that is no longer needed or was added by mistake.
  - body: { manufacturer_id: integer }
- `POST https://api.mcp.ai/api/baselinker/delete/inventory/payer` — Tool to remove a payer from BaseLinker storage. Use when you need to delete an existing payer entry by its ID.
  - body: { payer_id: integer }
- `POST https://api.mcp.ai/api/baselinker/delete/inventory/price/group` — Tool to remove a price group from BaseLinker storage. Use when you need to delete an existing price group by its identifier.
  - body: { price_group_id: integer }
- `POST https://api.mcp.ai/api/baselinker/delete/inventory/product` — Tool to remove a product from the BaseLinker catalog. Use when you need to permanently delete an inventory product by its ID.
  - body: { product_id: integer }
- `POST https://api.mcp.ai/api/baselinker/delete/inventory/warehouse` — Tool to remove a warehouse from BaseLinker inventories. Use when you need to delete a warehouse that is no longer needed. Note: This method does not allow removal of warehouses created automatically f
  - body: { warehouse_id: integer }
- `POST https://api.mcp.ai/api/baselinker/delete/order/product` — Tool to remove a specific product from an order in BaseLinker. Use when you need to delete an order item without canceling the entire order.
  - body: { order_id: integer, order_product_id: integer }
- `POST https://api.mcp.ai/api/baselinker/delete/order/return/product` — Tool to remove a specific product from an order return in BaseLinker. Use when you need to delete a product item from an existing return request.
  - body: { return_id: integer, order_return_product_id: integer }
- `POST https://api.mcp.ai/api/baselinker/delete/orders` — Tool to delete multiple orders from BaseLinker order manager. Use when you need to permanently remove orders from the system.
  - body: { order_ids: integer[] }
- `POST https://api.mcp.ai/api/baselinker/get/connect/integration/contractors` — Tool to retrieve a list of contractors connected to a selected Base Connect integration. Use when you need to discover available contractors for a specific integration before performing contractor-spe
  - body: { integration_id: integer }
- `POST https://api.mcp.ai/api/baselinker/get/connect/integrations` — Tool to retrieve a list of all Base Connect integrations on this account. Returns both integrations created on the account and integrations to which the account has connected.
- `POST https://api.mcp.ai/api/baselinker/get/courier/accounts` — Tool to retrieve the list of accounts connected to a given courier. Use when you need to identify available courier accounts before performing shipping operations.
  - body: { courier_code: string }
- `POST https://api.mcp.ai/api/baselinker/get/courier/fields` — Tool to retrieve the form fields required for creating shipments with a specific courier. Use when you need to discover which fields are required or optional for shipment creation.
  - body: { courier_code: string }
- `POST https://api.mcp.ai/api/baselinker/get/courier/packages/status/history` — Tool to retrieve the history of status changes for courier packages. Use when you need to track the delivery progress of shipments through their complete status timeline. Returns chronological status 
  - body: { package_ids: integer[] }
- `POST https://api.mcp.ai/api/baselinker/get/couriers/list` — Tool to retrieve a list of available couriers from BaseLinker. Use when you need to discover which shipping carriers are configured before creating packages or querying courier-specific fields.
- `POST https://api.mcp.ai/api/baselinker/get/external/storage/products/quantity` — Retrieve stock quantities from an external storage (shop/wholesaler) connected to BaseLinker. Use this tool to check current inventory levels for products in external integrations. Returns product IDs
  - body: { page?: integer, storage_id: string }
- `POST https://api.mcp.ai/api/baselinker/get/external/storages/list` — Retrieve a list of external storages (shops, warehouses, wholesalers) connected to BaseLinker that can be referenced via API. Returns storage IDs (e.g., 'shop_2444', 'warehouse_1334'), names, and supp
- `POST https://api.mcp.ai/api/baselinker/get/inventories` — Tool to retrieve a list of catalogs (inventories) available in the BaseLinker storage. Use when you need to discover available catalogs and their configurations before performing inventory-specific op
- `POST https://api.mcp.ai/api/baselinker/get/inventory/available/text/field/keys` — Tool to retrieve a list of product text fields that can be overwritten for a specific integration. Use when you need to discover which text fields are available for modification within a given invento
  - body: { inventory_id: integer }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/categories` — Tool to retrieve a list of categories for a BaseLinker catalog. Use when you need to fetch category hierarchies for inventory management or product organization.
  - body: { inventory_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/document/items` — Tool to retrieve items from inventory documents in BaseLinker. Use when you need to fetch product details from a specific document with support for pagination (100 items per page).
  - body: { page?: integer, document_id: integer }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/document/series` — Tool to retrieve available inventory document series. Use when you need to assign a numbering series to a new inventory document.
- `POST https://api.mcp.ai/api/baselinker/get/inventory/documents` — Tool to retrieve a list of inventory documents. Use when you need to fetch inventory records with optional filters for ID, type, status, date range, warehouse, or pagination.
  - body: { page?: integer, filter_date_to?: integer, filter_date_from?: integer, filter_document_id?: integer, filter_warehouse_id?: integer, filter_document_type?: integer, filter_document_status?: integer }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/extra/fields` — Tool to retrieve extra fields defined for BaseLinker catalog inventory items. Use before fetching or updating inventory products to list available custom fields.
- `POST https://api.mcp.ai/api/baselinker/get/inventory/integrations` — Tool to retrieve a list of integrations where text values in the catalog can be overwritten. Use when you need to discover which sales channels support text customization and what languages are availa
  - body: { inventory_id: integer }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/manufacturers` — Tool to retrieve a list of manufacturers from the BaseLinker catalog. Use when you need to view all manufacturers available in the system before adding or modifying manufacturer information.
- `POST https://api.mcp.ai/api/baselinker/get/inventory/payers` — Tool to retrieve a list of payers available in BaseLinker storage. Use when you need to list payers, optionally filtered by ID or name.
  - body: { filter_id?: integer, filter_name?: string }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/price/groups` — Tool to retrieve price groups existing in BaseLinker storage. Use when you need to discover available pricing tiers before assigning them to inventory items or performing price-related operations.
- `POST https://api.mcp.ai/api/baselinker/get/inventory/printout/templates` — Tool to retrieve a list of all configured printout templates available for inventory (products). Use when you need to discover available printout templates before generating product documents.
- `POST https://api.mcp.ai/api/baselinker/get/inventory/product/logs` — Tool to retrieve a list of events related to product changes in the BaseLinker catalog. Use when tracking product modification history, auditing changes, or monitoring inventory updates.
  - body: { page?: integer, sort?: string, date_to?: integer, log_type?: string, date_from?: integer, product_id: integer }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/products/data` — Tool to retrieve detailed data for selected products from the BaseLinker inventory. Use when you need comprehensive product information including SKU, prices, stock, dimensions, descriptions, images, 
  - body: { products: integer[], inventory_id: integer, include_erp_units?: boolean, include_suppliers?: boolean, include_wms_units?: boolean, include_additional_eans?: boolean }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/products/list` — Tool to retrieve basic data of chosen products from BaseLinker catalogs. Use when you need to list products with optional filtering by ID, category, EAN, SKU, name, price range, or stock levels. Suppo
  - body: { page?: integer, filter_id?: integer, filter_ean?: string, filter_sku?: string, filter_name?: string, filter_sort?: string, inventory_id: integer, filter_price_to?: number, filter_stock_to?: integer, include_variants?: boolean, filter_price_from?: number, filter_stock_from?: integer, filter_category_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/products/prices` — Retrieve gross prices of products from BaseLinker inventories. Use when you need to get pricing information for products and their variants across different price groups. Supports pagination for large
  - body: { page?: integer, inventory_id: integer }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/products/stock` — Tool to retrieve stock data of products from BaseLinker catalogs. Use when you need to check current inventory levels, reservations, or variant stock across warehouses. Results are paginated at 1000 p
  - body: { page?: integer, inventory_id: integer }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/purchase/order/items` — Tool to retrieve items from a specific purchase order in BaseLinker. Use when you need to fetch product details from a purchase order with support for pagination (100 items per page).
  - body: { page?: integer, order_id: integer }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/purchase/order/series` — Tool to retrieve a list of purchase order document series. Use when you need to select a numbering series for a new purchase order.
  - body: { warehouse_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/purchase/orders` — Tool to retrieve a list of purchase orders from BaseLinker storage. Use when you need to fetch purchase orders with optional filters like date range, supplier or pagination.
  - body: { page?: integer, date_to?: integer, date_from?: integer, series_id?: integer, supplier_id?: integer, warehouse_id?: integer, filter_document_number?: string }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/suppliers` — Tool to retrieve a list of suppliers available in BaseLinker storage. Use when you need to list suppliers, optionally filtered by ID or name.
  - body: { filter_id?: integer, filter_name?: string }
- `POST https://api.mcp.ai/api/baselinker/get/inventory/tags` — Tool to retrieve a list of tags for a BaseLinker catalog. Use when you need to view all tags available in the system before categorizing or filtering inventory items.
- `POST https://api.mcp.ai/api/baselinker/get/inventory/warehouses` — Tool to retrieve a list of warehouses available in BaseLinker inventories. Use when you need to discover available warehouse locations before performing inventory or stock operations. Returns warehous
- `POST https://api.mcp.ai/api/baselinker/get/invoice/file` — Tool to retrieve an invoice file from BaseLinker in base64-encoded format. Use when you need to download an invoice document generated by BaseLinker or from an external accounting system.
  - body: { invoice_id: integer, get_external?: boolean }
- `POST https://api.mcp.ai/api/baselinker/get/invoices` — Download invoices from BaseLinker order manager with optional filtering. Use this tool to: - Fetch all invoices from a specific date onwards - Retrieve a single invoice by ID or order ID - Filter invo
  - body: { id_from?: integer, order_id?: integer, date_from?: integer, series_id?: integer, invoice_id?: integer, get_government_data?: boolean, get_external_invoices?: boolean }
- `POST https://api.mcp.ai/api/baselinker/get/journal/list` — Tool to download order event logs from the last 3 days. Use when you need to track order activities, changes, or events. IMPORTANT: This method must be activated by BaseLinker support on your account.
  - body: { order_id?: integer, logs_types?: integer[], last_log_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/get/new/receipts` — Tool to retrieve receipts waiting to be issued. Use after confirming fiscal printer availability; fetch pending receipts and mark them with setOrderReceipt.
  - body: { id_from?: integer, series_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/get/order/extra/fields` — Tool to retrieve extra fields defined for orders. Use before fetching orders with include_custom_extra_fields to list available custom order fields.
- `POST https://api.mcp.ai/api/baselinker/get/order/packages` — Tool to download shipments previously created for a selected order. Use when you need to retrieve tracking numbers, courier information, and delivery status for order packages.
  - body: { order_id: integer }
- `POST https://api.mcp.ai/api/baselinker/get/order/payments/history` — Tool to retrieve payment history for a selected order, including external payment identifiers from payment gateways. Use when you need to track payment events for an order. One order can have multiple
  - body: { order_id: integer, show_full_history?: boolean }
- `POST https://api.mcp.ai/api/baselinker/get/order/pick/pack/history` — Tool to retrieve pick and pack history for a selected order. Use when you need to track the fulfillment timeline and events for an order (reservations, picking, packing, photography). Returns chronolo
  - body: { order_id: integer, action_type?: integer }
- `POST https://api.mcp.ai/api/baselinker/get/order/printout/templates` — Tool to retrieve a list of all configured printout templates available for orders. Use when you need to discover available printout templates before generating order documents.
- `POST https://api.mcp.ai/api/baselinker/get/order/return/extra/fields` — Tool to retrieve extra fields defined for order returns. Use before calling getOrderReturns with include_custom_extra_fields to list available custom fields. Field values can be set via setOrderReturn
- `POST https://api.mcp.ai/api/baselinker/get/order/return/journal/list` — Tool to download return event logs from the last 3 days in BaseLinker. Use when tracking return order history, monitoring return status changes, or auditing return-related activities. Returns events l
  - body: { return_id?: integer, logs_types?: integer[], last_log_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/get/order/return/payments/history` — Tool to retrieve payment history for a selected order return, including external payment identifiers from the payment gateway. Use when you need to track payment events, surcharges, order value change
  - body: { return_id: integer, show_full_history?: boolean }
- `POST https://api.mcp.ai/api/baselinker/get/order/return/product/statuses` — Tool to retrieve a list of order return product statuses from BaseLinker. Use when you need to identify valid status IDs for return items, or to map status IDs to human-readable names.
- `POST https://api.mcp.ai/api/baselinker/get/order/return/reasons/list` — Tool to retrieve a list of order return reasons. Use when you need to discover available return reasons before setting return fields with setOrderReturnFields.
- `POST https://api.mcp.ai/api/baselinker/get/order/return/status/list` — Tool to retrieve order return statuses created in the BaseLinker order manager. Use when you need to map return status IDs to human-readable names.
- `POST https://api.mcp.ai/api/baselinker/get/order/returns` — Download order returns from BaseLinker return manager with optional filtering. Use this tool to: - Fetch returns from a specific date onwards using date_from parameter - Retrieve a single return by re
  - body: { id_from?: integer, order_id?: integer, date_from?: integer, return_id?: integer, status_id?: integer, include_connect_data?: boolean, filter_order_return_source?: string, include_custom_extra_fields?: boolean, filter_order_return_source_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/get/order/sources` — Tool to retrieve types of order sources along with their IDs from BaseLinker. Use when you need to understand available order sources for filtering orders or mapping order_source field values from get
- `POST https://api.mcp.ai/api/baselinker/get/order/status/list` — Tool to retrieve a list of order statuses created in the BaseLinker order manager. Use when you need to map status IDs to human-readable names.
- `POST https://api.mcp.ai/api/baselinker/get/order/transaction/data` — Tool to retrieve transaction details for a selected order. Use when you need marketplace transaction IDs, fulfillment data, or detailed tax breakdowns for an order.
  - body: { order_id: integer, include_amazon_data?: boolean, include_complex_taxes?: boolean }
- `POST https://api.mcp.ai/api/baselinker/get/orders` — Download orders from BaseLinker order manager with optional filtering. Use this tool to: - Fetch all orders from a specific date onwards - Retrieve a single order by ID - Filter orders by status, emai
  - body: { id_from?: integer, order_id?: integer, date_from?: integer, status_id?: integer, filter_email?: string, date_confirmed_from?: integer, filter_order_source?: string, filter_shop_order_id?: string, include_connect_data?: boolean, filter_order_source_id?: integer, get_unconfirmed_orders?: boolean, include_commission_data?: boolean, include_custom_extra_fields?: boolean }
- `POST https://api.mcp.ai/api/baselinker/get/orders/by/phone` — Search for orders associated with a specific phone number in BaseLinker. Use when identifying callers in phone recognition systems or finding order history by phone. Returns basic order information in
  - body: { phone: string }
- `POST https://api.mcp.ai/api/baselinker/get/package/details` — Tool to get detailed information about a package. If the package contains multiple subpackages, information about all of them is included in the response. Use when you need comprehensive package dimen
  - body: { package_id: integer }
- `POST https://api.mcp.ai/api/baselinker/get/pick/pack/carts` — Tool to retrieve a list of all PickPack carts belonging to the authenticated user. Use when you need to discover available carts and their details (ID, name, color) before performing cart-specific ope
- `POST https://api.mcp.ai/api/baselinker/get/protocol` — Tool to download a parcel protocol for selected shipments. Use when you need to retrieve shipping protocol documents (PDF or HTML) for packages sent via a courier. The protocol is available only if su
  - body: { account_id: integer, package_ids?: integer[], courier_code: string, package_numbers?: string[] }
- `POST https://api.mcp.ai/api/baselinker/get/receipts` — Tool to retrieve issued receipts from BaseLinker. Use when you need to fetch historical receipt data. Max 100 receipts returned per request.
  - body: { date_to?: integer, id_from?: integer, date_from?: integer, series_id?: integer }
- `POST https://api.mcp.ai/api/baselinker/get/request/parcel/pickup/fields` — Tool to retrieve additional fields for a parcel pickup request from a specific courier. Use when preparing to request a parcel pickup and need to know which additional information the courier requires
  - body: { courier_code: string }
- `POST https://api.mcp.ai/api/baselinker/get/series` — Tool to download invoice/receipt numbering series. Use when you need to retrieve all series configurations before issuing documents.
- `POST https://api.mcp.ai/api/baselinker/get/storages/list` — Tool to download a list of available storages accessible via API. Use when you need to discover storage endpoints and capabilities before performing storage-specific operations.
- `POST https://api.mcp.ai/api/baselinker/run/order/macro/trigger` — Tool to run personal trigger for orders automatic actions. Use when you need to execute a specific automation trigger on an order.
  - body: { order_id: integer, trigger_id: integer }
- `POST https://api.mcp.ai/api/baselinker/run/product/macro/trigger` — Tool to execute a personal trigger for products automatic actions. Use when you need to manually run a custom event trigger for a specific product in BaseLinker inventory.
  - body: { product_id: integer, trigger_id: integer }
- `POST https://api.mcp.ai/api/baselinker/run/request/parcel/pickup` — Tool to request a parcel pickup for previously created shipments. Use when you need to schedule a courier pickup for packages that have been created. The method sends a pickup request to the courier A
  - body: { fields?: object[], account_id: integer, courier_code: string, package_numbers: string[] }
- `POST https://api.mcp.ai/api/baselinker/set/inventory/purchase/order/status` — Tool to change the status of a purchase order in BaseLinker inventory. Use when you need to update a purchase order's status (e.g., mark as sent, received, completed, or canceled).
  - body: { status: integer, order_id: integer, completed_items?: object[] }
- `POST https://api.mcp.ai/api/baselinker/set/order/fields` — Tool to edit selected fields of a specific order in BaseLinker. Use when you need to update order details such as address data, notes, payment method, delivery information, or invoice details. Only pr
  - body: { email?: string, phone?: string, order_id: integer, pack_state?: integer, pick_state?: integer, user_login?: string, invoice_nip?: string, invoice_city?: string, want_invoice?: boolean, delivery_city?: string, extra_field_1?: string, extra_field_2?: string, invoice_state?: string, user_comments?: string, admin_comments?: string, delivery_price?: number, delivery_state?: string, payment_method?: string, delivery_method?: string, invoice_address?: string, invoice_company?: string, delivery_address?: string, delivery_company?: string, invoice_fullname?: string, invoice_postcode?: string, delivery_fullname?: string, delivery_point_id?: string, delivery_postcode?: string, payment_method_cod?: boolean, custom_extra_fields?: object[], delivery_point_city?: string, delivery_point_name?: string, invoice_country_code?: string, delivery_country_code?: string, delivery_point_address?: string, delivery_point_postcode?: string }
- `POST https://api.mcp.ai/api/baselinker/set/order/payment` — Tool to add a payment to an order in BaseLinker. Use when recording a payment for an order. The payment amount replaces (not adds to) the current payment value; if it matches the order total, the orde
  - body: { order_id: integer, payment_date: integer, payment_done: number, payment_comment: string, external_payment_id?: string }
- `POST https://api.mcp.ai/api/baselinker/set/order/product/fields` — Tool to edit data of selected items in a specific BaseLinker order. Use when you need to update product fields like prices, quantities, SKU, or other item details. Only provide the fields you want to 
  - body: { ean?: string, sku?: string, name?: string, weight?: number, storage?: string, location?: string, order_id: integer, quantity?: integer, tax_rate?: number, attributes?: string, auction_id?: string, product_id?: string, storage_id?: string, variant_id?: string, price_brutto?: number, warehouse_id?: integer, order_product_id: integer }
- `POST https://api.mcp.ai/api/baselinker/set/order/receipt` — Tool to mark orders with a receipt already issued. Use after printing receipts retrieved from getNewReceipts to confirm receipt issuance.
  - body: { date: integer, receipt_id: integer, receipt_nr: string, printer_name?: string, printer_error: boolean }
- `POST https://api.mcp.ai/api/baselinker/set/order/return/fields` — Tool to edit selected fields of a specific order return. Use when updating return information such as buyer contact details, delivery address, or custom fields. Only the fields that need to be changed
  - body: { email?: string, phone?: string, return_id: integer, user_login?: string, delivery_city?: string, extra_field_1?: string, extra_field_2?: string, admin_comments?: string, delivery_price?: number, delivery_state?: string, delivery_address?: string, delivery_company?: string, delivery_fullname?: string, delivery_postcode?: string, custom_extra_fields?: object, delivery_country_code?: string }
- `POST https://api.mcp.ai/api/baselinker/set/order/return/product/fields` — Tool to edit data of selected items (e.g., prices, quantities, attributes) of a specific order return product. Use when you need to update fields of a returned product in an order return.
  - body: { ean?: string, sku?: string, name?: string, weight?: number, storage?: string, location?: string, quantity?: integer, tax_rate?: number, return_id: integer, status_id?: integer, attributes?: string, auction_id?: string, product_id?: string, storage_id?: string, variant_id?: string, price_brutto?: number, warehouse_id?: integer, return_reason_id?: integer, order_return_product_id: integer }
- `POST https://api.mcp.ai/api/baselinker/set/order/return/refund` — Tool to mark an order return as refunded in BaseLinker. Use when recording that a refund has been issued for a return. Note: This method doesn't issue an actual money refund - it only updates the refu
  - body: { return_id: integer, refund_date: integer, refund_comment: string, order_refund_done: number, external_refund_id?: string }
- `POST https://api.mcp.ai/api/baselinker/set/order/return/status` — Tool to change order return status in BaseLinker. Use when you need to update the status of a single order return.
  - body: { return_id: integer, status_id: integer }
- `POST https://api.mcp.ai/api/baselinker/set/order/return/statuses` — Tool to batch set order return statuses in BaseLinker. Use when you need to update the status of multiple order returns at once.
  - body: { status_id: integer, return_ids: integer[] }
- `POST https://api.mcp.ai/api/baselinker/set/order/status` — Tool to change the status of an existing order in BaseLinker. Use when you need to update an order's status to a different value.
  - body: { order_id: integer, status_id: integer }
- `POST https://api.mcp.ai/api/baselinker/set/order/statuses` — Tool to batch update order statuses in BaseLinker. Use when you need to set the same status for multiple orders at once.
  - body: { order_ids: integer[], status_id: integer }
- `POST https://api.mcp.ai/api/baselinker/set/orders/merge` — Tool to merge multiple orders into one, based on the selected merge mode. Use when you need to combine orders together with either technical merge or into main order mode.
  - body: { merge_mode: string, main_order_id: integer, order_ids_to_merge: integer[], sum_delivery_costs: boolean }
- `POST https://api.mcp.ai/api/baselinker/update/inventory/products/stock` — Tool to update stocks of products and their variants in BaseLinker catalog. Use when you need to modify inventory levels for products across warehouses. Maximum 1000 products per request.
  - body: { products: object, inventory_id: integer }

## Example prompts
- "What can I do in Baselinker?"
- "Show me a summary of my Baselinker account"

## More
- Page: https://mcp.ai/baselinker
- Agent spec (llms.txt): https://mcp.ai/baselinker/llms.txt
- Postman collection: https://mcp.ai/baselinker/postman.json
