APIs for Fulfillment and Tax.
Send orders, buy labels and read tracking and stock from your own systems with the Navexa Fulfillment REST API. Calculate nicotine excise with the Navexa Tax API.
| Navexa Fulfillment REST API | Navexa Tax API | |
|---|---|---|
| Base URL | https://api.navexa.co/api/v1/external | https://api-tax.navexa.co |
| Format | REST, JSON | ConnectRPC: JSON over HTTP POST |
| Keys | nfx_ tokens, scoped | txk_ keys, scoped, live or test |
| Rate limit | 300 / minute per token | 60 / minute per live key, 100 per test key |
| Billing | Labels billed as in the app | $79 per state a month + 5¢ per order. Planned price; nothing is charged yet. No API quotas; the test environment is not billed |
| Reference | docs.navexa.co/openapi.yaml | api-tax.navexa.co/openapi.yaml |
| Status | Fulfillment API: Live | Tax API: Early access |
Navexa Fulfillment REST API
Create and manage orders, quote, buy and void labels, read tracking and stock, and quote rates from your own systems.
- Scoped tokens with optional expiry, created by owners and admins.
- Test mode buys test labels: no postage is spent and nothing is charged. Orders created with a test token are real orders.
- 300 requests a minute per token. Rate quotes have a daily account budget of 100 carrier rating calls plus 3 per label bought in the last 24 hours.
- Set on-hand stock counts and buy return labels for Medusa returns.
- OpenAPI 3 reference at docs.navexa.co/openapi.yaml.
Owners and admins make tokens in Navexa Fulfillment under Settings, Developers, API tokens, and choose the scopes each one needs. A token is shown once.
curl -X POST https://api.navexa.co/api/v1/external/orders/ord_.../rates \
-H "Authorization: Bearer nfx_..."Returns each box’s rates. The rate your shipping rules pick, or else the cheapest, is marked recommended.
curl https://api.navexa.co/api/v1/external/labels \
-H "Authorization: Bearer nfx_..." \
-H "Idempotency-Key: 6f1c2a8e-..." \
-H "Content-Type: application/json" \
-d '{"box_id": "pgr_...", "rate_id": "shr_..."}'Send a new Idempotency-Key for each label and the same key on a retry: the retry returns the label already bought instead of buying another.
| Scope | Allows |
|---|---|
| orders:read | List and read orders |
| orders:write | Create, update and cancel orders |
| labels:write | Quote, buy and void labels (buying spends money) |
| tracking:read | Read an order’s shipments and tracking |
| inventory:read | Read stock by SKU and warehouse |
| inventory:write | Set on-hand counts (live tokens only) |
| location | Read ship-from locations and warehouses |
| shipping:rates | Packages, bin-packing and rate quotes |
| returns:labels | Quote and buy return labels for Medusa returns (spends money) |
| orders:labels | Read a Medusa order’s labels and their cost |
Webhooks
Send signed order, label and shipment events to your own systems, such as an email or SMS flow, a helpdesk or an ERP.
- Events: order.created, label.purchased, label.voided, shipment.status_changed, shipment.shipped, shipment.out_for_delivery, shipment.delivered and shipment.exception.
- Up to 10 endpoints per account. Customer details are sent only if you turn them on.
- Failed deliveries retry up to 7 times over about 15 hours. The delivery log keeps 30 days and can redeliver an event.
signed_content = X-Navexa-Timestamp + "." + X-Navexa-Nonce + "." + raw request body
signature = hex(HMAC-SHA256(key = your secret, message = signed_content))
X-Navexa-Signature: v1=<signature>Navexa Tax API
Calculate excise, commit and manage transactions, and pull tax summaries over a JSON API at api-tax.navexa.co, with an OpenAPI spec and an interactive reference.
- Scoped API keys with a txk_ prefix, in live and test environments. Test transactions never count toward filings or PACT reports.
- Rate limits: 60 requests per minute per live key, 100 per test key.
- A key is shown once. Rolling it can keep the old key valid for up to 7 days.
Keys come with early access. Sign-up is by invitation, so request access first; admins then make keys in Navexa Tax.
curl https://api-tax.navexa.co/tax.v2.TaxCalculationService/CalculateOrderTax \
-H "Authorization: Bearer txk_..." \
-H "Content-Type: application/json" \
-d '{
"address": "100 Main St, Columbus, OH 43215",
"eventKind": "TAX_EVENT_KIND_SALE",
"items": [
{
"quantity": 2,
"inlineProduct": {
"taxCategoryCode": "ecig_disposable",
"volumeMl": "5",
"retailPrice": "19.99",
"nicotineSource": "synthetic",
"containsTobacco": false
}
}
]
}'| Field | Holds |
|---|---|
| lineItems | Each line’s excise per unit and per line, by jurisdiction |
| totalTax | The order’s excise total, as a decimal string |
| matchedAddress | The address the rates were resolved for |
| warnings | Notes on the result. Sales tax is never calculated here |
Webhooks
Send events to your own systems, with a delivery log and redelivery.
- Transactions: transaction.committed, transaction.voided.
- Filing and PACT: filing.deadline, pact.deadline, pact_report.generated.
- Compliance: license.expiring, surety_bond.expiring, exemption_certificate.expiring, plus requirement, registration and document alerts.
- Rates: tax_rule.published, tax_rule.upcoming.
Navexa AgeCheck has its own verification API, which comes with access to AgeCheck.
Get an API token.
Navexa Fulfillment tokens are made in the app by owners and admins. Navexa Tax API keys come with early access.