Add rental items to a HireHop job by barcode scan with auto-reserve or checkout
domain: hirehop.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Authenticate with a HireHop API token as described in HireHop's auth documentation.
POST to /php_functions/items_barcode_save.php with job (the job ID) and barcode (the scanned code) as required parameters.
Set action=0 to reserve the scanned item, action=1 to check it out immediately, or action=2 to add it without changing its reservation state.
Optionally pass parent/sid/skind to control where in the job's item tree the scanned line lands, and no_availability=1 if you want to skip availability calculation for speed.
Read the returned itms array for each added item's avail, remainder, late, and reserved counts to confirm the scan succeeded and the item is actually available.
Known gotchas
The action parameter's meaning is easy to get backwards: 0=reserve, 1=checkout, 2=no state change — double-check before wiring this into a physical barcode scanner workflow.
This endpoint accepts either JSON body or standard URL-encoded POST data; HireHop auto-detects which one you sent, so mixing formats in one request can cause silent parsing issues.
Response payloads also include a price_structures block keyed by date/duration combinations — don't confuse this with the top-level itms pricing fields (UNIT_PRICE/PRICE).
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?