Summary
Run your shop on The Range marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in the United Kingdom; sign in with the shop API key from your The Range seller back office.
Guided setup
Connect The Range Marketplace to Claude, ChatGPT or Copilot in 2 minutes
Start a free trial on AnythingMCP Cloud, connect The Range Marketplace in the guided setup, then add your MCP URL to your AI assistant. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for The Range Marketplace
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 → The Range Marketplace, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
The Range Marketplace
Run your shop on The Range marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in the United Kingdom; sign in with the shop API key from your The Range seller back office.
Setup
Countries: the United Kingdom. Sellers can also choose to deliver to the Republic of Ireland, the Channel Islands and the Isle of Man.
Who can sell: The Range takes applications on its marketplace sign-up page and verifies each seller: it asks for a UK company registration number that matches Companies House and for the UK VAT details of the business. The connector needs a seller account that The Range has already opened.
The Range moved its marketplace to a new seller back office in 2026 and migrated the existing seller accounts. The user name and password of the earlier Partner Central API do not work here; the connector needs the API key from the new back office.
Setting up takes about 5 minutes.
- Sign in to The Range's seller back office:
https://therangeuk-prod.mirakl.net/login. - In the back office open your user name (top right) > My user settings > API key and click Generate a new key (or copy the existing key). Paste it into
THE_RANGE_API_KEY. The key is sent as is in theAuthorizationheader, withoutBearer. Generating a new key invalidates the old one, so any other tool using it stops working. - Leave
THE_RANGE_SHOP_IDempty. Only if your user manages several shops on The Range, setTHE_RANGE_SHOP_IDto the numeric id of the shop this connector should work on (shown on the dashboard of the back office next to Identifier or Shop ID, and returned asshop_idbythe_range_get_account). Without it your default shop is used. - Install and run
the_range_get_account: it returns the shop the key belongs to.
Where to start: the_range_get_account shows the shop behind the key (id, name, state, currency and channels). For the daily work use the_range_list_orders with order_state_codes=WAITING_ACCEPTANCE, the_range_list_offers for prices and stock and the_range_list_threads for messages that wait for a reply.
Products and competing offers: the_range_get_products looks products up in The Range's catalog by EAN or another reference and returns the marketplace product SKU; the_range_list_product_offers lists the offers of every shop for given products, best price first, at about 5 calls a minute.
Order workflow: a new order waits in WAITING_ACCEPTANCE. the_range_accept_order accepts (or refuses) every line; after the customer is debited the order moves to SHIPPING. Then the_range_update_tracking stores the carrier and tracking number (carrier codes come from the_range_list_carriers) and the_range_ship_order confirms the shipment (SHIPPED). Later states are TO_COLLECT, RECEIVED, CLOSED, REFUSED and CANCELED. Use the_range_list_orders with order_state_codes=WAITING_ACCEPTANCE for the daily to-do list and has_incident=true for open incidents; the_range_resolve_incident closes an incident on one order line once it is solved. Documents attached to orders (delivery notes, labels, customer invoices) are listed by the_range_list_order_documents.
Writes: confirm first. the_range_accept_order, the_range_update_tracking, the_range_ship_order, the_range_resolve_incident, the_range_accept_return, the_range_receive_return, the_range_update_offers, the_range_reply_thread, the_range_create_order_thread and the_range_import_products act on the live marketplace. Before each call, show the user what will change (order id and lines, tracking number, offer SKU with the old and new price or stock, the message text and recipients) and wait for a yes. Refusing an order line cancels it for good. No tool here refunds, cancels orders or moves money; do that in the back office. the_range_import_offers can delete offers (REPLACE mode deletes every offer missing from the file), so it is installed switched off.
Updating offers (prices and stock): the_range_update_offers (OF24) replaces the whole offer. Every field you leave out is reset: a missing quantity becomes 0, a missing discount or description is deleted. Always read the offer first (the_range_get_offer or the_range_list_offers with sku) and send it back complete with only the intended change: shop_sku, product_id and product_id_type (from product_references), state_code, price, quantity, leadtime_to_ship, logistic_class (its code), min_quantity_alert, description, discount, all_prices, available_started / available_ended (read as available_start_date / available_end_date) and any offer_additional_fields. Leave update_delete empty or update. The call returns an import_id; the change is applied asynchronously, so check it with the_range_get_offer_import before reading the offer again. Condition codes for state_code come from the_range_list_offer_conditions, logistic class codes from the_range_list_logistic_classes.
File imports: the_range_import_products (P41) and the_range_import_offers (OF01) take the URL of a CSV, XLSX or XML file in the file format The Range asks for; the connector downloads it and uploads it to The Range. Track them with the_range_list_product_imports / the_range_get_product_import and the_range_list_offer_imports / the_range_get_offer_import.
Returns: the_range_list_returns (RT11) lists return requests. Where The Range lets the shop decide, the_range_accept_return accepts or refuses one in WAITING_ACCEPTANCE and the_range_receive_return confirms the goods arrived. Refunds stay in the back office.
Messages: the_range_list_threads lists conversations (filter with entity_type=MMP_ORDER and entity_id=<order id> for one order; entity_id without entity_type is refused), the_range_get_thread reads one with its messages, the_range_reply_thread answers (recipient CUSTOMER or OPERATOR, which is The Range) and the_range_create_order_thread opens a new conversation on an order. Reason codes for topics come from the_range_list_reasons; leave its locale empty unless you know the marketplace has that language (an inactive locale answers 400).
Money: the_range_list_invoices (IV01) lists the accounting documents The Range issues to the shop and the_range_list_transactions (TL02) the transaction lines (sales, commissions, refunds, payouts). If The Range uses Enhanced Seller Invoicing, IV01 returns no new documents; use the_range_list_document_requests (DR11) and the transactions then.
Whole catalogue: to read every offer (a stock or price check across the catalogue, counting offers), start an export with the_range_export_offers, poll the_range_get_offer_export_status about once a minute until it is COMPLETED, and read the files one by one with the_range_get_offer_export_file; include_fields keeps only the columns you need. A full export is allowed once a day; for what changed since, pass last_request_date (a differential export, at most once a minute). Do not page through every offer with the_range_list_offers: it is meant for a few offers at a time and answers 429 when paged through a large catalogue.
Several shops: every tool takes an optional shop_id. A user who manages several shops on this marketplace (an agency, or one shop per country) can work on all of them with one install: pass the shop's id on each call and check which shop it is with the_range_get_account and the same shop_id. Without shop_id a call uses THE_RANGE_SHOP_ID, or the user's default shop when that is empty. Ask the user for the ids of their shops; the back office shows them.
Reference lists: the_range_list_channels (country sites), the_range_list_carriers, the_range_list_shipping_zones, the_range_list_shipping_methods and the_range_list_logistic_classes change rarely; read them once per conversation.
Pagination: orders, offers, invoices and product imports page with max (at most 100) and offset. Threads, returns, transactions, document requests and offer imports return a next_page_token; pass it as page_token to get the next page (all other filters are then ignored) until it is missing.
Dates are ISO 8601, e.g. 2026-10-01T00:00:00Z; answers are in UTC.
Rate limits: Each API has its own limit and The Range can tighten them. Listing offers and orders is meant for interactive use, product and offer imports at most every 15 minutes, the_range_get_account and the reference lists about once a day. A 429 carries a Retry-After header with the seconds to wait; do not retry in a loop.
Errors: 401 means the key is wrong or was replaced by a newer one, 403 that your user lacks the right for this action, 404 that the order, offer or thread does not exist for this shop or that the marketplace does not use that feature, such as returns, 400 a wrong parameter or an order in the wrong state (the message names it, e.g. ORDER_INVALID_STATE).
Prerequisites: THE_RANGE_API_KEY
Install the connector locally
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
Open http://localhost:3000/connectors/store, pick The Range Marketplace and paste in the env vars listed under Prerequisites.
Available tools
| Tool | What it does |
|---|---|
the_range_get_account | Read the shop behind the API key on this marketplace (A01): shop id and name, state, channels, currency, grade and approval rate, contact… |
the_range_list_orders | List orders (OR11) with their lines, customer, shipping address, prices, state and incidents. Filter by state (e.g. WAITING_ACCEPTANCE for… |
the_range_list_offers | List the shop's offers (OF21): SKU, product, price and discount, all channel prices, quantity in stock, condition, lead time and whether… |
the_range_get_offer | Read one offer in full by its offer id (OF22): every price field, discount, quantity, condition, logistic class, lead time and custom… |
the_range_list_offer_conditions | List the offer conditions (OF61) the marketplace accepts, e.g. new or used, with the code to put in state_code when updating offers |
the_range_list_offer_imports | List offer imports and updates (OF04), from files and from the_range_update_offers: status (WAITING, RUNNING, COMPLETE, FAILED), lines… |
the_range_get_offer_import | Read the status of one offer import or offer update (OF02) by its import_id, as returned by the_range_update_offers or… |
the_range_export_offers | Start an export of all the shop's offers as files (OF52), the way to read the whole catalogue (every SKU with price and stock) instead of… |
the_range_get_offer_export_status | Status of an offer export started with the_range_export_offers (OF53): PENDING, COMPLETED or FAILED (with error.code and error.detail), and… |
the_range_get_offer_export_file | Read one file of a completed offer export (OF54): the offers with their SKU, product, quantity, prices and the other exported fields, as… |
the_range_list_product_imports | List product imports (P51) with their status (WAITING, RUNNING, SENT, COMPLETE, FAILED, CANCELLED), the transformation counts and the… |
the_range_get_product_import | Read the status of one product import (P42) by its import_id: import status, reason, transformation counts and the integration details… |
the_range_get_products | Look up products in the marketplace catalog by their identifiers (P31), e.g. EAN, and get the marketplace product SKU, title and category.… |
the_range_list_product_offers | List the offers of every shop for given products (P11), sorted by best price, to compare your price with the competition. Give product_ids… |
the_range_list_threads | List message threads (M11) with customers and The Range: topic, linked order or offer, participants, last message date and since when a… |
the_range_get_thread | Read one message thread (M10) with all its messages, senders, recipients, attachments and the linked order or offer |
the_range_list_returns | List return requests (RT11) with their state, return lines, reason, RMA, tracking and the linked order. Filter by state, order or date.… |
the_range_list_reasons | List the marketplace's reason codes (RE01): incident, cancellation, refund and message reasons, with their labels and whether the shop may… |
the_range_list_carriers | List the carriers the marketplace knows (SH21) with their code, label and tracking URL. Use the code as carrier_code in… |
the_range_list_invoices | List the accounting documents The Range issues to the shop (IV01): invoices and credit notes with period, totals with and without tax… |
the_range_list_transactions | List the shop's transaction lines (TL02): order amounts, shipping, commissions, refunds, manual credits and payouts, with amount, type… |
the_range_list_document_requests | List accounting document requests (DR11), used when The Range runs Enhanced Seller Invoicing: invoices and credit notes that The Range or… |
the_range_list_order_documents | List the documents attached to one or more orders (OR72): delivery notes, shipping labels, customer invoices and other files, with id, file… |
the_range_list_channels | List the marketplace's sales channels (CH11), usually one per country site, with code and label. Use the codes as channel_codes in… |
the_range_list_shipping_zones | List the active shipping zones of the marketplace (SH11) with code and label, e.g. mainland France or Corsica. Changes rarely: call it… |
the_range_list_shipping_methods | List the active shipping methods of the marketplace (SH12), e.g. standard, express or pick-up, with code, label, whether a tracking number… |
the_range_list_logistic_classes | List the marketplace's logistic classes (SH31), the size or weight bands that decide shipping prices, with code and label. Use the code as… |
the_range_accept_order | Accept or refuse the lines of an order waiting for acceptance (OR21). Every line of the order must be listed. Refusing a line cancels it… |
the_range_update_tracking | Set the carrier and tracking number of an order (OR23). Give carrier_code from the_range_list_carriers, or carrier_name with carrier_url… |
the_range_ship_order | Confirm that an order in SHIPPING has been shipped (OR24); it moves to SHIPPED and the customer is notified. Set the tracking first with… |
the_range_update_offers | Create or update offers, including price and stock (OF24). Replaces each offer completely: every field left out is reset (a missing… |
the_range_reply_thread | Reply in a message thread (M12) to the customer or The Range. The message is delivered at once and cannot be taken back: show the user the… |
the_range_create_order_thread | Start a new message thread on an order (OR43) with the customer, The Range or both. The message is delivered at once: show the user the… |
the_range_resolve_incident | Mark the open incident on one order line as resolved (OR64), once the customer's problem is solved. reason_code must be an INCIDENT_CLOSE… |
the_range_accept_return | Accept or refuse a return request in WAITING_ACCEPTANCE (RT21). Only when The Range handles returns in the seller back office and leaves… |
the_range_receive_return | Confirm that the goods of an accepted return arrived at your warehouse (RT25). The return moves to RECEIVED. Acts on the live marketplace… |
the_range_import_products | Send a product file to the marketplace (P41) to create or enrich products in its catalog. file_url is the address of a CSV, XLSX or XML… |
the_range_import_offers | Import an offer file (OF01) to create, update or delete offers in bulk. REPLACE mode deletes every offer that is not in the file, and… |
Example prompts
- "Which orders on The Range are waiting for my acceptance, and what are they worth in GBP?"
- "Export my whole catalogue on The Range and list every offer with fewer than 5 units in stock."
- "Compare my price for the rattan garden sofa set with EAN 5056150212345 with the other sellers on The Range."
- "Add Evri tracking H01HYA0012345678 to order 7712345-A and confirm the shipment."
- "I run two shops on The Range, 2001 and 2002: how many orders is each one waiting to accept?"
Next steps
Was this guide helpful?