POST

Set Service Provider


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Sets whether a staff member is a service provider, meaning someone who provides bookable services to customers.

Demoting a staff member to non-provider hides them from booking flows. Their working hours are preserved and existing bookings aren't affected.

Promoting a staff member to service provider also grants the Wix user connected to them the Staff role, if they don't already have it. Demoting the staff member doesn't revoke that role.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Bookings
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/bookings/v1/staff-members/{staffMemberId}/set-service-provider

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?