Component: PRICING_CATEGORIES

Abstract

This component allows setting and retrieving list of pricing categories which are applicable for given product.

Values for this component are provisioned via ExperienceComponentsDto.pricingCategories which is of ExperiencePricingCategoriesDto type.

Having pricing categories is mandatory for any product.

Note: modifying this list has a knock-on effect on rate, pricing, booking questions settings.

Attributes of ExperiencePricingCategoriesDto

Attribute JSON path
Attribute JSON path
Data type
Mandatory
Settable
Notes
defaultId
long
ID of default pricing category (PricingCategoryDto::id) for this product. Must be one of ids supplied below
ids
Array of longs
List of PricingCategoryDto::ids. Contains active pricing categories assigned to this product. Note: order matters — categories will appear in this specific order as supplied. Omitted categories will be unassigned from the product, in which case replacements might need to be populated
replacements
ExperiencePricingCategoryReplacementDtos
A list of pricing category ID replacements. Replacements are required if removed (by omission) pricing categories are referenced by bookings
removedId
long
PricingCategoryDto::id which is removed
replacementId
long
PricingCategoryDto::id which is to be used as a replacement pricing category. Must be mentioned among ids
 
Did this answer your question?
😞
😐
🤩