API for integrations
Connect your ERP, warehouse, logistics and invoicing systems. JSON over HTTPS, one token per system.
Authentication
Your company admin creates a token under Account → Integrations. Send it with every request. Calls act as your company and follow the same rules as the website (licences, verification, seller permissions). Limit: 120 requests per minute.
curl -H "Authorization: Bearer nct_…" -H "Accept: application/json" \
"https://nacrotics.com/api/v1/products?q=05012345678900"
| Method | Path | What it does |
|---|---|---|
GET | /api/v1/products | Search the catalogue. Filters: q (name, GTIN, UDI-DI, ingredient, indication…), class[], ce[], form[], pack, manufacturer, atc. |
GET | /api/v1/products/{id} | One product record with packs, document list and equivalent products. |
PUT | /api/v1/products/gtin/{gtin} | Regulatory / master data feed: create or update the product owning this GTIN. Body: name, product_class, pack, plus optional substance, strength, dosage_form, atc_code, device_class, indication, pack_size, udi_di, translations. |
GET | /api/v1/listings | Your listings. |
PUT | /api/v1/listings/{sku} | ERP sync: create or update the listing with your SKU. Same fields as the CSV template (category, title, status, price_min, currency, tiers, product = GTIN…). |
GET | /api/v1/inquiries?box=received|sent | Quote requests you received (seller) or sent (buyer). |
GET | /api/v1/inquiries/{id} | One quote request with its messages and quote. |
POST | /api/v1/inquiries/{id}/movements | WMS / logistics: record dispatched, in_transit, delivered, recalled (seller) or received, returned (buyer) on an agreed deal. Fields: type, quantity, batch, expiry, gtin, serials, location, carrier, tracking, temperature_ok, note. |
GET | /api/v1/inquiries/{id}/invoice | E-invoicing: seller, buyer and line data of an agreed deal for your invoicing system. |
GET | /api/v1/events?after={id} | Event feed of everything that happened to your company's records, oldest first. Store the last id and poll again. |
Example: sync a listing from your ERP
curl -X PUT -H "Authorization: Bearer nct_…" -H "Content-Type: application/json" \
"https://nacrotics.com/api/v1/listings/MET-500-28" \
-d '{"category":"generic","title":"Metformin 500 mg tablets, 28","status":"published",
"product":"05012345678900","price_min":1.20,"currency":"EUR","price_unit":"per pack",
"tiers":[{"min":1000,"price":1.10}],"ship_to_countries":["SA","AE"]}'
Errors
401 bad token · 403 not allowed (e.g. not your record, licence missing) · 404 not found · 422 validation errors, listed per field in errors · 429 too many requests.