Skip to content

Sync bookings

POST
/task/sync/booking
curl --request POST \
--url 'https://integrations.wink.travel/task/sync/booking?live=false' \
--header 'Content-Type: application/json' \
--header 'Wink-Version: 2.0' \
--data '{ "key": "example", "environment": "example" }'

Scheduled task to sync bookings with the property’s channel manager.

live
boolean
startDate
string format: date-time
Wink-Version
string
default: 2.0.0
Allowed values: 2.0
Media type application/json
object
key
required
string
>= 1 characters
environment
required
string
>= 1 characters
Example generated
{
"key": "example",
"environment": "example"
}

OK

Bad Request

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}