跳到主要内容
登录
Apus Platform
文档与 API

为您的开发者准备的技术文档。

集成指南、REST API 与 webhook,助您将 Apus Platform 与您的系统对接。

文档目录
Base URLhttps://api.apusplatform.com/v1
下载 OpenAPI 3.1 规范导入到 Postman、Insomnia 或 Swagger UI。

API 参考文档以英文维护。

QuickstartMake your first call in three steps: (1) create an API client in the Account Console to get a client_id and client_secret; (2) exchange them for a short-lived access token; (3) call any endpoint with that token as a Bearer credential.

指南

IntroductionThe Apus Platform API is a REST API that lets external systems read and write your operational data — products, inventory, orders, production, partners, invoices, people, quality, assets and documents — over a single data layer. A write in one module is immediately visible to every other module.QuickstartMake your first call in three steps: (1) create an API client in the Account Console to get a client_id and client_secret; (2) exchange them for a short-lived access token; (3) call any endpoint with that token as a Bearer credential.AuthenticationThe API uses OAuth 2.0 client credentials. Create an API client in the Account Console to get a client_id and client_secret, then exchange them for a short-lived access token. Each client is granted a set of scopes (for example products:read, inventory:write) — an endpoint returns 403 if its scope is missing.PaginationList endpoints return up to 50 items by default (max 200 via limit). Responses are cursor-paginated: use the has_more flag and next_cursor to page forward. Cursors are opaque — pass them back unchanged.ErrorsThe API uses conventional HTTP status codes: 2xx success, 4xx for client errors (bad input, auth, not found), 5xx for server errors. Errors return a JSON body with a machine-readable code, a human message, the offending field where relevant, and a request_id to quote in support tickets.Rate limitsRequests are rate-limited per API client. The current limit is 120 requests per minute for reads and 60 per minute for writes; on-premise and source-code deployments can raise these.IdempotencyWrite requests (POST) accept an Idempotency-Key header. Reuse the same key to safely retry a request without creating duplicates — the API returns the original result for a repeated key within 24 hours.VersioningThe API is versioned in the path (/v1). Backwards-compatible changes — new endpoints, new optional fields, new enum values — ship without a version bump, so write clients that ignore unknown fields.

API 参考

People & Projects
Sales & CRM · orders7 endpointsThe sell side, end to end — sales orders and their fulfilment plus the CRM pipeline that feeds them: leads, opportunities and quotations. A confirmed order reserves stock and hands off to distribution and finance; a converted quotation or lead flows straight into an order. Sync a CRM, an e-commerce front end or an order-management system against these endpoints.Sales & CRM · crm8 endpointsThe sell side, end to end — sales orders and their fulfilment plus the CRM pipeline that feeds them: leads, opportunities and quotations. A confirmed order reserves stock and hands off to distribution and finance; a converted quotation or lead flows straight into an order. Sync a CRM, an e-commerce front end or an order-management system against these endpoints.Distribution (DMS)13 endpointsChannel distribution (DMS) — distributors and their territories, delivery routes and drivers, deliveries to the trade, field-sales visits and trade promotions. Use these endpoints to sync a mobile field-force app, plan daily routes and push orders down the channel.HRM14 endpointsHuman resources — the employee master, org structure, attendance, leave and payroll runs. People data shared by projects, timesheets, expenses and finance. Sync an HRIS, a time clock or a payroll provider against these endpoints.BI & Analytics11 endpointsRead-only analytics over your ERP data — datasets, ad-hoc queries, KPIs, dashboards, reports and exports. Query modelled facts and dimensions, pull KPI values for an external scorecard, or schedule a data export to a warehouse. Every endpoint reads data; none mutates it, so they all require the bi:read scope.

准备好集成了吗?

在账户控制台中创建 API 客户端以获取凭证,或与集成工程师沟通您的使用场景。

noindex