Bỏ qua để tới nội dung chính
Đăng nhập
Apus Platform
TÀI LIỆU & API

Tài liệu kỹ thuật cho đội phát triển.

REST API, webhook và hướng dẫn tích hợp để kết nối Apus Platform với hệ thống của bạn.

Mục lục tài liệu
Base URLhttps://api.apusplatform.com/v1
Tải xuống Bản đặc tả OpenAPI 3.1Nhập vào Postman, Insomnia hoặc Swagger UI.

Tài liệu tham chiếu API được duy trì bằng tiếng Anh.

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.

Hướng dẫn

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.

Tham chiếu 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.

Sẵn sàng tích hợp?

Tạo API client trong Account Console để lấy thông tin xác thực, hoặc trao đổi với kỹ sư tích hợp về bài toán của bạn.

noindex