Marketplace API Reference
Complete endpoint reference for the Mediloop Marketplace API.
Base URL & authentication
Base URL
https://api.mediloop.com/v1
Authorization: Bearer $ACCESS_TOKEN
X-Tenant-Id: $TENANT_IDCatalog endpoints
| Method | Endpoint | Purpose |
|---|---|---|
GET | /products | List products |
GET | /products/{id} | Product details |
GET | /categories | Categories |
Listing endpoints
| Method | Endpoint | Purpose |
|---|---|---|
POST | /listings | Create |
PATCH | /listings/{id} | Update |
POST | /listings/{id}/publish | Publish |
POST | /listings/{id}/unpublish | Unpublish |
Compliance endpoints
| Method | Endpoint | Purpose |
|---|---|---|
GET | /catalog/{id}/publish-guard | Eligibility check |
Order endpoints
| Method | Endpoint | Purpose |
|---|---|---|
POST | /orders | Create |
GET | /orders | List |
GET | /orders/{id} | Get |
POST | /orders/{id}/cancel | Cancel |
Payment endpoints
| Method | Endpoint | Purpose |
|---|---|---|
GET | /payments/{id} | Status |
POST | /payments/{id}/confirm | Confirm/capture |
POST | /refunds | Refund |
GET | /settlements | Settlements |
GET | /payouts | Payouts |
GET | /reconciliation | Reconcile |
Webhook events
Marketplace webhooks →Response codes
| HTTP | Meaning |
|---|---|
200 | Success |
201 | Created |
400 | Invalid request |
401 | Authentication required |
403 | Insufficient permissions |
404 | Resource not found |
409 | Business-state conflict |
429 | Rate limit exceeded |