Summary
Erli.pl Marketplace API for sellers: products with price and stock, timed promotions, orders and their change feed, seller status, tracking numbers, delivery price lists, categories and attributes, terms and commission estimates. API key from the Erli seller panel.
Guided setup
Connect Erli to Gemini in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Erli in the guided setup, then add your MCP URL to Gemini. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for Erli
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Erli, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Erli + Gemini
Erli.pl Marketplace API for sellers: products with price and stock, timed promotions, orders and their change feed, seller status, tracking numbers, delivery price lists, categories and attributes, terms and commission estimates. API key from the Erli seller panel.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
ERLI_API_URL, ERLI_API_KEY
Step 1 — Get credentials
Setting up takes about 3 minutes.
- Sign in to your Erli shop, open moje Erli > Ustawienia sklepu > Metoda integracji and choose Własna integracja po API (own API integration). Erli then turns off adding products by hand in the panel.
- Under Klucze API click Wygeneruj nowy klucz. Give it the scopes you need (product, order, pricelist; read-only scopes end in
:read) or full access. Copy the key at once: the secret is shown only when it is created. - Paste it into
ERLI_API_KEY, keepERLI_API_URLon production (the sandbox at sandbox.erli.dev needs its own account and key from Erli support), install and runerli_get_shop.
Where to start: erli_get_shop shows the shop, its markets and the key's scopes. erli_list_order_changes returns new and changed orders (mark them with erli_mark_order_changes_read once processed), or search with erli_search_orders (paymentStatus completed for paid orders) and read one with erli_get_order.
Products: your own id is the externalId in every product call. erli_search_products (keyset paging with after), erli_get_product, erli_create_product and erli_update_product (only the fields that change; price and stock updates too). Writes answer 202: Erli checks categories, images and buyability afterwards, so read buyableProblems a few minutes later. Fields edited in the Erli panel are frozen and the API silently keeps them. Products cannot be deleted: pause with status inactive; erli_archive_product (switched off) archives for good. Promotions: erli_create_product_discount and erli_get_product_discount. erli_list_product_changes and erli_mark_product_changes_read tell you which products Erli wants sent again.
Categories and attributes: erli_search_categories, erli_list_category_attributes and erli_list_attribute_values give Erli ids to send with source marketplace; otherwise send your own category path and Erli maps it. erli_list_terms lists the returns, complaints and warranties terms whose identifiers a product can name. erli_estimate_commission estimates the fee.
Orders and shipping: status is Erli's payment state (pending, purchased, cancelled, returned); sellerStatus is yours, set with erli_update_order_status. Ship with your own carrier and register the tracking number with erli_add_tracking (one parcel per call; erli_list_delivery_vendors lists the carrier codes), then erli_get_external_parcel or erli_update_external_parcel. erli_delete_external_parcel and erli_cancel_order are installed switched off; cancelling makes Erli refund the buyer and stock is not restored, so raise it yourself with erli_update_product. erli_set_order_external_id stores your own order number. Erli's own paid labels (Przesyłki Erli) are not part of this connector; erli_list_shipping_methods only lists them. Returns arrive inside the order (returns, status returned); there is no endpoint for buyer messages.
Delivery prices: erli_list_delivery_price_lists, erli_get_delivery_price_lists_details and erli_list_delivery_methods.
Markets: shops that also sell in Germany pass market (pl or de) on product, promotion and terms calls; without it the shop's base market is used, and a market the shop does not run answers 400.
Formats and limits: money is in grosze (10000 = 100.00 PLN or EUR); weights in grams; dates ISO 8601. Order ids look like 123456x7890. Erli does not publish fixed rate limits: the allowance follows its load and a 429 means wait and retry. A key without the needed scope answers 403 (SAI-12); a key not used for 90 days is switched off. Errors carry message, errorCode and a Polish polishMessage.
Writes: confirm first. Prices, stock, promotions, order status and tracking act on the live shop. Before each call show the user what changes and wait for a yes.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Gemini
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of
YOUR_MCP_API_KEY. - Save the file and restart
gemini. - Run
/mcpinside Gemini CLI (orgemini mcp listin your shell) —anythingmcpshould show as connected. - Start prompting — Gemini CLI can now call the
Erlitools.
Available tools
| Tool | What it does |
|---|---|
erli_get_shop | Read the shop the API key belongs to: id, name, active, company (NIP and name), the markets it sells on (pl, de) and the scopes of the key.… |
erli_search_products | Search your products: externalId, marketplaceId, name, status (active or inactive), archived, price and stock (price in grosze), currency… |
erli_get_product | Read one product by your externalId: name, description, ean, sku, images, price and cataloguePrice (grosze), stock, status, archived… |
erli_get_product_discount | Read the timed price promotion of a product: newPrice (grosze), startAt, restoreAt and unfreezeAfterwards. 404 when the product has no… |
erli_search_orders | Search orders, by default oldest updated first: id, status (pending, purchased, cancelled, returned), sellerStatus (your fulfilment… |
erli_get_order | Read one order: status, sellerStatus, buyer and addresses, invoice details, items with prices in grosze, delivery method, pickup point and… |
erli_list_order_changes | Read the 500 oldest unread order events (orderCreated, orderStatusChanged, orderSellerStatusChanged), each with id, created, type and the… |
erli_list_product_changes | Read the 500 oldest unread product events (productsNeedSync: Erli asks you to send the listed externalProductIds again, optionally only… |
erli_get_external_parcel | Read a parcel you registered with erli_add_tracking: id, orderId, vendor, trackingNumber, status and statusHistory |
erli_list_delivery_price_lists | List your delivery price lists: id and name. Products point to a list by name in deliveryPriceList; the default list is named * |
erli_get_delivery_price_lists_details | Read delivery price lists in detail: per delivery method the basePrice and nextItemPrice in grosze, item limit and next-day option, plus… |
erli_list_delivery_methods | List the delivery methods a price list can offer: id, name, vendor and whether it is cash on delivery. Use the ids in delivery price lists |
erli_list_delivery_vendors | List the carriers Erli knows (vendor codes such as inpost, dpd, dhl, pocztaPolska, ownTransport, selfPickup), the values accepted as vendor… |
erli_list_shipping_methods | List Erli's own shipping services (Przesyłki Erli): id, group, operator and cash on delivery. Read-only reference; this connector does not… |
erli_search_categories | List Erli marketplace categories: id, name, leaf and breadcrumb. Paging by id: pass the last id as after. Up to 200 per call |
erli_list_category_attributes | List the Erli attributes of a category (id, name, type, unit, whether required) to send as externalAttributes with source marketplace |
erli_list_attribute_values | List the allowed values of the dictionary attributes of a category (attribute id, value id and name) |
erli_list_terms | List your return, statutory warranty (complaints) or guarantee terms: identifier, duration, default flag, who pays the return and the… |
erli_estimate_commission | Estimate today's Erli commission for selling a product: commission in grosze, market and currency. Nothing is charged |
erli_create_product | Create a product under your own externalId. Answers 202 when the data passed basic checks; categories, images and buyability are processed… |
erli_update_product | Change a product: send only the fields that change (price and stock too; prices in grosze). Answers 202 with updatedFields. Fields the… |
erli_archive_product | Archive a product: it can no longer be bought and disappears from the panel. Cannot be undone through the API; to pause a product set… |
erli_create_product_discount | Start a timed price promotion for a product: newPrice (grosze) from startAt until restoreAt, then the old price returns. unfreezeAfterwards… |
erli_update_order_status | Set your fulfilment status of an order (sellerStatus): readyToProcess, inProgress, sent, readyToPickup (personal pickup ready), received… |
erli_cancel_order | Cancel an order on the seller side (sellerStatus canceled). Cannot be undone; Erli refunds the buyer, and stock is not restored… |
erli_set_order_external_id | Store your own order number on an Erli order (externalOrderId, up to 2000 characters). Fails on cancelled orders |
erli_add_tracking | Register a parcel you ship with your own carrier, with its tracking number, so the buyer can follow it. Answers a list with the created… |
erli_update_external_parcel | Change a parcel registered with erli_add_tracking: carrier, tracking number, status or type. 409 when the tracking number is already used |
erli_delete_external_parcel | Delete a parcel registered with erli_add_tracking (the buyer loses its tracking). Installed switched off |
erli_mark_order_changes_read | Mark order events as read so erli_list_order_changes moves on: everything up to last_message_id, or the listed ids. Answers the number of… |
erli_mark_product_changes_read | Mark product events as read so erli_list_product_changes moves on: everything up to last_message_id, or the listed ids |
Example prompts
- "Which Erli orders came in today and still need shipping?"
- "Add InPost tracking 520000012345678901234567 to order 1234567."
- "Set the stock of product ERL-KUBEK-01 to 40 and the price to 39.99 PLN."
- "Start a 10% promotion on product ERL-KUBEK-01 until Sunday."
- "What commission would Erli charge on a 199 PLN sale in the category Home?"
FAQ
Where does the API key come from? In your Erli shop: moje Erli, Ustawienia sklepu, Metoda integracji, choose Własna integracja po API, then Klucze API, Wygeneruj nowy klucz. Erli turns off adding products by hand once the API integration is on.
What does it cover? Products with price and stock, timed promotions, orders and their change feed, seller status, tracking numbers, delivery price lists, categories and attributes, terms and commission estimates.
Which tools install switched off? erli_cancel_order, erli_archive_product and erli_delete_external_parcel. Switch them on on the connector page only if the AI should use them.
Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.
Next steps
Was this guide helpful?