Organización

Contactos

CRUD de contactos comerciales. El rol va en types.

MétodoRutaPermiso
GET/org-api/v1/contactscontacts:read o organization:read
GET/org-api/v1/contacts/{id}contacts:read o organization:read
POST/org-api/v1/contactscontacts:write o organization:read
PATCH/org-api/v1/contacts/{id}contacts:write o organization:read
DELETE/org-api/v1/contacts/{id}contacts:write o organization:read

types acepta SHIPPER, CONSIGNEE, CARRIER, FORWARDER, NOTIFY_PARTY, BROKER, IMPORTER, EXPORTER, AGENT y WAREHOUSE. Si se omite, queda SHIPPER. CLIENT no es válido. clientId vincula el contacto a un cliente. En un PATCH, clientId null lo desvincula. El listado acepta search, isActive, types, clientId, linked, unlinked, sortBy, page y limit.

Altajson
{
  "firstName": "Luis",
  "types": ["SHIPPER"],
  "clientId": "cus_01HZXMPLACE"
}

Buscar en la documentación

Buscar páginas de la documentación