mpapisAuthenticationEndpointsOpenAPIChangelog

Seller API reference v1.4

mpapis is a unified REST API over marketplace seller accounts. One token, one schema for orders, stock and sales reports across connected stores.

Access is invite-only during the private beta. Base URL: https://api.mpapis.ru/v1

Authentication

Every request carries a bearer token issued for a workspace. Tokens are scoped (orders:read, stock:write, reports:read).

curl https://api.mpapis.ru/v1/orders?status=new \
  -H "Authorization: Bearer $MPAPIS_TOKEN"

Rate limit: 60 requests per minute per token. Responses include X-RateLimit-Remaining and Retry-After on 429.

Endpoints

MethodPathDescription
GET/storesConnected marketplace stores
GET/ordersOrders, filterable by status, store_id, updated_since
GET/orders/{id}Single order with items and shipment
GET/stockStock levels per SKU and warehouse
PUT/stock/{sku}Set available quantity for a SKU
POST/reportsRequest a sales report (async)
GET/reports/{id}Report status and download link

The full schema is published as OpenAPI 3.1 (YAML).

Pagination

List endpoints are cursor-paginated: pass limit (max 200) and the next_cursor from the previous page.

{
  "data": [ { "id": "ord_8f2k1", "status": "new", "total": 2490.00, "currency": "RUB" } ],
  "next_cursor": "eyJpZCI6Im9yZF84ZjJrMSJ9"
}

Errors

StatusCodeMeaning
400invalid_requestMalformed parameters
401unauthorizedMissing or expired token
403insufficient_scopeToken lacks the required scope
404not_foundUnknown resource
429rate_limitedSlow down, see Retry-After

Changelog