跳转到内容

REST endpoints

此内容尚不支持你的语言。

rCommerce exposes a versioned HTTP API with JWT auth and API keys. Every resource in the core is reachable over REST, and every state change also fans out as a signed webhook.

Send a scoped bearer token on every request:

Terminal window
curl :8080/orders \
-H "Authorization: Bearer $TOKEN"
ResourcePathNotes
Products/productsCatalogue, variants and media
Carts/cartsServer-authoritative carts
Orders/ordersRead + transition through states
Customers/customersAccounts, addresses, consent
Inventory/inventoryStock per location and SKU
  • Money is a string in the currency’s minor unit rules, e.g. "129.00".
  • Timestamps are RFC 3339 in UTC.
  • Errors return a JSON body with a stable code and human message.
  • Pagination uses ?limit= and a cursor returned in the response.