Skip to content

Show by channel

GET
/api/managing-entity/{managingEntityIdentifier}/extranet/sales/inventory/{inventoryTypeIdentifier}/list
curl --request GET \
--url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/extranet/sales/inventory/6f9b4c8d-1e5a-4b3c-9d2e-8a7f0c1b5e43/list \
--header 'Authorization: Bearer <token>' \
--header 'Wink-Version: 2.0'

Returns the same underlying inventory item as it is offered across each sales channel, one selectable key/value pair per channel (labelled by channel owner and flagged enabled/disabled), sorted by label.

managingEntityIdentifier
required
string
""

The property ID to retrieve sales channels for

Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69
inventoryTypeIdentifier
required
string
""

The inventory type ID to retrieve sales channel for

Example
6f9b4c8d-1e5a-4b3c-9d2e-8a7f0c1b5e43
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

Sales channels carrying the given inventory item, each with its enabled/disabled state

Media type application/json
Array<object>

Immutable value object representing a selectable option with value, label, and selection state.

object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
selected
required

Whether record is selected or not.

boolean
Example
[
{
"value": "free-wifi",
"label": "Free WiFi",
"selected": true
}
]

Bad Request — missing or invalid request parameter or body

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Unauthorized — authentication is required or the session has expired

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Forbidden — authenticated but lacking the required permission or scope

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Not Found — the requested resource does not exist

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Method Not Allowed — the HTTP verb is not supported on this endpoint

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Unsupported Media Type — use application/json

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Internal Server Error — an unexpected failure occurred on the server

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Service Unavailable — a downstream dependency is unreachable

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example