Summary
Hepsiburada merchant APIs for Turkish sellers: paid orders and packages with carrier changes, shipping status and invoice links, listings with bulk price and stock uploads, buybox and commissions, catalog categories and import status, claims and customer questions. Merchant id, service key and integrator username.
Guided setup
Connect Hepsiburada to Gemini in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Hepsiburada 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 Hepsiburada
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 → Hepsiburada, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Hepsiburada + Gemini
Hepsiburada merchant APIs for Turkish sellers: paid orders and packages with carrier changes, shipping status and invoice links, listings with bulk price and stock uploads, buybox and commissions, catalog categories and import status, claims and customer questions. Merchant id, service key and integrator username.
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:
HEPSIBURADA_MERCHANT_ID, HEPSIBURADA_SERVICE_KEY, HEPSIBURADA_INTEGRATOR_USERNAME
Step 1 — Get credentials
Setting up takes about two parts.
- Integrator (developer) account. Hepsiburada only answers requests whose
User-Agentis the username of an authorised integrator. If you build the integration yourself, open a ticket in the merchant panel: Yardım Merkezi > Talepler > Yeni talep, topic API ENTEGRASYON - API Entegratör Yetkilendirme İşlemleri. Hepsiburada sends test credentials first; after the test scenarios a second ticket gives the production account. Its username (often ending in_dev) goes intoHEPSIBURADA_INTEGRATOR_USERNAME. If an integration partner gave you its username, use that. - Authorise the integrator and copy the key. In the merchant panel open Hesabım > Bilgilerim > Entegrasyon, tab Entegratör Bilgileri, click Entegratör ekle and enter that username (it can take about 2 hours to take effect). Then find it under Entegratörlerim, click Servis Anahtarı and copy the key into
HEPSIBURADA_SERVICE_KEY. Copy the Mağaza ID from the same page intoHEPSIBURADA_MERCHANT_ID. - Install and run
hepsiburada_list_listings.
How requests are signed: HTTP Basic with the merchant id as user and the service key as password, plus the integrator username as User-Agent. 401 means a wrong id or key; 403 means the merchant has not authorised that integrator. Creating a new service key in the panel invalidates the old one at once.
Where to start: hepsiburada_list_orders (paid lines waiting to be packed), hepsiburada_get_order, then hepsiburada_list_listings for prices and stock.
Order flow: paid lines (hepsiburada_list_orders; still unpaid ones in hepsiburada_list_payment_awaiting_orders) > check which lines fit together with hepsiburada_list_packageable_lines > hepsiburada_create_package (answers packageNumber and barcode) > hepsiburada_list_packages (ready to ship) > the carrier picks it up > hepsiburada_list_shipped_packages > hepsiburada_list_delivered_packages or hepsiburada_list_undelivered_packages. Track one package with hepsiburada_get_package. Fix a package with hepsiburada_unpack_package (unpacked ones are listed by hepsiburada_list_unpacked_packages), hepsiburada_split_package or hepsiburada_update_parcel_info. Change the carrier before packing with hepsiburada_list_line_cargo_companies and hepsiburada_change_line_cargo_company, after packing with hepsiburada_list_package_cargo_companies and hepsiburada_change_package_cargo_company. Sellers who ship with their own carrier or sell digital goods report the steps with hepsiburada_mark_package_in_transit, hepsiburada_mark_package_delivered and hepsiburada_mark_package_undelivered; with Hepsiburada's contracted carriers this happens by itself. Invoices: hepsiburada_list_missing_invoice_packages, then hepsiburada_send_invoice_link (a PDF or HTML link). Cancelled lines: hepsiburada_list_cancelled_orders. hepsiburada_cancel_order_line is installed switched off: it can cost a penalty, is limited to 100 a day and only works on lines not packed yet.
Listings: hepsiburada_list_listings (lock and freeze reasons included). Bulk updates are jobs: hepsiburada_upload_prices and hepsiburada_upload_stock answer an upload id; read the outcome with hepsiburada_get_price_upload and hepsiburada_get_stock_upload until status is Done (price locks show up as MinLock or MaxLock with the allowed range). At most 5 jobs may be pending and 4,000 rows per job. hepsiburada_update_listing changes one listing right away. hepsiburada_activate_listing puts a listing back on sale; hepsiburada_deactivate_listing and hepsiburada_delete_listing are switched off. hepsiburada_get_buybox_ranking (10 SKUs) and hepsiburada_get_commissions (50 SKUs) give market insight.
Catalog: hepsiburada_list_categories, hepsiburada_get_category_attributes and hepsiburada_list_attribute_values describe what a product needs. hepsiburada_fast_list_product lists a product that already exists in the Hepsiburada catalog under your store; creating new products and updating product content work only by uploading a JSON file (multipart), which this connector does not do, so use the seller panel or the file import for those. Follow imports with hepsiburada_list_tracking_ids and hepsiburada_get_product_import_status, and check products with hepsiburada_list_products_by_status, hepsiburada_list_merchant_products and hepsiburada_check_product_status.
Claims (returns): hepsiburada_list_claims and hepsiburada_list_claims_by_status. hepsiburada_preapprove_claim asks for the product to inspect an exchange first. hepsiburada_accept_claim (accepting refunds the buyer) and hepsiburada_reject_claim are installed switched off.
Customer questions: hepsiburada_count_questions, hepsiburada_list_questions (status 1 = waiting), hepsiburada_get_question, and hepsiburada_answer_question within one working day after the user approved the text. hepsiburada_report_question is switched off.
Shipping profiles: hepsiburada_list_cargo_firms and hepsiburada_list_shipping_profiles.
Paging and dates: order, package and claim lists need offset and limit together (the connector fills offset 0 and the maximum): paid orders up to 100, ready packages and unpacked up to 10, shipped, delivered, undelivered, cancelled and missing-invoice up to 50, listings up to 2,000. Catalog lists use page from 0 and size; questions use page from 1. Order and claim windows take yyyy-MM-dd HH:mm in Turkey time and span at most 24 hours (a longer window is cut); shipped packages reach back one month. Listings and questions take ISO 8601.
Limits: order services allow about 1,000 requests a second (429 with X-RateLimit headers), the catalog 180 a minute per IP, commissions about 240 a minute. 406 means a business limit (daily cancellations, orders before 2020); 409 a conflict such as an invoice already attached.
Writes: confirm first. Packages, carrier changes, shipping status, invoices, prices, stock and answers act on the live store. Before each call show the user what changes and wait for a yes. No tool buys labels or moves money.
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
Hepsiburadatools.
Available tools
| Tool | What it does |
|---|---|
hepsiburada_list_orders | List paid order lines waiting to be packed: per line id (the line id), orderNumber, merchantSku, hbSku, quantity, prices, dueDate (expected… |
hepsiburada_get_order | Read one order by order number: createdDate, customer, deliveryAddress, invoice details and every line with id, sku, merchantSku, quantity… |
hepsiburada_list_payment_awaiting_orders | List order lines whose payment is still awaited (bank transfer and similar): Id, OrderNumber, OrderDate, Sku, MerchantSku, Name, Quantity… |
hepsiburada_list_cancelled_orders | List cancelled order lines: lineItemId, orderNumber, sku, merchantSku, quantity, cancelDate, cancelReasonCode and cancelledBy. Up to 50 per… |
hepsiburada_list_packageable_lines | List the order lines that can go into the same package as a given line: lineItemId, orderNumber, quantity, deci per line and totalDeci. Use… |
hepsiburada_create_package | Pack one or more paid order lines into a package. Answers packageNumber and barcode (the shipping label code). Carrier is required when you… |
hepsiburada_list_packages | List packages ready to ship: package number, barcode, cargoCompany, dueDate, billing and shipping address and items (lineItemId… |
hepsiburada_list_shipped_packages | List packages handed to the carrier: PackageNumber, OrderNumbers, Barcode, Deci, ShippedDate. Reaches back one month. Up to 50 per page |
hepsiburada_list_delivered_packages | List delivered packages: PackageNumber, OrderNumbers, Barcode, DeliveredDate and HasInvoice (whether an invoice is attached). Up to 50 per… |
hepsiburada_list_undelivered_packages | List packages that could not be delivered: PackageNumber, OrderNumbers, Barcode, UndeliveredDate and UndeliveredReason. Up to 50 per page |
hepsiburada_list_missing_invoice_packages | List packages that still have no invoice attached: packageNumber, orderNumbers and status. Attach one with hepsiburada_send_invoice_link.… |
hepsiburada_list_unpacked_packages | List packages that were unpacked (their lines went back to the paid order list), by date window or timespan. Up to 10 per page |
hepsiburada_get_package | Read the shipping state of a package: status (e.g. Intransit, Delivered), cargoCompany, barcode, trackingInfoCode, trackingInfoUrl, deci… |
hepsiburada_unpack_package | Unpack a package that has not been shipped: its lines go back to the paid order list and can be packed again. No body |
hepsiburada_split_package | Split a package into several packages by line and quantity. Each entry of packages lists its lines; every line of the original package must… |
hepsiburada_list_line_cargo_companies | List the carriers an order line that is not packed yet can be switched to: Id, Name, ShortName, IsActive, MinDeci and MaxDeci |
hepsiburada_change_line_cargo_company | Switch the carrier of an order line before it is packed, to a ShortName from hepsiburada_list_line_cargo_companies. Answers 204 |
hepsiburada_list_package_cargo_companies | List the carriers a packed package can be switched to: Id, Name, ShortName, IsActive, MinDeci and MaxDeci |
hepsiburada_change_package_cargo_company | Switch the carrier of a packed package to a ShortName from hepsiburada_list_package_cargo_companies. The barcode stays the same. Answers… |
hepsiburada_mark_package_in_transit | Report a package as shipped, with tracking. Only for sellers who ship with their own carrier or sell digital goods; with Hepsiburada's… |
hepsiburada_mark_package_delivered | Report a package as delivered. Only for sellers who deliver with their own carrier or sell digital goods (send the codes in digital_codes) |
hepsiburada_mark_package_undelivered | Report a package as not delivered, with the reason. Only for sellers who deliver with their own carrier |
hepsiburada_send_invoice_link | Attach the invoice of a package as a link to a PDF or HTML page. Send invoice_link for the whole package, or invoices with one link per… |
hepsiburada_update_parcel_info | Correct the number of parcels and the total desi of a package. At least one of the two must be above 0 |
hepsiburada_cancel_order_line | Cancel an order line that is not packed yet, with a reason code (default 83). Hepsiburada may charge a penalty, allows 100 cancellations a… |
hepsiburada_list_listings | List your listings: listingId, hepsiburadaSku, merchantSku, price, availableStock, dispatchTime, cargo companies, shippingProfileName… |
hepsiburada_upload_prices | Update prices in bulk (asynchronous): answers an upload id; read the result with hepsiburada_get_price_upload. Up to 4,000 rows per upload… |
hepsiburada_get_price_upload | Read the result of a price upload: status (Done when finished), total, errors per row and priceValidations (MinLock or MaxLock with the… |
hepsiburada_upload_stock | Update stock in bulk (asynchronous): answers an upload id; read the result with hepsiburada_get_stock_upload. Up to 4,000 rows per upload… |
hepsiburada_get_stock_upload | Read the result of a stock upload: status (Done when finished), total and errors per row |
hepsiburada_update_listing | Change the price, stock or dispatch time of one listing right away (single update, no upload job). Give the Hepsiburada SKU and your… |
hepsiburada_activate_listing | Put a listing back on sale by its Hepsiburada SKU. Price and stock must both be above 0, otherwise the call is refused |
hepsiburada_deactivate_listing | Take a listing off sale (unlisting). Installed switched off; setting stock 0 pauses it as well |
hepsiburada_delete_listing | Delete a listing that is not on sale (deactivate it first). Cannot be undone; the listing has to be created again. Installed switched off |
hepsiburada_get_buybox_ranking | Read the buybox ranking of up to 10 Hepsiburada SKUs: per SKU the merchants with their rank and price |
hepsiburada_get_commissions | Read the commission rates of up to 50 Hepsiburada SKUs. About 240 calls a minute |
hepsiburada_list_categories | List Hepsiburada categories: categoryId, name, displayName, parentCategoryId, paths, leaf and status, with totalElements and totalPages.… |
hepsiburada_get_category_attributes | Read the attributes of a category: baseAttributes, attributes and variantAttributes, each with id, name, mandatory, type and multiValue |
hepsiburada_list_attribute_values | List the allowed values of one attribute in a category: value id and value text, paged with page and size (up to 1,000 per page) |
hepsiburada_get_product_import_status | Read the result of a product import by trackingId: per product merchantSku, hbSku, barcode, productStatus, importStatus (SUCCESS, FAILED… |
hepsiburada_list_tracking_ids | List the trackingIds of your past product imports, newest first, to follow up with hepsiburada_get_product_import_status |
hepsiburada_list_products_by_status | List your catalog products in one status: merchantSku, barcode, hbSku, variantGroupId, productName, productStatus, taskDetails… |
hepsiburada_list_merchant_products | List all catalog products of your store, optionally one barcode, merchant SKU or Hepsiburada SKU, paged |
hepsiburada_check_product_status | Read the catalog status of products by merchant SKU: per SKU its status in the catalog (skuStatusList). Read-only |
hepsiburada_fast_list_product | List a product that already exists in the Hepsiburada catalog under your store (fast listing), with your merchant SKU, stock and price.… |
hepsiburada_list_claims | List claims (returns, missing items, exchanges): number, claimType, status, orderNumber, lineItemId, sku, merchantSku, quantity… |
hepsiburada_list_claims_by_status | List claims in one status (NewRequest, AwaitingAction, AwaitingPreApproval, InDispute, Accepted, Rejected, Refunded, Cancelled), with the… |
hepsiburada_accept_claim | Accept a claim. Without finalized_with an exchange claim is accepted as a return, so the buyer is refunded. Installed switched off |
hepsiburada_reject_claim | Reject a claim with a reason and your statement; Hepsiburada may review it as a dispute. Installed switched off |
hepsiburada_preapprove_claim | Pre-approve an exchange claim in AwaitingPreApproval: the product is sent to you for inspection before you decide (preApprovalReason… |
hepsiburada_list_questions | List customer questions: issueNumber, createdAt, expireDate (answer deadline, one working day), status, subject, orderNumber and lineItemId… |
hepsiburada_get_question | Read one customer question with its whole conversation (who wrote what and when), subject, order reference, status and expireDate |
hepsiburada_count_questions | Count customer questions per status (waiting for an answer, answered, rejected, auto-closed). A cheap way to see open questions |
hepsiburada_answer_question | Answer a customer question (at most 2,000 characters). Answer within one working day, or the question is closed automatically. Sent as a… |
hepsiburada_report_question | Report a question as a problem (inappropriate, not for you) instead of answering it. Installed switched off |
hepsiburada_list_cargo_firms | List the carriers available to your store, with their ids and names, as used in shipping profiles |
hepsiburada_list_shipping_profiles | List your shipping profiles: name and the carriers with their priority. Listings refer to a profile by shippingProfileName |
Example prompts
- "Which Hepsiburada order lines are ready to be packed?"
- "Create a package for the open lines of order 4123456789."
- "Where do my listings rank in the buybox, and which ones lost it?"
- "Upload a new price of 1.249 TL for SKU HB-KUPA-01."
- "Which customer questions are still unanswered?"
FAQ
What do I need? The merchant id and the service key from the merchant panel (Entegrasyon), and an approved integrator username: request it with the ticket API ENTEGRASYON - API Entegratör Yetkilendirme İşlemleri in the help centre, then add the integrator in the panel.
What does it cover? Paid orders and packages with carrier changes, shipping status and invoice links, listings with bulk price and stock uploads, buybox and commissions, catalog categories and import status, claims and customer questions.
Which tools install switched off? hepsiburada_cancel_order_line, hepsiburada_accept_claim, hepsiburada_reject_claim, hepsiburada_deactivate_listing, hepsiburada_delete_listing and hepsiburada_report_question. 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?