{ "opencollection": "1.0.0", "info": { "name": "TheFork B2B Customers Reservations API", "version": "v1" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.thefork.io/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Reservations", "type": "folder" }, "items": [ { "info": { "name": "Create Reservation", "type": "http" }, "http": { "method": "POST", "url": "https://api.thefork.io/manager/v1/restaurants/:id/reservations", "params": [ { "name": "id", "value": "", "type": "path", "description": "The restaurant identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a reservation for a given restaurant, with all details such as meal date, party size, and customer data." }, { "info": { "name": "Get Reservation", "type": "http" }, "http": { "method": "GET", "url": "https://api.thefork.io/manager/v1/reservations/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The reservation identifier." } ] }, "docs": "Retrieve the reservation details for a given reservation id." }, { "info": { "name": "Update Reservation", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.thefork.io/manager/v1/reservations/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The reservation identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a reservation meal date and party size." } ] } ], "bundled": true }