Skip to content

ffl_integrations.atf.search

Source: apps/ffl_integrations/ffl_integrations/atf/search.py · 1 endpoint(s)

Generated by make api-docs — do not edit by hand.

POST /api/method/ffl_integrations.atf.search.search

Auth (derived from code): Roles: Sales User / Sales Manager / Stock Manager / System Manager

Search the FFL directory (national listing + local cache).

Matches query exactly against ffl_number; otherwise searches the shared national listing (when configured) merged with the local cache, falling back to a local LIKE.

arg type required default description
query string yes — FFL number or name/city substring (blank returns []).
limit integer no 20 Row cap, clamped to 1–200 (default 20).

Returns: Up to limit FFL record dicts.

apps/ffl_integrations/ffl_integrations/atf/search.py:75