{"info":{"name":"My Repair Software Public API v1","description":"Scoped reads and opt-in writes. Set token in your private local Postman environment or vault. Never share an export containing a real token. The collection contains no credentials. Follow response.next as after until null.","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"variable":[{"key":"baseUrl","value":"https://myrepairsoftware.com"},{"key":"token","value":"","type":"string"},{"key":"idempotencyKey","value":""},{"key":"repairId","value":""}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{token}}","type":"string"}]},"item":[{"name":"List repairs","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/public/v1?resource=repairs","host":["{{baseUrl}}"],"path":["api","public","v1"],"query":[{"key":"resource","value":"repairs"},{"key":"after","value":"","disabled":true,"description":"Paste response.next from the preceding page; keep disabled on the first page."},{"key":"id","value":"","disabled":true,"description":"Exact scoped UUID lookup; leave after disabled."},{"key":"order","value":"recent","disabled":true,"description":"Newest created records first; keep this ordering on subsequent pages."}]},"description":"Repair tickets, their current status, priority, and due date. Requires repairs:read. Returns at most 50 records."}},{"name":"List inventory","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/public/v1?resource=inventory","host":["{{baseUrl}}"],"path":["api","public","v1"],"query":[{"key":"resource","value":"inventory"},{"key":"after","value":"","disabled":true,"description":"Paste response.next from the preceding page; keep disabled on the first page."},{"key":"id","value":"","disabled":true,"description":"Exact scoped UUID lookup; leave after disabled."}]},"description":"Unarchived products with on-hand stock, available stock, per-location reorder floors, and selling prices. Requires inventory:read. Returns at most 50 records."}},{"name":"List customers","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/public/v1?resource=customers","host":["{{baseUrl}}"],"path":["api","public","v1"],"query":[{"key":"resource","value":"customers"},{"key":"after","value":"","disabled":true,"description":"Paste response.next from the preceding page; keep disabled on the first page."},{"key":"id","value":"","disabled":true,"description":"Exact scoped UUID lookup; leave after disabled."},{"key":"order","value":"recent","disabled":true,"description":"Newest created records first; keep this ordering on subsequent pages."}]},"description":"Unarchived customer contacts and recorded service communication preferences. Requires customers:read. Returns at most 50 records."}},{"name":"List events","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/public/v1?resource=events","host":["{{baseUrl}}"],"path":["api","public","v1"],"query":[{"key":"resource","value":"events"},{"key":"after","value":"","disabled":true,"description":"Paste response.next from the preceding page; keep disabled on the first page."},{"key":"id","value":"","disabled":true,"description":"Exact scoped UUID lookup; leave after disabled."},{"key":"order","value":"recent","disabled":true,"description":"Newest created records first; keep this ordering on subsequent pages."},{"key":"kind","value":"ticket","disabled":true,"description":"Filter one event category: job, ticket, invoice or inventory."}]},"description":"Recorded job, repair ticket, invoice, and inventory activity. Requires events:read. Returns at most 50 records."}},{"name":"Verify connection","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/public/v1/connection","host":["{{baseUrl}}"],"path":["api","public","v1","connection"]},"description":"Verify token scopes, expiry, business and location without reading customer records."}},{"name":"Create customer","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{idempotencyKey}}","description":"Set a unique stable key for this action. Keep it unchanged on retries."}],"url":{"raw":"{{baseUrl}}/api/public/v1/customers","host":["{{baseUrl}}"],"path":["api","public","v1","customers"]},"body":{"mode":"raw","raw":"{\n  \"name\": \"Synthetic API Customer\",\n  \"email\": \"customer@example.invalid\"\n}","options":{"raw":{"language":"json"}}},"description":"WRITES SHOP DATA. Requires customers:write. Creates a customer with all communication consent disabled. Collect and record consent inside My Repair Software. Use synthetic test records first."}},{"name":"Create repair","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{idempotencyKey}}","description":"Set a unique stable key for this action. Keep it unchanged on retries."}],"url":{"raw":"{{baseUrl}}/api/public/v1/repairs","host":["{{baseUrl}}"],"path":["api","public","v1","repairs"]},"body":{"mode":"raw","raw":"{\n  \"customer_id\": \"33333333-3333-4333-8333-333333333333\",\n  \"device\": \"Sample laptop\",\n  \"issue\": \"Synthetic repair request\"\n}","options":{"raw":{"language":"json"}}},"description":"WRITES SHOP DATA. Requires repairs:write. Creates an Intake repair for an unarchived customer in this location. Use synthetic test records first."}},{"name":"Update repair status","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{idempotencyKey}}","description":"Set a unique stable key for this action. Keep it unchanged on retries."}],"url":{"raw":"{{baseUrl}}/api/public/v1/repairs/{{repairId}}/status","host":["{{baseUrl}}"],"path":["api","public","v1","repairs","{{repairId}}","status"]},"body":{"mode":"raw","raw":"{\n  \"status\": \"Diagnosing\",\n  \"expected_revision\": \"1793111400000000\"\n}","options":{"raw":{"language":"json"}}},"description":"WRITES SHOP DATA. Requires repairs:write. Reads are recommended before every status update. A stale expected_revision returns 409. Review current state and use a new key when changing the request. Existing signature requirements, customer notifications and shop workflow rules still apply. Use synthetic test records first."}}]}