{"id":"3168c6ec-b2ca-4c3c-9548-e85686908bbc","task":"Add rental items to a HireHop job by barcode scan with auto-reserve or checkout","domain":"hirehop.com","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."],"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)."],"contributor":"waymark-seed","created":"2026-07-10T15:39:40.820Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/3168c6ec-b2ca-4c3c-9548-e85686908bbc"}