Mirakl Returns API

The Returns API from Mirakl — 8 operation(s) for returns.

Business capability
Post-Purchase AE-140.90

Operations 17

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/orders/returns Sync returns into Mirakl Connect · upsertReturns - Upsert returns #
Ask an LLM
“How do I push returns from my sales channel into Mirakl Connect?”
“Does sending a return that already exists update it or create a duplicate?”
Tell an agent
Upsert returns {returns} from origin {origin}.
Synchronize these channel returns {returns} with Connect.
PUT /v2/orders/returns/{return_id}/accept Accept or refuse a Connect return · v2-acceptReturn - Accept or refuse return #
Ask an LLM
“Can I approve a return request that's still waiting in REQUEST_INITIATED from Connect?”
“What do I send to reject a customer's return with a reason in Mirakl Connect?”
Tell an agent
Set accepted to {accepted} for Connect return {return_id}.
Refuse Connect return {return_id} because {rejection_reason}.
PUT /v2/orders/returns/{return_id}/receive Mark a Connect return as received · v2-acknowledgeReturnReception - Mark return as received #
Ask an LLM
“How do I confirm I physically got the item back for a Connect return?”
“Does marking a Connect return received also update the sales channel?”
Tell an agent
Mark Connect return {return_id} as received.
Confirm the returned item for Connect return {return_id} arrived at the warehouse.
PUT /v2/orders/returns/{return_id}/close Close a Connect return · v2-closeReturn - Mark return as closed #
Ask an LLM
“When the refund and checks are done, how do I close a return in Connect?”
“Can I finalize a single Connect return once all steps are complete?”
Tell an agent destructive · confirm first
Close Connect return {return_id}.
Mark Connect return {return_id} as closed now that the refund is done.
GET /v2/orders/returns List Mirakl Connect returns · v2-listReturns - List Mirakl Connect returns #
Ask an LLM
“Which Connect returns changed since my last sync?”
“Can I list Connect returns for specific orders or statuses?”
Tell an agent
List Connect returns updated since {updated_from}.
Show Connect returns for orders {order_ids} updated since {updated_from}.
PUT /v2/orders/returns/{return_id}/trackings Update a Connect return's tracking · v2-updateReturnTrackingInformation - Update return tracking information #
Ask an LLM
“How do I add a return shipping tracking number to a Connect return?”
“Can I attach a return label URL or RMA to a Connect return?”
Tell an agent
Set tracking {tracking} on Connect return {return_id}.
Add label {label_url} and RMA {rma_id} to Connect return {return_id}.
POST /api/returns Create marketplace returns · RT01 - Create returns #
Ask an LLM
“How do I open new returns for order lines on the marketplace?”
“What's the maximum number of returns I can create in one request?”
Tell an agent
Create these returns {returns}.
Open a batch of new return requests {returns}.
GET /api/returns List marketplace returns · RT11 - List returns #
Ask an LLM
“Which returns are open on the marketplace right now?”
“Can I find returns by order, RMA number or customer?”
Tell an agent
List marketplace returns in state {return_state}.
Find the returns for order {order_commercial_id}.
PUT /api/returns Patch-update marketplace returns · RT04 - Patch update returns #
Ask an LLM
“How do I change details on returns that already exist on the marketplace?”
“Can I edit several returns in one partial update?”
Tell an agent
Patch these returns {returns}.
Update returns {returns} for shop {shop_id}.
GET /api/returns/items_to_return List items eligible for return · RT12 - List items to return #
Ask an LLM
“Which items on an order can still be returned?”
“Is a specific order line eligible to be returned?”
Tell an agent
List the returnable items of order {order_commercial_id}.
Check whether order line {order_line_id} can be returned.
PUT /api/returns/receive Validate returns as received · RT25 - Validate returns as received #
Ask an LLM
“How do I confirm reception for many marketplace returns at once?”
“How many returns can I mark as received in one call?”
Tell an agent
Mark returns {returns} as received.
Validate reception of this batch of returns {returns}.
PUT /api/returns/cancel Cancel marketplace returns · RT29 - Mark a return as canceled #
Ask an LLM
“How do I cancel a return that should no longer go ahead?”
“Can I cancel up to 100 returns in one request?”
Tell an agent destructive · confirm first
Cancel returns {returns}.
Mark this batch of returns {returns} as canceled.
POST /api/returns/return-labels Generate return labels · RT51 - Create return labels #
Ask an LLM
“How do I generate prepaid return labels for returns?”
“Can I request return labels for several returns at once?”
Tell an agent
Create return labels {return_labels}.
Generate shipping labels for these returns {return_labels}.
GET /api/returns/return-labels List return label requests · RT52 - List return labels #
Ask an LLM
“What's the state of the return labels I requested?”
“Can I find return labels created within a date range?”
Tell an agent
List return labels for return {return_id}.
Show return labels in state {label_state}.
PUT /api/returns/accept Accept or refuse marketplace return requests · RT21 - Accept or refuse a return request #
Ask an LLM
“As a seller, how do I approve or decline several return requests in bulk?”
“Is there a limit on how many return requests I can accept in one call?”
Tell an agent
Accept or refuse return requests {returns}.
Decide on return requests {returns} for shop {shop_id}.
PUT /api/returns/compliance Mark returns compliant or non-compliant · RT26 - Mark a return as compliant or non compliant #
Ask an LLM
“How do I record that a returned item failed inspection?”
“Can I flag returned items as compliant after checking them?”
Tell an agent
Set compliance on returns {returns}.
Mark returns {returns} as compliant or non compliant for shop {shop_id}.
PUT /api/returns/close Close marketplace returns in bulk · RT27 - Mark a return as closed #
Ask an LLM
“How do I close a batch of finished returns on the marketplace?”
“Can I close up to 100 returns at once as a seller?”
Tell an agent destructive · confirm first
Close returns {returns}.
Mark returns {returns} as closed for shop {shop_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mirakl:mirakl-returns-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mirakl-returns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mirakl Returns API
  version: ''
  description: 'Operations tagged Returns across 4 of this provider''s published API definitions: mirakl-connect-channel-openapi.json, mirakl-connect-openapi.yaml, mirakl-mmp-front-openapi.yaml, mirakl-mmp-seller-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- description: Connect Channel Platform API
  url: https://miraklconnect.com/api/channel-platform
- description: Connect Production endpoint
  url: https://miraklconnect.com/api
- description: URL to be replaced by your Mirakl instance URL
  url: https://your-instance.mirakl.net
tags:


# --- truncated at 32 KB (143 KB total) ---
# Full source: https://artifacts.apis.io/mirakl/openapi/mirakl-returns-api-openapi.yml