{ "opencollection": "1.0.0", "info": { "name": "API V1 API Partners Staff Members API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "X-Api-Partner-Id", "value": "{{X-Api-Partner-Id}}", "placement": "header" } }, "items": [ { "info": { "name": "Staff Members", "type": "folder" }, "items": [ { "info": { "name": "Get a list of all staff members", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/tenants/:tenant_id/staffs", "params": [ { "name": "tenant_id", "value": "1", "type": "path" }, { "name": "page", "value": "1", "type": "query" }, { "name": "per_page", "value": "30", "type": "query" }, { "name": "is_active", "value": "true", "type": "query" }, { "name": "assigned_shop_id", "value": "1", "type": "query" }, { "name": "updated_after", "value": "2022-10-24T12%3A00%3A00%2B08%3A00", "type": "query", "description": "Filter response to only include records updated after a given time" } ] }, "docs": "Get a list of all staff members" }, { "info": { "name": "Create a new staff member", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/tenants/:tenant_id/staffs", "params": [ { "name": "tenant_id", "value": "1", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new staff member" }, { "info": { "name": "Update existing staff member", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/v1/tenants/:tenant_id/staffs", "params": [ { "name": "tenant_id", "value": "1", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update existing staff member" }, { "info": { "name": "Get a specific staff member by ID", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/tenants/:tenant_id/staffs/:id", "params": [ { "name": "tenant_id", "value": "1", "type": "path" }, { "name": "id", "value": "1", "type": "path" } ] }, "docs": "Get a specific staff member by ID" }, { "info": { "name": "Update a specific staff member by ID", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/v1/tenants/:tenant_id/staffs/:id", "params": [ { "name": "tenant_id", "value": "1", "type": "path" }, { "name": "id", "value": "1", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific staff member by ID" }, { "info": { "name": "Notify staff", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/tenants/:tenant_id/staffs/notification", "params": [ { "name": "tenant_id", "value": "1", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Notify staff" } ] } ], "bundled": true }