Mediloop
APIsMarketplace APIPublish listing

Publish listing

POST

Publish an eligible listing to make it visible and purchasable in the Marketplace.

/listings/{id}/publish

Authentication

OAuth 2.0

Permissions

marketplace:write

Rate limit

120 requests / min

Response

201 Created

Overview

Publishing runs the Marketplace publish guard first. Only compliant, complete and entitled listings can become publicly visible.

Publish guard

CheckRequirement
EntitlementSeller has Marketplace publishing access
Product classPublic-sale eligible
Required dataTitle, price, imagery and category complete
Listing stateDraft or pending review
InventoryValid availability configuration

Endpoint

POST /listings/{id}/publish
POST https://api.mediloop.com/v1/listings/lst_123/publish
Authorization: Bearer $ACCESS_TOKEN
X-Tenant-Id: $TENANT_ID

Authentication

Required scope: marketplace:write. Access is also constrained by seller organization, tenant membership and Marketplace entitlement.

Parameters

FieldTypeRequiredDescription
pageintegerNoPage number
limitintegerNoItems per page
statusstringNoFilter by status
qstringNoSearch query

Example request

cURL
curl -X POST "https://api.mediloop.com/v1/listings/lst_123/publish" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"metadata":{"source":"erp"}}'
Example response200 OK
{
  "data": {
    "id": "mkt_123",
    "status": "published",
    "updated_at": "2026-08-19T07:00:00Z"
  }
}

Example response

Marketplace responses use stable resource IDs and explicit lifecycle states so integrations can reconcile safely.

Buyer preview

Published

Digital thermometer

Public-safe health device • Seller listing preview

€29.90

Responses

HTTPMeaning
200Success
201Created
400Invalid request
401Authentication required
403Insufficient permissions
404Resource not found
409Business-state conflict
429Rate limit exceeded