Mediloop
DocsAPIsProcurement APIProcurement API Reference
Procurement API

Procurement API Reference

Reference for Procurement API resources, request conventions, pagination, filtering and response behavior.

Base URL

api.mediloop.com/v1

Authentication

Bearer + tenant context

Pagination

Cursor / filtered

Limits

Resource-specific

Base URL & authentication

cURLJavaScriptPython
GET /v1/procurement/products HTTP/1.1
Host: api.mediloop.com
Authorization: Bearer $MEDILOOP_API_KEY
X-Tenant-Id: $TENANT_ID
Accept: application/json
Authenticated request

Resources

ResourcePrimary endpointsPurpose
SuppliersGET /v1/suppliersSupplier discovery and profiles
ProductsGET /v1/procurement/productsProcurement catalog search
Purchase OrdersGET/POST /v1/purchase-ordersOrder lifecycle
DeliveriesGET /v1/procurement/deliveriesFulfilment tracking
InvoicesGET /v1/procurement/invoicesInvoice reconciliation
PaymentsGET /v1/procurement/paymentsPayment status
ReturnsGET/POST /v1/procurement/returnsReturn workflows
Price AgreementsGET/POST /v1/price-agreementsNegotiated terms
Stock AvailabilityGET /v1/stock/availabilityAvailability and reservations

Pagination

ParameterMeaning
cursorOpaque cursor from previous response
limitPage size, subject to endpoint limits
next_cursorCursor for the next page; null when complete

Filtering & sorting

Filters are endpoint-specific and combinable where documented. Prefer explicit filters such as supplier, status, category, date range and availability instead of repeatedly scanning complete datasets.

Idempotency

Create and state-changing endpoints that support retries accept an Idempotency-Key. Reuse the same key only for the same logical operation and payload.

Rate limits

Endpoint familyIllustrative default
General procurement100 requests / min
Stock availability300 requests / min
Bulk / export operationsLower resource-specific limits
EnterpriseContract-specific capacity

Response codes

HTTPMeaning
200Successful read / update
201Resource created
204Successful delete / no content
400Invalid request
401Authentication failed
403Insufficient scope / tenant permission
404Resource not found
409Conflict or lifecycle violation
429Rate limit exceeded