POST

Set Availability


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 the current provider receives new leads. Set enabled to false to pause all new leads (for example, while on vacation) and true to resume. The provider must be published; otherwise the call fails with NOT_PUBLISHED. Calling with availability already set to the requested value fails with ALREADY_SET. Resuming availability also clears any active prolonged-unavailability warning on the provider's status.

Authentication

You can only call this method when authenticated as a Wix user or by using an account level API key.

Permissions
Manage CRM and Marketplace
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/partners/marketplace/v1/provider-states/set-availability

Errors

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

Did this help?