@wix/auto_sdk_bookings_services 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/bookings-services-v2-service-services.http.d.ts +22 -22
- package/build/cjs/src/bookings-services-v2-service-services.http.js +22 -22
- package/build/cjs/src/bookings-services-v2-service-services.public.d.ts +23 -23
- package/build/cjs/src/bookings-services-v2-service-services.types.d.ts +15 -15
- package/build/cjs/src/bookings-services-v2-service-services.types.js +2 -2
- package/build/cjs/src/bookings-services-v2-service-services.universal.d.ts +44 -44
- package/build/cjs/src/bookings-services-v2-service-services.universal.js +25 -25
- package/build/es/src/bookings-services-v2-service-services.http.d.ts +22 -22
- package/build/es/src/bookings-services-v2-service-services.http.js +22 -22
- package/build/es/src/bookings-services-v2-service-services.public.d.ts +23 -23
- package/build/es/src/bookings-services-v2-service-services.types.d.ts +15 -15
- package/build/es/src/bookings-services-v2-service-services.types.js +2 -2
- package/build/es/src/bookings-services-v2-service-services.universal.d.ts +44 -44
- package/build/es/src/bookings-services-v2-service-services.universal.js +25 -25
- package/build/internal/cjs/src/bookings-services-v2-service-services.http.d.ts +22 -22
- package/build/internal/cjs/src/bookings-services-v2-service-services.http.js +22 -22
- package/build/internal/cjs/src/bookings-services-v2-service-services.public.d.ts +23 -23
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.d.ts +15 -15
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.js +2 -2
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.d.ts +44 -44
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js +25 -25
- package/build/internal/es/src/bookings-services-v2-service-services.http.d.ts +22 -22
- package/build/internal/es/src/bookings-services-v2-service-services.http.js +22 -22
- package/build/internal/es/src/bookings-services-v2-service-services.public.d.ts +23 -23
- package/build/internal/es/src/bookings-services-v2-service-services.types.d.ts +15 -15
- package/build/internal/es/src/bookings-services-v2-service-services.types.js +2 -2
- package/build/internal/es/src/bookings-services-v2-service-services.universal.d.ts +44 -44
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js +25 -25
- package/package.json +2 -2
|
@@ -63,12 +63,12 @@ var LocationTypeEnumLocationType;
|
|
|
63
63
|
(function (LocationTypeEnumLocationType) {
|
|
64
64
|
LocationTypeEnumLocationType["UNKNOWN_LOCATION_TYPE"] = "UNKNOWN_LOCATION_TYPE";
|
|
65
65
|
/**
|
|
66
|
-
* Location set by the business that is not a standard business location
|
|
66
|
+
* Location set by the business that is not a standard business *location*
|
|
67
67
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
68
68
|
*/
|
|
69
69
|
LocationTypeEnumLocationType["CUSTOM"] = "CUSTOM";
|
|
70
70
|
/**
|
|
71
|
-
* Business location
|
|
71
|
+
* Business *location*
|
|
72
72
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
73
73
|
*/
|
|
74
74
|
LocationTypeEnumLocationType["BUSINESS"] = "BUSINESS";
|
|
@@ -461,7 +461,7 @@ var WebhookIdentityType;
|
|
|
461
461
|
* - Specify all supported session durations in `schedule.availabilityConstraints.sessionDurations`.
|
|
462
462
|
* - Note that Wix Bookings doesn't display these values to customers and
|
|
463
463
|
* ignores them in pricing and availability calculations. Instead session
|
|
464
|
-
* durations are retrieved from the relevant service variants
|
|
464
|
+
* durations are retrieved from the relevant service *variants*
|
|
465
465
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
466
466
|
* - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
|
|
467
467
|
* even though these values are ignored.
|
|
@@ -641,7 +641,7 @@ exports.getService = getService;
|
|
|
641
641
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
642
642
|
* only if you want to update it for appointment-based services without varied
|
|
643
643
|
* pricing based on session length. Don't specify `schedule.availabilityConstraints.sessionDurations`
|
|
644
|
-
* for all other appointment-based services, classes, or courses. See Create Service
|
|
644
|
+
* for all other appointment-based services, classes, or courses. See *Create Service*
|
|
645
645
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service#session-durations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service#session-durations))
|
|
646
646
|
* for more details.
|
|
647
647
|
* @param _id - Service ID.
|
|
@@ -738,7 +738,7 @@ exports.updateService = updateService;
|
|
|
738
738
|
* Updates up to 100 services.
|
|
739
739
|
*
|
|
740
740
|
*
|
|
741
|
-
* See Update Service
|
|
741
|
+
* See *Update Service*
|
|
742
742
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
743
743
|
* for more details.
|
|
744
744
|
*
|
|
@@ -850,7 +850,7 @@ exports.bulkUpdateServices = bulkUpdateServices;
|
|
|
850
850
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
851
851
|
* for more details.
|
|
852
852
|
*
|
|
853
|
-
* See Update Service
|
|
853
|
+
* See *Update Service*
|
|
854
854
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
855
855
|
* for more details about updating a service.
|
|
856
856
|
*
|
|
@@ -972,7 +972,7 @@ exports.deleteService = deleteService;
|
|
|
972
972
|
* Deletes multiple services.
|
|
973
973
|
*
|
|
974
974
|
*
|
|
975
|
-
* See Delete Service
|
|
975
|
+
* See *Delete Service*
|
|
976
976
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
977
977
|
* for more details about deleting a service.
|
|
978
978
|
*
|
|
@@ -1052,7 +1052,7 @@ exports.bulkDeleteServices = bulkDeleteServices;
|
|
|
1052
1052
|
* Deletes multiple services by filter.
|
|
1053
1053
|
*
|
|
1054
1054
|
*
|
|
1055
|
-
* See Delete Service
|
|
1055
|
+
* See *Delete Service*
|
|
1056
1056
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
1057
1057
|
* for more details about deleting a service.
|
|
1058
1058
|
*
|
|
@@ -1234,9 +1234,9 @@ exports.queryServices = queryServices;
|
|
|
1234
1234
|
* ## See also
|
|
1235
1235
|
*
|
|
1236
1236
|
* To learn about working with *Search* methods, see
|
|
1237
|
-
*
|
|
1237
|
+
* _API Query Language_
|
|
1238
1238
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language))
|
|
1239
|
-
* and Sorting and Paging
|
|
1239
|
+
* and *Sorting and Paging*
|
|
1240
1240
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging)).
|
|
1241
1241
|
* @param search - WQL, search or aggregation expression.
|
|
1242
1242
|
* @public
|
|
@@ -1311,7 +1311,7 @@ async function searchServices(search) {
|
|
|
1311
1311
|
}
|
|
1312
1312
|
exports.searchServices = searchServices;
|
|
1313
1313
|
/**
|
|
1314
|
-
* Retrieves a list of up to 100 booking policies
|
|
1314
|
+
* Retrieves a list of up to 100 *booking policies*
|
|
1315
1315
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)),
|
|
1316
1316
|
* and information about the services that are connected to them,
|
|
1317
1317
|
* given the provided filtering, paging, and sorting.
|
|
@@ -1335,7 +1335,7 @@ exports.searchServices = searchServices;
|
|
|
1335
1335
|
*
|
|
1336
1336
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
1337
1337
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
1338
|
-
* indicate the total number of services linked to each policy. You can call Search Services
|
|
1338
|
+
* indicate the total number of services linked to each policy. You can call *Search Services*
|
|
1339
1339
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/search-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/search-services))
|
|
1340
1340
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
1341
1341
|
* connected to the booking policy.
|
|
@@ -1457,7 +1457,7 @@ async function queryPolicies(query) {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
exports.queryPolicies = queryPolicies;
|
|
1459
1459
|
/**
|
|
1460
|
-
* Retrieves a list of up to 100 booking forms
|
|
1460
|
+
* Retrieves a list of up to 100 *booking forms*
|
|
1461
1461
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/forms/introduction)),
|
|
1462
1462
|
* and information about the services that are connected to them,
|
|
1463
1463
|
* given the provided filtering, paging, and sorting.
|
|
@@ -1482,7 +1482,7 @@ exports.queryPolicies = queryPolicies;
|
|
|
1482
1482
|
*
|
|
1483
1483
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
1484
1484
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
1485
|
-
* values indicate the total number of services linked to each form. You can call Query Services
|
|
1485
|
+
* values indicate the total number of services linked to each form. You can call *Query Services*
|
|
1486
1486
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/query-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/query-services))
|
|
1487
1487
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
1488
1488
|
* connected to the booking form.
|
|
@@ -1606,7 +1606,7 @@ async function countServices(options) {
|
|
|
1606
1606
|
}
|
|
1607
1607
|
exports.countServices = countServices;
|
|
1608
1608
|
/**
|
|
1609
|
-
* Retrieves 3 separate lists of business, custom, and customer locations
|
|
1609
|
+
* Retrieves 3 separate lists of business, custom, and customer *locations*
|
|
1610
1610
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)),
|
|
1611
1611
|
* given the provided filtering, and whether each location is connected to at
|
|
1612
1612
|
* least one of the site's services.
|
|
@@ -1683,7 +1683,7 @@ async function queryLocations(options) {
|
|
|
1683
1683
|
}
|
|
1684
1684
|
exports.queryLocations = queryLocations;
|
|
1685
1685
|
/**
|
|
1686
|
-
* Retrieves a list of service categories
|
|
1686
|
+
* Retrieves a list of service *categories*
|
|
1687
1687
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v2/introduction)),
|
|
1688
1688
|
* given the provided filtering.
|
|
1689
1689
|
*
|
|
@@ -1750,7 +1750,7 @@ async function queryCategories(options) {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
exports.queryCategories = queryCategories;
|
|
1752
1752
|
/**
|
|
1753
|
-
* Replaces the list of the locations
|
|
1753
|
+
* Replaces the list of the *locations*
|
|
1754
1754
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
1755
1755
|
* where the business offers the service.
|
|
1756
1756
|
*
|
|
@@ -1786,7 +1786,7 @@ exports.queryCategories = queryCategories;
|
|
|
1786
1786
|
* Depending on whether the new or updated location is a business or custom location,
|
|
1787
1787
|
* you need to specify different fields.
|
|
1788
1788
|
*
|
|
1789
|
-
* - **Business location**: Specify the relevant location ID
|
|
1789
|
+
* - **Business location**: Specify the relevant *location ID*
|
|
1790
1790
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
1791
1791
|
* in `locations.business.id`.
|
|
1792
1792
|
* - **Custom location**: Specify the complete address object as
|
|
@@ -1890,18 +1890,18 @@ async function setServiceLocations(serviceId, locations, options) {
|
|
|
1890
1890
|
}
|
|
1891
1891
|
exports.setServiceLocations = setServiceLocations;
|
|
1892
1892
|
/**
|
|
1893
|
-
* Adds a list of pricing
|
|
1893
|
+
* Adds a list of *pricing plan IDs*
|
|
1894
1894
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
1895
1895
|
* to a service's `payment.pricingPlanIds` array.
|
|
1896
1896
|
*
|
|
1897
1897
|
*
|
|
1898
1898
|
* The call doesn't validate whether the service's `payment.options.pricingPlan`
|
|
1899
1899
|
* is set to `true`. If it's set to `false`, customers aren't able to pay
|
|
1900
|
-
* for their bookings using pricing plans. You can call Update Service
|
|
1900
|
+
* for their bookings using pricing plans. You can call *Update Service*
|
|
1901
1901
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
1902
1902
|
* to change a service's supported payment methods.
|
|
1903
1903
|
* @param serviceId - ID of the service to update.
|
|
1904
|
-
* @param pricingPlanIds - IDs of the pricing plans
|
|
1904
|
+
* @param pricingPlanIds - IDs of the *pricing plans*
|
|
1905
1905
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
1906
1906
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
1907
1907
|
* @public
|
|
@@ -1968,7 +1968,7 @@ async function enablePricingPlansForService(serviceId, pricingPlanIds) {
|
|
|
1968
1968
|
}
|
|
1969
1969
|
exports.enablePricingPlansForService = enablePricingPlansForService;
|
|
1970
1970
|
/**
|
|
1971
|
-
* Removes a list of pricing
|
|
1971
|
+
* Removes a list of *pricing plan IDs*
|
|
1972
1972
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
1973
1973
|
* from a service's `payment.pricingPlanIds` array.
|
|
1974
1974
|
*
|
|
@@ -2193,7 +2193,7 @@ exports.validateSlug = validateSlug;
|
|
|
2193
2193
|
*
|
|
2194
2194
|
* ### Service options and variants
|
|
2195
2195
|
*
|
|
2196
|
-
* If the original service has variants
|
|
2196
|
+
* If the original service has *variants*
|
|
2197
2197
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)),
|
|
2198
2198
|
* they're cloned asynchronously. The *Clone Service* call always succeeds,
|
|
2199
2199
|
* regardless of whether variants were cloned.
|
|
@@ -2201,7 +2201,7 @@ exports.validateSlug = validateSlug;
|
|
|
2201
2201
|
* If the response includes `OPTIONS_AND_VARIANTS` in the `errors` array, the cloned
|
|
2202
2202
|
* service doesn't have variants, even though the original service does. You can
|
|
2203
2203
|
* delete the cloned service and call *Clone Service* again, or use the
|
|
2204
|
-
*
|
|
2204
|
+
* _Service Options And Variants API_
|
|
2205
2205
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction))
|
|
2206
2206
|
* to add variants.
|
|
2207
2207
|
*
|
|
@@ -2212,7 +2212,7 @@ exports.validateSlug = validateSlug;
|
|
|
2212
2212
|
*
|
|
2213
2213
|
* ### Pricing plans
|
|
2214
2214
|
*
|
|
2215
|
-
* If the original service's accepts payments via pricing plans
|
|
2215
|
+
* If the original service's accepts payments via *pricing plans*
|
|
2216
2216
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/plans/introduction)),
|
|
2217
2217
|
* the cloned service's `payment.options.pricingPlan` is also set to `true`. To
|
|
2218
2218
|
* accept specific pricing plans, call *Enable Pricing Plans For Service*
|
|
@@ -38,7 +38,7 @@ import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
|
38
38
|
* - Specify all supported session durations in `schedule.availabilityConstraints.sessionDurations`.
|
|
39
39
|
* - Note that Wix Bookings doesn't display these values to customers and
|
|
40
40
|
* ignores them in pricing and availability calculations. Instead session
|
|
41
|
-
* durations are retrieved from the relevant service variants
|
|
41
|
+
* durations are retrieved from the relevant service *variants*
|
|
42
42
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
43
43
|
* - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
|
|
44
44
|
* even though these values are ignored.
|
|
@@ -60,7 +60,7 @@ export declare function getService(payload: object): RequestOptionsFactory<any>;
|
|
|
60
60
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
61
61
|
* only if you want to update it for appointment-based services without varied
|
|
62
62
|
* pricing based on session length. Don't specify `schedule.availabilityConstraints.sessionDurations`
|
|
63
|
-
* for all other appointment-based services, classes, or courses. See Create Service
|
|
63
|
+
* for all other appointment-based services, classes, or courses. See *Create Service*
|
|
64
64
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service#session-durations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service#session-durations))
|
|
65
65
|
* for more details.
|
|
66
66
|
*/
|
|
@@ -69,7 +69,7 @@ export declare function updateService(payload: object): RequestOptionsFactory<an
|
|
|
69
69
|
* Updates up to 100 services.
|
|
70
70
|
*
|
|
71
71
|
*
|
|
72
|
-
* See Update Service
|
|
72
|
+
* See *Update Service*
|
|
73
73
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
74
74
|
* for more details.
|
|
75
75
|
*
|
|
@@ -85,7 +85,7 @@ export declare function bulkUpdateServices(payload: object): RequestOptionsFacto
|
|
|
85
85
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
86
86
|
* for more details.
|
|
87
87
|
*
|
|
88
|
-
* See Update Service
|
|
88
|
+
* See *Update Service*
|
|
89
89
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
90
90
|
* for more details about updating a service.
|
|
91
91
|
*
|
|
@@ -105,7 +105,7 @@ export declare function deleteService(payload: object): RequestOptionsFactory<an
|
|
|
105
105
|
* Deletes multiple services.
|
|
106
106
|
*
|
|
107
107
|
*
|
|
108
|
-
* See Delete Service
|
|
108
|
+
* See *Delete Service*
|
|
109
109
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
110
110
|
* for more details about deleting a service.
|
|
111
111
|
*
|
|
@@ -117,7 +117,7 @@ export declare function bulkDeleteServices(payload: object): RequestOptionsFacto
|
|
|
117
117
|
* Deletes multiple services by filter.
|
|
118
118
|
*
|
|
119
119
|
*
|
|
120
|
-
* See Delete Service
|
|
120
|
+
* See *Delete Service*
|
|
121
121
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
122
122
|
* for more details about deleting a service.
|
|
123
123
|
*
|
|
@@ -168,14 +168,14 @@ export declare function queryServices(payload: object): RequestOptionsFactory<an
|
|
|
168
168
|
* ## See also
|
|
169
169
|
*
|
|
170
170
|
* To learn about working with *Search* methods, see
|
|
171
|
-
*
|
|
171
|
+
* _API Query Language_
|
|
172
172
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language))
|
|
173
|
-
* and Sorting and Paging
|
|
173
|
+
* and *Sorting and Paging*
|
|
174
174
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging)).
|
|
175
175
|
*/
|
|
176
176
|
export declare function searchServices(payload: object): RequestOptionsFactory<any>;
|
|
177
177
|
/**
|
|
178
|
-
* Retrieves a list of up to 100 booking policies
|
|
178
|
+
* Retrieves a list of up to 100 *booking policies*
|
|
179
179
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)),
|
|
180
180
|
* and information about the services that are connected to them,
|
|
181
181
|
* given the provided filtering, paging, and sorting.
|
|
@@ -199,7 +199,7 @@ export declare function searchServices(payload: object): RequestOptionsFactory<a
|
|
|
199
199
|
*
|
|
200
200
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
201
201
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
202
|
-
* indicate the total number of services linked to each policy. You can call Search Services
|
|
202
|
+
* indicate the total number of services linked to each policy. You can call *Search Services*
|
|
203
203
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/search-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/search-services))
|
|
204
204
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
205
205
|
* connected to the booking policy.
|
|
@@ -212,7 +212,7 @@ export declare function searchServices(payload: object): RequestOptionsFactory<a
|
|
|
212
212
|
*/
|
|
213
213
|
export declare function queryPolicies(payload: object): RequestOptionsFactory<any>;
|
|
214
214
|
/**
|
|
215
|
-
* Retrieves a list of up to 100 booking forms
|
|
215
|
+
* Retrieves a list of up to 100 *booking forms*
|
|
216
216
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/forms/introduction)),
|
|
217
217
|
* and information about the services that are connected to them,
|
|
218
218
|
* given the provided filtering, paging, and sorting.
|
|
@@ -237,7 +237,7 @@ export declare function queryPolicies(payload: object): RequestOptionsFactory<an
|
|
|
237
237
|
*
|
|
238
238
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
239
239
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
240
|
-
* values indicate the total number of services linked to each form. You can call Query Services
|
|
240
|
+
* values indicate the total number of services linked to each form. You can call *Query Services*
|
|
241
241
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/query-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/query-services))
|
|
242
242
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
243
243
|
* connected to the booking form.
|
|
@@ -268,7 +268,7 @@ export declare function queryBookingForms(payload: object): RequestOptionsFactor
|
|
|
268
268
|
*/
|
|
269
269
|
export declare function countServices(payload: object): RequestOptionsFactory<any>;
|
|
270
270
|
/**
|
|
271
|
-
* Retrieves 3 separate lists of business, custom, and customer locations
|
|
271
|
+
* Retrieves 3 separate lists of business, custom, and customer *locations*
|
|
272
272
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)),
|
|
273
273
|
* given the provided filtering, and whether each location is connected to at
|
|
274
274
|
* least one of the site's services.
|
|
@@ -295,7 +295,7 @@ export declare function countServices(payload: object): RequestOptionsFactory<an
|
|
|
295
295
|
*/
|
|
296
296
|
export declare function queryLocations(payload: object): RequestOptionsFactory<any>;
|
|
297
297
|
/**
|
|
298
|
-
* Retrieves a list of service categories
|
|
298
|
+
* Retrieves a list of service *categories*
|
|
299
299
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v2/introduction)),
|
|
300
300
|
* given the provided filtering.
|
|
301
301
|
*
|
|
@@ -321,7 +321,7 @@ export declare function queryLocations(payload: object): RequestOptionsFactory<a
|
|
|
321
321
|
*/
|
|
322
322
|
export declare function queryCategories(payload: object): RequestOptionsFactory<any>;
|
|
323
323
|
/**
|
|
324
|
-
* Replaces the list of the locations
|
|
324
|
+
* Replaces the list of the *locations*
|
|
325
325
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
326
326
|
* where the business offers the service.
|
|
327
327
|
*
|
|
@@ -357,7 +357,7 @@ export declare function queryCategories(payload: object): RequestOptionsFactory<
|
|
|
357
357
|
* Depending on whether the new or updated location is a business or custom location,
|
|
358
358
|
* you need to specify different fields.
|
|
359
359
|
*
|
|
360
|
-
* - **Business location**: Specify the relevant location ID
|
|
360
|
+
* - **Business location**: Specify the relevant *location ID*
|
|
361
361
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
362
362
|
* in `locations.business.id`.
|
|
363
363
|
* - **Custom location**: Specify the complete address object as
|
|
@@ -372,20 +372,20 @@ export declare function queryCategories(payload: object): RequestOptionsFactory<
|
|
|
372
372
|
*/
|
|
373
373
|
export declare function setServiceLocations(payload: object): RequestOptionsFactory<any>;
|
|
374
374
|
/**
|
|
375
|
-
* Adds a list of pricing
|
|
375
|
+
* Adds a list of *pricing plan IDs*
|
|
376
376
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
377
377
|
* to a service's `payment.pricingPlanIds` array.
|
|
378
378
|
*
|
|
379
379
|
*
|
|
380
380
|
* The call doesn't validate whether the service's `payment.options.pricingPlan`
|
|
381
381
|
* is set to `true`. If it's set to `false`, customers aren't able to pay
|
|
382
|
-
* for their bookings using pricing plans. You can call Update Service
|
|
382
|
+
* for their bookings using pricing plans. You can call *Update Service*
|
|
383
383
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
384
384
|
* to change a service's supported payment methods.
|
|
385
385
|
*/
|
|
386
386
|
export declare function enablePricingPlansForService(payload: object): RequestOptionsFactory<any>;
|
|
387
387
|
/**
|
|
388
|
-
* Removes a list of pricing
|
|
388
|
+
* Removes a list of *pricing plan IDs*
|
|
389
389
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
390
390
|
* from a service's `payment.pricingPlanIds` array.
|
|
391
391
|
*
|
|
@@ -451,7 +451,7 @@ export declare function validateSlug(payload: object): RequestOptionsFactory<any
|
|
|
451
451
|
*
|
|
452
452
|
* ### Service options and variants
|
|
453
453
|
*
|
|
454
|
-
* If the original service has variants
|
|
454
|
+
* If the original service has *variants*
|
|
455
455
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)),
|
|
456
456
|
* they're cloned asynchronously. The *Clone Service* call always succeeds,
|
|
457
457
|
* regardless of whether variants were cloned.
|
|
@@ -459,7 +459,7 @@ export declare function validateSlug(payload: object): RequestOptionsFactory<any
|
|
|
459
459
|
* If the response includes `OPTIONS_AND_VARIANTS` in the `errors` array, the cloned
|
|
460
460
|
* service doesn't have variants, even though the original service does. You can
|
|
461
461
|
* delete the cloned service and call *Clone Service* again, or use the
|
|
462
|
-
*
|
|
462
|
+
* _Service Options And Variants API_
|
|
463
463
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction))
|
|
464
464
|
* to add variants.
|
|
465
465
|
*
|
|
@@ -470,7 +470,7 @@ export declare function validateSlug(payload: object): RequestOptionsFactory<any
|
|
|
470
470
|
*
|
|
471
471
|
* ### Pricing plans
|
|
472
472
|
*
|
|
473
|
-
* If the original service's accepts payments via pricing plans
|
|
473
|
+
* If the original service's accepts payments via *pricing plans*
|
|
474
474
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/plans/introduction)),
|
|
475
475
|
* the cloned service's `payment.options.pricingPlan` is also set to `true`. To
|
|
476
476
|
* accept specific pricing plans, call *Enable Pricing Plans For Service*
|
|
@@ -157,7 +157,7 @@ const PACKAGE_NAME = '@wix/auto_sdk_bookings_services';
|
|
|
157
157
|
* - Specify all supported session durations in `schedule.availabilityConstraints.sessionDurations`.
|
|
158
158
|
* - Note that Wix Bookings doesn't display these values to customers and
|
|
159
159
|
* ignores them in pricing and availability calculations. Instead session
|
|
160
|
-
* durations are retrieved from the relevant service variants
|
|
160
|
+
* durations are retrieved from the relevant service *variants*
|
|
161
161
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
162
162
|
* - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
|
|
163
163
|
* even though these values are ignored.
|
|
@@ -316,7 +316,7 @@ export function getService(payload) {
|
|
|
316
316
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
317
317
|
* only if you want to update it for appointment-based services without varied
|
|
318
318
|
* pricing based on session length. Don't specify `schedule.availabilityConstraints.sessionDurations`
|
|
319
|
-
* for all other appointment-based services, classes, or courses. See Create Service
|
|
319
|
+
* for all other appointment-based services, classes, or courses. See *Create Service*
|
|
320
320
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service#session-durations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service#session-durations))
|
|
321
321
|
* for more details.
|
|
322
322
|
*/
|
|
@@ -414,7 +414,7 @@ export function updateService(payload) {
|
|
|
414
414
|
* Updates up to 100 services.
|
|
415
415
|
*
|
|
416
416
|
*
|
|
417
|
-
* See Update Service
|
|
417
|
+
* See *Update Service*
|
|
418
418
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
419
419
|
* for more details.
|
|
420
420
|
*
|
|
@@ -545,7 +545,7 @@ export function bulkUpdateServices(payload) {
|
|
|
545
545
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
546
546
|
* for more details.
|
|
547
547
|
*
|
|
548
|
-
* See Update Service
|
|
548
|
+
* See *Update Service*
|
|
549
549
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
550
550
|
* for more details about updating a service.
|
|
551
551
|
*
|
|
@@ -636,7 +636,7 @@ export function deleteService(payload) {
|
|
|
636
636
|
* Deletes multiple services.
|
|
637
637
|
*
|
|
638
638
|
*
|
|
639
|
-
* See Delete Service
|
|
639
|
+
* See *Delete Service*
|
|
640
640
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
641
641
|
* for more details about deleting a service.
|
|
642
642
|
*
|
|
@@ -712,7 +712,7 @@ export function bulkDeleteServices(payload) {
|
|
|
712
712
|
* Deletes multiple services by filter.
|
|
713
713
|
*
|
|
714
714
|
*
|
|
715
|
-
* See Delete Service
|
|
715
|
+
* See *Delete Service*
|
|
716
716
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
717
717
|
* for more details about deleting a service.
|
|
718
718
|
*
|
|
@@ -834,9 +834,9 @@ export function queryServices(payload) {
|
|
|
834
834
|
* ## See also
|
|
835
835
|
*
|
|
836
836
|
* To learn about working with *Search* methods, see
|
|
837
|
-
*
|
|
837
|
+
* _API Query Language_
|
|
838
838
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language))
|
|
839
|
-
* and Sorting and Paging
|
|
839
|
+
* and *Sorting and Paging*
|
|
840
840
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging)).
|
|
841
841
|
*/
|
|
842
842
|
export function searchServices(payload) {
|
|
@@ -931,7 +931,7 @@ export function searchServices(payload) {
|
|
|
931
931
|
return __searchServices;
|
|
932
932
|
}
|
|
933
933
|
/**
|
|
934
|
-
* Retrieves a list of up to 100 booking policies
|
|
934
|
+
* Retrieves a list of up to 100 *booking policies*
|
|
935
935
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)),
|
|
936
936
|
* and information about the services that are connected to them,
|
|
937
937
|
* given the provided filtering, paging, and sorting.
|
|
@@ -955,7 +955,7 @@ export function searchServices(payload) {
|
|
|
955
955
|
*
|
|
956
956
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
957
957
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
958
|
-
* indicate the total number of services linked to each policy. You can call Search Services
|
|
958
|
+
* indicate the total number of services linked to each policy. You can call *Search Services*
|
|
959
959
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/search-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/search-services))
|
|
960
960
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
961
961
|
* connected to the booking policy.
|
|
@@ -1093,7 +1093,7 @@ export function queryPolicies(payload) {
|
|
|
1093
1093
|
return __queryPolicies;
|
|
1094
1094
|
}
|
|
1095
1095
|
/**
|
|
1096
|
-
* Retrieves a list of up to 100 booking forms
|
|
1096
|
+
* Retrieves a list of up to 100 *booking forms*
|
|
1097
1097
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/forms/introduction)),
|
|
1098
1098
|
* and information about the services that are connected to them,
|
|
1099
1099
|
* given the provided filtering, paging, and sorting.
|
|
@@ -1118,7 +1118,7 @@ export function queryPolicies(payload) {
|
|
|
1118
1118
|
*
|
|
1119
1119
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
1120
1120
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
1121
|
-
* values indicate the total number of services linked to each form. You can call Query Services
|
|
1121
|
+
* values indicate the total number of services linked to each form. You can call *Query Services*
|
|
1122
1122
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/query-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/query-services))
|
|
1123
1123
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
1124
1124
|
* connected to the booking form.
|
|
@@ -1183,7 +1183,7 @@ export function countServices(payload) {
|
|
|
1183
1183
|
return __countServices;
|
|
1184
1184
|
}
|
|
1185
1185
|
/**
|
|
1186
|
-
* Retrieves 3 separate lists of business, custom, and customer locations
|
|
1186
|
+
* Retrieves 3 separate lists of business, custom, and customer *locations*
|
|
1187
1187
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)),
|
|
1188
1188
|
* given the provided filtering, and whether each location is connected to at
|
|
1189
1189
|
* least one of the site's services.
|
|
@@ -1252,7 +1252,7 @@ export function queryLocations(payload) {
|
|
|
1252
1252
|
return __queryLocations;
|
|
1253
1253
|
}
|
|
1254
1254
|
/**
|
|
1255
|
-
* Retrieves a list of service categories
|
|
1255
|
+
* Retrieves a list of service *categories*
|
|
1256
1256
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v2/introduction)),
|
|
1257
1257
|
* given the provided filtering.
|
|
1258
1258
|
*
|
|
@@ -1295,7 +1295,7 @@ export function queryCategories(payload) {
|
|
|
1295
1295
|
return __queryCategories;
|
|
1296
1296
|
}
|
|
1297
1297
|
/**
|
|
1298
|
-
* Replaces the list of the locations
|
|
1298
|
+
* Replaces the list of the *locations*
|
|
1299
1299
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
1300
1300
|
* where the business offers the service.
|
|
1301
1301
|
*
|
|
@@ -1331,7 +1331,7 @@ export function queryCategories(payload) {
|
|
|
1331
1331
|
* Depending on whether the new or updated location is a business or custom location,
|
|
1332
1332
|
* you need to specify different fields.
|
|
1333
1333
|
*
|
|
1334
|
-
* - **Business location**: Specify the relevant location ID
|
|
1334
|
+
* - **Business location**: Specify the relevant *location ID*
|
|
1335
1335
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
1336
1336
|
* in `locations.business.id`.
|
|
1337
1337
|
* - **Custom location**: Specify the complete address object as
|
|
@@ -1429,14 +1429,14 @@ export function setServiceLocations(payload) {
|
|
|
1429
1429
|
return __setServiceLocations;
|
|
1430
1430
|
}
|
|
1431
1431
|
/**
|
|
1432
|
-
* Adds a list of pricing
|
|
1432
|
+
* Adds a list of *pricing plan IDs*
|
|
1433
1433
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
1434
1434
|
* to a service's `payment.pricingPlanIds` array.
|
|
1435
1435
|
*
|
|
1436
1436
|
*
|
|
1437
1437
|
* The call doesn't validate whether the service's `payment.options.pricingPlan`
|
|
1438
1438
|
* is set to `true`. If it's set to `false`, customers aren't able to pay
|
|
1439
|
-
* for their bookings using pricing plans. You can call Update Service
|
|
1439
|
+
* for their bookings using pricing plans. You can call *Update Service*
|
|
1440
1440
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
1441
1441
|
* to change a service's supported payment methods.
|
|
1442
1442
|
*/
|
|
@@ -1494,7 +1494,7 @@ export function enablePricingPlansForService(payload) {
|
|
|
1494
1494
|
return __enablePricingPlansForService;
|
|
1495
1495
|
}
|
|
1496
1496
|
/**
|
|
1497
|
-
* Removes a list of pricing
|
|
1497
|
+
* Removes a list of *pricing plan IDs*
|
|
1498
1498
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
1499
1499
|
* from a service's `payment.pricingPlanIds` array.
|
|
1500
1500
|
*
|
|
@@ -1682,7 +1682,7 @@ export function validateSlug(payload) {
|
|
|
1682
1682
|
*
|
|
1683
1683
|
* ### Service options and variants
|
|
1684
1684
|
*
|
|
1685
|
-
* If the original service has variants
|
|
1685
|
+
* If the original service has *variants*
|
|
1686
1686
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)),
|
|
1687
1687
|
* they're cloned asynchronously. The *Clone Service* call always succeeds,
|
|
1688
1688
|
* regardless of whether variants were cloned.
|
|
@@ -1690,7 +1690,7 @@ export function validateSlug(payload) {
|
|
|
1690
1690
|
* If the response includes `OPTIONS_AND_VARIANTS` in the `errors` array, the cloned
|
|
1691
1691
|
* service doesn't have variants, even though the original service does. You can
|
|
1692
1692
|
* delete the cloned service and call *Clone Service* again, or use the
|
|
1693
|
-
*
|
|
1693
|
+
* _Service Options And Variants API_
|
|
1694
1694
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction))
|
|
1695
1695
|
* to add variants.
|
|
1696
1696
|
*
|
|
@@ -1701,7 +1701,7 @@ export function validateSlug(payload) {
|
|
|
1701
1701
|
*
|
|
1702
1702
|
* ### Pricing plans
|
|
1703
1703
|
*
|
|
1704
|
-
* If the original service's accepts payments via pricing plans
|
|
1704
|
+
* If the original service's accepts payments via *pricing plans*
|
|
1705
1705
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/plans/introduction)),
|
|
1706
1706
|
* the cloned service's `payment.options.pricingPlan` is also set to `true`. To
|
|
1707
1707
|
* accept specific pricing plans, call *Enable Pricing Plans For Service*
|