API empresarial
API REST versionada para sync ERP. Autentique con Authorization: Bearer gcn_live_… o gcn_test_…. Cree claves en el panel Business.
¿Nuevo? Empiece con la checklist de onboarding de partners.
URL base
/api/v1OpenAPI legible por máquina: /api/v1/openapi
Colección Postman: Descargar / importar
Endpoints principales
GET /me— org + scopesGET|POST /listings,/listings/bulkGET|POST /inventory,/inventory/bulk(syncMode: upsert|replace)/freight,/freight/bulk·/depots,/depots/bulk·/storage,/storage/bulk·/manufacturers,/manufacturers/bulk·/ports,/ports/bulk/inquiries,/inquiries/{id}/reply/organization,/webhooks,/bulk/{jobId}
Scopes
Las nuevas claves reciben todos los scopes. Restricción fina vía el modelo de datos.
listings:readlistings:writeinventory:readinventory:writefreight:readfreight:writedepots:readdepots:writestorage:readstorage:writemanufacturers:readmanufacturers:writeports:readports:writeinquiries:readinquiries:writeorg:readorg:writewebhooks:managebulk:write
Inicio rápido para partners
Ejemplos curl paso a paso para sync de catálogo (todos los módulos), consultas y webhooks:
docs/api-partner-guide.mdSonda de disponibilidad: /api/v1/ready
Notas
- Orgs no verificadas: las creaciones quedan
PENDINGhasta aprobación admin. - Orgs verificadas: creaciones/actualizaciones API se publican
ACTIVEautomáticamente. - Use
externalId+Idempotency-Keypara reintentos ERP seguros. - Bulk máx. 200 ítems/solicitud; webhooks hasta 3 reintentos con backoff.
- Webhooks firmados HMAC (
x-gcn-signature,x-gcn-timestamp).