Service Options And Variants Object


The serviceOptionsAndVariants object links a service to its variants. You can use it to offer customers different prices for a service, depending on which choices they book. Read more about service options and variants.

Properties
idstringRead-onlyformat GUID

ID of the serviceOptionsAndVariants object.


serviceIdstringformat GUID

ID of the service related to these options and variants.


optionsobject

Service options. Note that currently only a single option is supported per service.


variantsobject

Information about the service's variants.


minPriceobjectRead-only

Price of the cheapest service variant.


maxPriceobjectRead-only

Price of the most expensive service variant.


revisionintegerformat uint64

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.

Was this helpful?
Yes
No