> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Resource: Service Options And Variants # Type: Service Options And Variants Object # Link: https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/service-options-and-variants-object.md ## Description: The `serviceOptionsAndVariants` object links a [service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction.md) to its variants. You can use it to offer customers different prices for a service, depending on which choices they book. ## Schema: ```json Type: Service Options And Variants Object | type: ServiceOptionsAndVariants Description: The `serviceOptionsAndVariants` object links a [service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction.md) to its variants. You can use it to offer customers different prices for a service, depending on which choices they book. - name: id | type: string | description: ID of the `serviceOptionsAndVariants` object. - name: value | type: string | description: - name: serviceId | type: string | description: ID of the service related to these options and variants. - name: options | type: ServiceOptions | description: Service options. Note that currently only a single option is supported per service. - name: values | type: Array | description: Values of the service options. Max: 1 service option - name: id | type: string | description: ID of the service option. - name: type | type: string | description: Type of the service option. - name: variants | type: ServiceVariants | description: Information about the service's variants. - name: values | type: Array | description: Values of the service variants. - name: choices | type: Array | description: Choices for the service option. Currently, only a single choice is supported because a service can have only a single option. Max: 1 choice - name: price | type: Money | description: Information about the service variant's price. - name: minPrice | type: Money | description: Price of the cheapest service variant. - name: value | type: string | description: Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative. - name: currency | type: string | description: Currency code. Must be valid ISO 4217 currency code (e.g., USD). - name: formattedValue | type: string | description: Monetary amount. Decimal string in local format (e.g., 1 000,30). Optionally, a single (-), to indicate that the amount is negative. - name: maxPrice | type: Money | description: Price of the most expensive service variant. - name: revision | type: string | description: Revision number, which increments by 1 each time the `serviceOptionsAndVariants` object is updated. To prevent conflicting changes, the current revision must be passed when updating and deleting the `serviceOptionsAndVariants` object. Ignored when creating a `serviceOptionsAndVariants` object. - name: value | type: string | description: - name: extendedFields | type: ExtendedFields | description: Extensions enabling users to save custom data related to service options and variants. - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured. You can only access fields for which you have the appropriate permissions. Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md). ```