Retrieve resort dress code
- Resort content
- 1 route
How can I retrieve dress code events from resort planning?
This scenario explains how to retrieve the dress code events published in a resort planning feed so they can be exposed on a product page, a stay-preparation journey, or a themed-evening section.
The flow relies on a resort product_id and the planning endpoint filtered on DRESSCODE events.
Overview
Use this scenario to retrieve the dress code events published in a resort planning feed. It is useful when a digital experience needs to surface themed evenings, packing recommendations, or other editorial content linked to the stay calendar.
Prerequisites
- A valid
product_id. - The
accept-languageandx-api-keyheaders. - Optional date filters such as
first_date,last_date, anddate_format=ISOwhen the feed must be limited to a stay window. - The
type=DRESSCODEquery parameter to restrict the route to dress code events.
Expected result
The application can display the dress code events relevant to the stay period and transform them into packing tips, themed-evening highlights, or resort-planning content.
1
Retrieve dress code events
Mandatory
GET/v0/products/{product_id}/resort_planning
S