{ "opencollection": "1.0.0", "info": { "name": "Phorest Third-Party Appointments Bookings API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Bookings", "type": "folder" }, "items": [ { "info": { "name": "Check appointment availability", "type": "http" }, "http": { "method": "POST", "url": "https://api-gateway-eu.phorest.com/third-party-api-server/api/business/:businessId/branch/:branchId/appointments/availability", "params": [ { "name": "businessId", "value": "", "type": "path", "description": "The Phorest business (salon group) identifier." }, { "name": "branchId", "value": "", "type": "path", "description": "The Phorest branch (location) identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Returns available appointment slots for a set of requested services within a time window; optionally scoped to a client or an existing booking being rescheduled. Confirmed: developer.phorest.com/reference/checkappointmentavailability." }, { "info": { "name": "Create a booking", "type": "http" }, "http": { "method": "POST", "url": "https://api-gateway-eu.phorest.com/third-party-api-server/api/business/:businessId/branch/:branchId/booking", "params": [ { "name": "businessId", "value": "", "type": "path", "description": "The Phorest business (salon group) identifier." }, { "name": "branchId", "value": "", "type": "path", "description": "The Phorest branch (location) identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a booking (one or more scheduled services) for a client. Confirmed: developer.phorest.com/reference/createbooking." }, { "info": { "name": "Cancel a booking", "type": "http" }, "http": { "method": "POST", "url": "https://api-gateway-eu.phorest.com/third-party-api-server/api/business/:businessId/branch/:branchId/booking/:bookingId/cancel", "params": [ { "name": "businessId", "value": "", "type": "path", "description": "The Phorest business (salon group) identifier." }, { "name": "branchId", "value": "", "type": "path", "description": "The Phorest branch (location) identifier." }, { "name": "bookingId", "value": "", "type": "path" } ] }, "docs": "Cancels a booking. Confirmed to exist: developer.phorest.com/reference/cancelbooking; sub-path modeled by convention." }, { "info": { "name": "Activate a reserved booking", "type": "http" }, "http": { "method": "POST", "url": "https://api-gateway-eu.phorest.com/third-party-api-server/api/business/:businessId/branch/:branchId/booking/:bookingId/activate", "params": [ { "name": "businessId", "value": "", "type": "path", "description": "The Phorest business (salon group) identifier." }, { "name": "branchId", "value": "", "type": "path", "description": "The Phorest branch (location) identifier." }, { "name": "bookingId", "value": "", "type": "path" } ] }, "docs": "Activates a RESERVED booking, turning a temporary hold into an ACTIVE booking. Confirmed to exist: developer.phorest.com/reference/activatebooking; sub-path modeled by convention." }, { "info": { "name": "Append a note to a booking", "type": "http" }, "http": { "method": "POST", "url": "https://api-gateway-eu.phorest.com/third-party-api-server/api/business/:businessId/branch/:branchId/booking/:bookingId/note", "params": [ { "name": "businessId", "value": "", "type": "path", "description": "The Phorest business (salon group) identifier." }, { "name": "branchId", "value": "", "type": "path", "description": "The Phorest branch (location) identifier." }, { "name": "bookingId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Appends a service/colour note to an existing booking. Confirmed to exist: developer.phorest.com/reference/appendnotetobooking; sub-path modeled by convention." }, { "info": { "name": "Create a deposit payment link", "type": "http" }, "http": { "method": "POST", "url": "https://api-gateway-eu.phorest.com/third-party-api-server/api/business/:businessId/branch/:branchId/deposit-payment-link", "params": [ { "name": "businessId", "value": "", "type": "path", "description": "The Phorest business (salon group) identifier." }, { "name": "branchId", "value": "", "type": "path", "description": "The Phorest branch (location) identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a hosted payment link so a client can pay a booking deposit online. Confirmed to exist: developer.phorest.com/reference/createdepositpaymentlink; sub-path modeled by convention." } ] } ], "bundled": true }