Delete a ranked grid
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/studio/ranked-grids/8f3a2c6e-1d5b-4a7f-9e2c-0b4d6a1f8e5c';const options = { method: 'DELETE', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/studio/ranked-grids/8f3a2c6e-1d5b-4a7f-9e2c-0b4d6a1f8e5c \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Removes the ranked grid identified by its identifier from the managing entity. Requires MARKETING:WRITE permission.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Managing entity identifier
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Ranked grid identifier
Example
8f3a2c6e-1d5b-4a7f-9e2c-0b4d6a1f8e5cHeader Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”OK
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
AffiliateAccount identifier
Descriptive name of this list for seller use only
Customization identifier
Contains custom title and description of grid
object
Use as title or short text description
Longer text description
Indicate which language this description is written in.
Whether it was user or system generated.
The md5 hash of the name, description and language.
Status
The destination to display ranked inventory from.
object
Unique lookup identifier
Type of lookup (CITY, HOTEL, ACTIVITY, SPA, RESTAURANT, ATTRACTION, ISLAND, COUNTRY, PLACE, MEETING_ROOM)
Unique identifier for the lookup type resource (e.g., hotel ID, city geoname ID)
Human-readable name of the lookup entry
URL-friendly slug that uniquely identifies this lookup within its type and location
Identifier of the owner (supplier) that created or manages this lookup entry
Name of the owner (supplier) that created this lookup entry
Name of the closest city where this lookup entry is located
Country name where this lookup entry is located
State or province where this lookup entry is located
County or district where this lookup entry is located
ISO 3166-1 alpha-2 country code
Type of owner that created this lookup (TRAVELIKO for platform-managed entries, HOTEL for supplier-created entries)
Language code for the lookup name (ISO 639-1 format)
Platform-specific sort order (lower values sort first: CITY=1, ISLAND=2, HOTEL=3, others vary)
Whether this is the primary/original lookup entry for this resource (true) or a variant like an alternate language or name (false)
Lowercase version of the name, used for regex-based search operations
Geo-location
object
Create an animated gif instead of a list of images
Controls animation delay in milliseconds. -1 is disabled
Determines which badge to show on the Web Component. Is also used to sort properties for search grids.
Indicate which initial values to display first on the front-facing card
Example
{ "id": "", "createdDate": "", "lastUpdate": "", "version": "", "ownerIdentifier": "", "name": "", "customizationIdentifier": "", "descriptions": "", "keywords": [ "" ], "status": "ACTIVE", "lookup": "", "animate": false, "animateDelay": -1, "sort": "MEMBER", "displayType": "NATIVE"}Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}