ID of the service to retrieve options and variants for.
Retrieved serviceOptionsAndVariants
object.
curl -X GET \
'https://wixapis.com/bookings/v1/serviceOptionsAndVariants/service_id/33340481-e57e-4285-8e31-4f0b5ca0a6b5' \
-H 'Authorization: <AUTH>'
{
"serviceOptionsAndVariants": {
"id": "0cf0c708-58f0-408b-a10f-a6d9b6e2a6de",
"serviceId": "33340481-e57e-4285-8e31-4f0b5ca0a6b5",
"options": {
"values": [
{
"id": "ae6ecb80-5013-4e6c-95f4-20708583f72d",
"type": "STAFF_MEMBER"
}
]
},
"variants": {
"values": [
{
"choices": [
{
"optionId": "ae6ecb80-5013-4e6c-95f4-20708583f72d",
"staffMemberId": "5a79026c-36f9-4839-ad4a-9a3132af5895"
}
],
"price": {
"value": "55",
"currency": "EUR"
}
},
{
"choices": [
{
"optionId": "ae6ecb80-5013-4e6c-95f4-20708583f72d",
"staffMemberId": "963c5a66-e4be-490c-9e79-556c9a4d8807"
}
],
"price": {
"value": "105",
"currency": "EUR"
}
},
{
"choices": [
{
"optionId": "ae6ecb80-5013-4e6c-95f4-20708583f72d",
"staffMemberId": "59581285-876b-4581-8f4c-cf90452d94e9"
}
],
"price": {
"value": "50",
"currency": "EUR"
}
},
{
"choices": [
{
"optionId": "ae6ecb80-5013-4e6c-95f4-20708583f72d",
"staffMemberId": "9a3d4d6c-0ff9-4671-9fad-0aa2cbcd8b0f"
}
],
"price": {
"value": "60",
"currency": "EUR"
}
}
]
},
"minPrice": {
"value": "50",
"currency": "EUR"
},
"maxPrice": {
"value": "105",
"currency": "EUR"
},
"revision": "1"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.