Delivery Rates

Count delivery rates per bucket

Changed on

Counts of delivery rate documents grouped by count_by, with the same filters as search. Returns {name, total_count, counts: [{name, id, count}]}.

get/delivery-rates/counts

Request

  • Base URL
    https://api.equipmentshare.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

below_default, boolean

true keeps only rows below the level above; false or omitted applies no filter.

stale_days, integer

Only overrides last changed more than this many days ago.

count_by, 'scope' | 'region_id' | 'district_id' | 'branch_id' required
show_empty_districts_and_regions, boolean

Districts and regions with no visible branch are hidden unless this is true.

scope, string[]

Only rows at these hierarchy levels.

region_id, integer[]

Only rows in these regions.

show_non_public_rsp, boolean

Non-public branches are hidden unless this is true.

district_id, integer[]

Only rows in these districts.

show_inactive_branches, boolean

Inactive branches are hidden unless this is true.

branch_id, integer[]

Only rows for these branches.

has_override, boolean

true keeps only rows with their own override; false or omitted applies no filter.

Response

{name, total_count, counts: [{name, id, count}]}

Changes