ポスト

Lock


開発者プレビュー

このAPIは変更される可能性があります。プレビュー期間中、開発者からのフィードバックに基づいてバグ修正や新機能がリリースされる予定です。

Deprecation Notice:

This endpoint will be removed on December 31, 2024.

Lock a session to prevent bookings.

When invoking Lock with a sessionId, the session can no longer be booked or checked out unless the returned key is passed in the request. Lock returns a key that can also be used with Unlock to re-enable booking and checkout for the given session.

Once a session is locked:

  • When calling Is Available, the returned value of the available property is 擬似.
  • Calling Book or Checkout will fail unless the correct key is passed in the request.

Permissions This endpoint requires the Manage Bookings permission scope.

Endpoint
POST
https://www.wixapis.com/bookings/v1/availability/lock

役に立ちましたか?
はい
いいえ