put https://{api_url}/api/v5/baskets//service_items/
This API endpoint is unique in that it requires all the same params as creating a new Service Item
The newly created Service Item will replace the existing Service Item on the Basket.
You will only be able to book this if the time is available*
- Ignoring the fact that you already may hold a reservation on the time with the Service Item that is being replaced
Assets (assets
), this parameters describe a list of rules which a time must
satisfy to be considered available.
A Asset consists of a - company_rule -> can be either
default
(it will respect the company of the URL),any
(it can be any company that provides the service), orArray<CompanyID>
one of these companies (which must provide the service). - person_rule -> can be either
any
(any person which provides the service),any_or_none
(the user is indifferent as to whether a person is associated to the booking),Array<PersonID>
one of these people who provide the service. - resource_rule -> same as person_rule: can be either
any
(any resource which provides the service),any_or_none
(the user is indifferent as to whether a resource is associated to the booking),Array<PersonID>
one of these resources with which the service can be provided.
Recipes
🗒️
Fetch Booking Questions to capture customer data
Open Recipe