Description: When attempting to update Accommodation Product Data using the REST API, the update fails. After sending the POST request, the response returns an error: "type": "type is not one of simple, grouped, external, variable, and booking." indicating that the provided product type is not recognized by the system.
Description: When attempting to update Accommodation Product Data using the REST API, the update fails. After sending the POST request, the response returns an error: "type": "type is not one of simple, grouped, external, variable, and booking." indicating that the provided product type is not recognized by the system.
Reference taken for updating the product- https://woocommerce.github.io/woocommerce-bookings-api-docs/#update-a-bookable-product
What I expected
Accommodation Products should also be updated via REST API.
What happened instead
Doesn't update.
Steps to reproduce the issue
https://github.com/woocommerce/woocommerce-accommodation-bookings/assets/6384299/61b28cab-5757-4e4a-be71-0745d386a80d