Step-by-step guide
When the widget is placed on the page:
Minimal configurations involved:
- Display additions: Select what kind of additions we want to see: Packages, Extras, Compositions
API involved:
Additions: "/v1/resources/virtualadditions"
Marketing groups: "/v1/resources/groups/marketing"
Products: "/v1/resources/products"
Extras: "/v1/resources/extras"
Compositions: "/v1/resources/compositions/:compositionId/items"
Price calculator end point: "/v1/calculator/prices/calculate"
2. Required params: For fetching prices of Additions
- Start date
- End date
- resourceid
- DC and Ratetype