Create
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/studio/grids';const options = { method: 'POST', headers: { 'Wink-Version': '2.0', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: 'null'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/studio/grids \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data nullCreates a new curated or saved-search grid for the managing entity from the supplied request. Returns the created grid with its assigned identifier.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Managing entity identifier that will own the new grid.
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Header Parameters
Section titled “Header Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Grid definition including name, display settings, and the curated inventory list or saved search configuration
Request payload for creating or updating a sellable list configuration, supplying all display, localization, and inventory settings
object
Generate an animated GIF from multiple images instead of a static grid (requires at least 2 images)
Example
falseDelay between animation frames in milliseconds; -1 disables animation
Example
500Customization configuration identifier
Example
3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51Localized title and description of grid (at least one entry in English required)
Foundation class for storing multi-language content (names and descriptions) with content change detection throughout the Wink Platform.
object
Whether it was user or system generated.
Example
SYSTEMLonger text description
Example
This is a longer description in the specified language.Indicate which language this description is written in.
Example
enThe md5 hash of the name, description and language.
Example
d41d8cd98f00b204e9800998ecf8427eUse as title or short text description
Example
An example titleExample
{ "creator": "USER", "description": "Spacious suite with floor-to-ceiling windows overlooking the Chao Phraya River, featuring a king-size bed, private balcony, and marble bathroom.", "language": "en", "md5ContentHash": "a3f1c8e2d74b60912a5c3e9b1d7f4e82", "name": "Deluxe River View Suite"}Initial display format on the front-facing card (NATIVE or alternative format)
Example
NATIVEKeywords and metadata tags for SEO and filtering
Example
[ "bangkok", "luxury"]Inventory record identifier for the curated list, saved search, or channel
Example
8b1d6e0f-3a7c-4d2b-9e5a-1c8f0b4d6e29Type of inventory being curated (LIST, SEARCH, CHANNEL)
Example
LISTDescriptive name of this grid for seller use only
Example
Luxury Bangkok PropertiesBadge type and sort order for display on web component (MEMBER, BEST_VALUE, TOP_RATED, etc.)
Example
MEMBERExample
{ "animate": false, "animateDelay": 500, "customizationIdentifier": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51", "descriptions": [ { "creator": "USER", "description": "Spacious suite with floor-to-ceiling windows overlooking the Chao Phraya River, featuring a king-size bed, private balcony, and marble bathroom.", "language": "en", "md5ContentHash": "a3f1c8e2d74b60912a5c3e9b1d7f4e82", "name": "Deluxe River View Suite" } ], "displayType": "NATIVE", "keywords": [ "bangkok", "luxury" ], "listIdentifier": "8b1d6e0f-3a7c-4d2b-9e5a-1c8f0b4d6e29", "listType": "LIST", "name": "Luxury Bangkok Properties", "sort": "MEMBER"}Responses
Section titled “Responses”Newly created curated or saved-search grid with its assigned identifier.
Lightweight projection of a sellable list used in listings and event payloads, containing all display and configuration fields without audit metadata
object
Generate an animated GIF from multiple images instead of a static grid (requires at least 2 images)
Delay between animation frames in milliseconds; -1 disables animation
Datetime this record was first created
Customization configuration identifier
Localized title and description of grid (at least one entry in English required)
Foundation class for storing multi-language content (names and descriptions) with content change detection throughout the Wink Platform.
object
Whether it was user or system generated.
Longer text description
Indicate which language this description is written in.
The md5 hash of the name, description and language.
Use as title or short text description
Initial display format on the front-facing card (NATIVE or alternative format)
Unique identifier for this record.
Keywords and metadata tags for SEO and filtering
Datetime this record was last updated
Inventory record identifier for the curated list, saved search, or channel
Type of inventory being curated (LIST, SEARCH, CHANNEL)
Descriptive name of this grid for seller use only
Managing entity (account owner) identifier
Badge type and sort order for display on web component (MEMBER, BEST_VALUE, TOP_RATED, etc.)
Current status of the grid (ACTIVE, INACTIVE, ARCHIVED)
Optimistic-locking version. Echo this value back as an If-Match request header on a conditional update; the server responds 409 if the record changed in the meantime. Null when this projection has no backing versioned document, in which case no conditional update is possible.
Example
Bad Request — missing or invalid request parameter or body
object
object
Example
Unauthorized — authentication is required or the session has expired
object
object
Example
Forbidden — authenticated but lacking the required permission or scope
object
object
Example
Not Found — the requested resource does not exist
object
object
Example
Method Not Allowed — the HTTP verb is not supported on this endpoint
object
object
Example
Conflict — the resource was modified by someone else since you read it; re-read it and retry with the new version
object
object
Example
Unsupported Media Type — use application/json
object
object
Example
Internal Server Error — an unexpected failure occurred on the server
object
object
Example
Service Unavailable — a downstream dependency is unreachable
