Skip to content

ffl_integrations.rsr.search

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

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

POST /api/method/ffl_integrations.rsr.search.search

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

Search the RSR catalog (legacy-shaped rows for the firearm picker).

Compatibility shim: delegates to the provider's remote search and maps rows back to the legacy key shape ffl_core.bundle.js consumes. Degrades to [] when the API is unreachable.

arg type required default description
query string yes — Search term (blank returns []).
limit integer no 10 Row cap, clamped to 1–50 (default 10).

Returns: [{rsr_stock_number, upc, mfg_number, manufacturer, model, short_description, department_number, msrp, dealer_price, map_price, quantity, ffl_required, status_flag, image_url, image_url_hires}].

apps/ffl_integrations/ffl_integrations/rsr/search.py:15