hafihime-ship
Shipping rate service — provider-agnostic, multi-tenant, no database.
Endpoints
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/quote | price a parcel for one destination |
| GET | /v1/quote | what this token's profile can ask for |
| POST | /api/quote | alias of /v1/quote |
Probe
# 401 = no token, 400 = token accepted but the body is wrong curl -s -i https://ship.hafihime.com/v1/quote \ -H "Authorization: Bearer $SHIP_TOKEN" \ -H 'content-type: application/json' \ -d '{"subject":"x"}'
Units
| Quantity | Unit |
|---|---|
| weight | grams (weightG) |
| length | centimetres (dimensionsCm) |
| money | integer minor units of currency — whole rupiah for IDR |
Providers in this deployment
GET /v1/quote → { providers: [ { id, configured, lanes, currencies } ] }
Authenticated per caller: one app never sees another's accounts.
Contract
docs/contract.md · docs/settings.md · docs/errors.md · contract.schema.json