Ardent WMS API

Send orders, ASNs, items and returns to your warehouse, and read order status and stock back. JSON over HTTPS, version 1.

1 · Get credentials
The Ardent team sets up an integration for you and sends its email, password and base URL.
2 · Get a token
POST /v1/auth/token with your email and password. The access token lasts an hour; refresh it with the refresh token.
3 · Call the API
Send Authorization: Bearer <token> on every call and an Idempotency-Key on every POST and PUT.
Walkthrough: sign in, create an order, poll its status
Base URL https://jnblzdoifmqbsrfqrolw.supabase.co/functions/v1/api-gateway. The full guide (idempotency, rate limits, webhooks, errors) is the first section of the reference below.
BASE="https://jnblzdoifmqbsrfqrolw.supabase.co/functions/v1/api-gateway"

# 1. Sign in
curl -s -X POST "$BASE/v1/auth/token" -H "Content-Type: application/json" \
  -d '{"grant_type":"password","email":"brisk-erp@api.example.com","password":"<your password>"}'
TOKEN="<access_token from the answer>"

# 2. Create a minimal order: reference, customer_code and lines are the only required fields
#    (ship_to, carrier_code, service_level, … are optional; same Idempotency-Key = safe retry)
curl -s -X POST "$BASE/v1/orders" -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" -H "Idempotency-Key: order-BRK-100482" \
  -d '{"reference":"BRK-100482","customer_code":"BRISK-DTC","lines":[{"sku":"BRK-TENT-2P","qty":1}]}'

# 3. Poll its status: open → allocated → picking → packed → shipped
curl -s "$BASE/v1/orders/BRK-100482" -H "Authorization: Bearer $TOKEN"

Reference

This reference is the live document the API gateway serves right now.

“Try it out” sends real requests from your browser to the gateway with the credential you enter under Authorize. It is kept in this browser only; use Logout in Authorize to forget it.