Docs/Channels/tiket.com

tiket.com

tiket.com is one of Indonesia's largest online travel agencies. Repull is a tiket.com channel manager: once a property activates Repull in its tiket.com extranet, your app keeps the property's prices, rooms to sell and restrictions in step with each listing's calendar, publishes its content, and receives every tiket.com booking in GET /v1/reservations next to the other channels.

One room type, one listing

A tiket.com room type maps to one Repull listing. A room type that sells several identical rooms maps to one listing with that many units, the same as Booking.com.

Bookings only arrive when tiket.com sends them

tiket.com pushes each new booking, change and cancellation to Repull as it happens. It has no API a channel manager can use to fetch bookings, so Repull cannot import bookings made before the property activated Repull, or ask again for one that was missed. Before you map a room type to a listing, block the nights of any stay already booked on tiket.com in that listing's calendar, so the first push does not offer those rooms again.

Connect a property

  1. In the tiket.com extranet the property checks that its room types and rate plans are created and active and that its pricing model is set, then activates Repull as its channel manager.
  2. Your server creates a Connect session for tiket and sends the host to its URL.
  3. The host enters their tiket.com Hotel ID. Repull checks that tiket.com has activated Repull for it, then imports the room types and rate plans.
  4. The host matches each room type to one of your listings, creates a new listing from it, or skips it.
curl -X POST https://api.repull.dev/v1/connect \
  -H 'Authorization: Bearer sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{
    "redirectUrl": "https://yourapp.com/connected",
    "allowedProviders": ["tiket"]
  }'

tiket.com does not tell channel managers when a property activates them. If the Hotel ID is not active for Repull yet, the page says so and Repull keeps checking every few minutes for up to 14 days: the property connects by itself as soon as tiket.com activates it, and the host does not have to come back. A Hotel ID that is never activated in that time is dropped.

Hosts with several properties, or who cannot activate a channel manager in the extranet themselves, can ask tiket.com's connectivity team to do it — from the Connect page, or from your server:

curl -X POST https://api.repull.dev/v1/channels/tiket/setup \
  -H 'Authorization: Bearer sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{
    "action": "request-activation",
    "properties": [
      { "name": "Villa Ubud Sari", "hotel_id": "35003319", "email": "owner@example.com" }
    ]
  }'

# Has tiket.com activated it yet?
curl -X POST https://api.repull.dev/v1/channels/tiket/setup \
  -H 'Authorization: Bearer sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{ "action": "check-activation", "hotel_id": "35003319" }'

Run the steps in your own UI

Verify the Hotel ID for the session, read the imported room types, then map them. Mapping completes the session.

# 1. Verify and import — 412 awaiting_activation until tiket.com activates Repull
curl -X POST https://api.repull.dev/v1/connect/tiket/verify \
  -H 'Authorization: Bearer sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{ "sessionId": "cs_...", "hotelId": "35003319" }'

# 2. Room types, with the listings they can be matched to
curl 'https://api.repull.dev/v1/connect/tiket/rooms?sessionId=cs_...' \
  -H 'Authorization: Bearer sk_live_...'

# 3. Map: an existing listing, a new listing, or skip (listingId: null)
curl -X POST https://api.repull.dev/v1/connect/tiket/map-rooms \
  -H 'Authorization: Bearer sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{
    "sessionId": "cs_...",
    "mappings": [
      { "roomId": 101, "listingId": 4118 },
      { "roomId": 102, "create": true },
      { "roomId": 103, "listingId": null }
    ]
  }'
  • 409 property_already_connected — the Hotel ID is connected to another Repull workspace.
  • GET /v1/connect/tiket/rooms answers status importing, ready or completed; poll it while the import runs.
  • A listing created from a room type starts with tiket.com's own prices, rooms to sell and minimum stays, so the first push never overwrites tiket.com with blanks. Mapping to an existing listing pushes that listing's calendar to tiket.com straight away.

Properties, rooms and mapping

  • GET /v1/channels/tiket/properties — every connected property with its room types, rate plans, the listing each room type is mapped to, mappingStatus (mapped, partial or unmapped), activationStatus, priceModel and contentMapped.
  • GET /v1/channels/tiket/properties/{hotelId} and GET /v1/channels/tiket/properties/{hotelId}/rooms — one property.
  • POST /v1/channels/tiket/listings/map — change a mapping later, by room type code.
curl -X POST https://api.repull.dev/v1/channels/tiket/listings/map \
  -H 'Authorization: Bearer sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{
    "property_id": "35003319",
    "mappings": [
      { "roomTypeCode": "2239872", "listingId": 4118 },
      { "roomTypeCode": "2239873", "create": true }
    ]
  }'

Bookings tiket.com sent for a room type while it was unmapped are recorded on the listing as soon as you map it. Room types and rate plans added or removed in the tiket.com extranet are picked up once a day; send POST /v1/channels/tiket/sync with "refresh_products": true to read them now. To disconnect a property, send POST /v1/channels/tiket/setup with "action": "disconnect".

Rates, availability and restrictions

Any calendar write on a mapped listing — PUT /v1/availability/{propertyId}, PATCH /v1/availability/batch, PUT /v1/listings/{id}/pricing — reaches tiket.com in the same step, up to 500 days ahead:

  • rooms to sell, per room type (a night with no rooms left also stops sales on the room type's rate plans);
  • the nightly price, on each rate plan selected for pushes;
  • minimum and maximum stay, closed to arrival and closed to departure, on the same rate plans.

On an Occupancy Based property the listing's nightly price is sent as the price for the room type's maximum number of adults; prices for fewer guests stay as they are on tiket.com. Every night Repull also reads tiket.com's prices for the next 90 days back and re-sends any date that no longer matches the listing. POST /v1/channels/tiket/sync re-sends the whole calendar (500 days) of every mapped listing of one property (property_id) or of all of them. Choose which rate plans receive pushes with POST /v1/channels/tiket/setup and "action": "set-push-rate-plans" (rate_plan_ids), and pause pushes for a property with "action": "set-sync" (enabled).

Write tiket.com directly

To set one rate plan on its own, or occupancy prices, use PUT /v1/channels/tiket/availability. type is availability, rates or restrictions. Dates are inclusive and must fall between today and 500 days ahead — tiket.com refuses anything outside that window. Prices are in the property's currency unless you send currency.

# Room Based price on one rate plan
curl -X PUT https://api.repull.dev/v1/channels/tiket/availability \
  -H 'Authorization: Bearer sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{
    "property_id": "35003319",
    "type": "rates",
    "updates": [{
      "roomTypeCode": "2239872", "ratePlanCode": "35442",
      "start": "2026-12-20", "end": "2027-01-03",
      "price": 1550000
    }]
  }'

# Occupancy Based property: one price per number of guests
    "updates": [{
      "roomTypeCode": "2239872", "ratePlanCode": "35442",
      "start": "2026-12-20", "end": "2027-01-03",
      "occupancyPrices": [{ "guests": 1, "amount": 1200000 }, { "guests": 2, "amount": 1400000 }]
    }]

# Rooms to sell (per room type; stopSell with a ratePlanCode also closes that rate plan)
    "type": "availability",
    "updates": [{ "roomTypeCode": "2239872", "start": "2026-12-20", "end": "2026-12-31", "availableRooms": 3 }]

# Restrictions
    "type": "restrictions",
    "updates": [{
      "roomTypeCode": "2239872", "ratePlanCode": "35442",
      "start": "2026-12-24", "end": "2026-12-26",
      "minStay": 2, "maxStay": 10, "closedToArrival": true
    }]

# Read back what tiket.com holds (end_date, or number_of_days up to 366)
curl 'https://api.repull.dev/v1/channels/tiket/availability?property_id=35003319&start_date=2026-12-20&number_of_days=14' \
  -H 'Authorization: Bearer sk_live_...'
  • Every write is read back from tiket.com. applied is verified, mismatch (with the nights in mismatches) or unverified when you send "verify": false. tiket.com's own warnings and echoTokens come back as they are — quote the EchoToken to tiket.com support.
  • A write tiket.com refuses is 422 tiket_rejectedwith tiket.com's reason. A write that breaks tiket.com's limits is refused before it is sent (422 invalid_params): minimum and maximum stay 0–365 nights, minAdvanceDays and maxAdvanceDays 0–500.
  • tiket.com prices include tax. Send the price the guest should pay.
  • A property is either Room Based (price) or Occupancy Based (occupancyPrices), set in the tiket.com extranet. Sending the other shape is refused with a 422 that says which one the property uses; priceModel on the property tells you in advance.
  • GET and PUT /v1/channels/tiket/listings/{id}/pricingdo the same for one listing's room type, by Repull listing id; without ratePlanCode a write goes to every rate plan selected for pushes.

Children's prices are paused

tiket.com has asked every channel manager to stop sending children's prices until it fixes an issue on its side: when one update covers several rate plans, tiket.com keeps only one of the children's prices. Until tiket.com confirms the fix, a write that includes childPrices is refused with 422 invalid_paramsand a message saying why, so nothing wrong reaches tiket.com. Children's prices set in the tiket.com extranet keep applying, and childPrices still comes back on reads. Send price or occupancyPrices without childPrices.

Content

POST /v1/listings/{id}/publish/tiketsends the listing's room content (name, occupancy, beds, facilities, photos, description) and its rate-plan policies to tiket.com, and the property content too for a property created through Repull. The result lists each section that landed. Content is checked against tiket.com's data requirements before it is sent, because tiket.com accepts incomplete content and rejects it later: anything missing comes back at once as 422, with each field in value_received.

tiket.com applies content only to properties it has linked to Repull's content codes. A property you created through Repull is linked already. For a property that was on tiket.com before, ask for the link once with POST /v1/channels/tiket/setup and "action": "request-content-mapping", then record tiket.com's confirmation with confirm-content-mapping. Until then the publish answers 409 tiket_content_not_mapped; contentMapped on the property says where it stands. tiket.com has no API to read content back, so GET /v1/channels/tiket/contentreturns what Repull last sent, with each push's EchoToken.

A property that is not on tiket.com yet

  1. create-property with a listing_id creates the property on tiket.com from the listing, plus what tiket.com asks of every property: currency, property_type_id, latitude, longitude, address, country_code, company_name, company_address and contacts. The answer's result.hotelCode is the property's partner_hotel_code until tiket.com assigns a Hotel ID.
  2. add-room and add-rate-plan, by partner_hotel_code, add its room types and rate plans.
  3. request-registration asks tiket.com to register the property. tiket.com replies by email with its Hotel ID.
  4. set-tiket-hotel-id with that hotel_id links the rooms and rate plans, and from then on the property is addressed by property_id like any other.
curl -X POST https://api.repull.dev/v1/channels/tiket/setup \
  -H 'Authorization: Bearer sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{ "action": "set-tiket-hotel-id", "partner_hotel_code": "RP2048-H311", "hotel_id": "35003319" }'

Reservations

tiket.com sends each booking, change and cancellation to Repull as it happens. They arrive in GET /v1/reservations?platform=tiket and fire the usual reservation webhooks. GET /v1/channels/tiket/reservationsreturns them as tiket.com delivered them, one row per booked room, with tiket.com's own fields: rate plan and meal plan, cancellation policy, the guest total and the net amount to the property, and the payment type and method. Filter by property_id, status (confirmed or cancelled), check_in_from and check_in_to; page with limit (up to 200) and offset.

  • A booking of several rooms becomes one reservation per room. The first carries tiket.com's booking number, the next ones the same number with -2, -3 (for example 1966035 and 1966035-2), so each room has its own dates, guest and listing.
  • tiket.com sends a change of dates as a cancellation followed by a new booking with a new number. Repull joins the two: the reservation keeps its confirmation code and takes the new dates and price, instead of a cancellation and a separate new booking. previousTiketReservationId holds the number it replaced.
  • Other changes from tiket.com update only the guest name and special requests.
  • Guests come with a name and country. tiket.com does not share guest email addresses or phone numbers, and has no guest messaging.
  • tiket.com bookings are changed or cancelled on tiket.com, not through Repull.

Payment and virtual cards

Virtual cards are not available on tiket.com yet. tiket.com sends card details only to a channel manager whose security assessment it has approved, and Repull's is still under review. Until it is approved, Repull receives only bookings tiket.com collects itself: tiket.com takes the guest's payment and pays the property the net amount (netAmount), so there is no card to charge. Card details are never returned by the API.

Not available on tiket.com

  • Fetching or re-importing bookings — tiket.com only pushes them.
  • Guest messaging, reviews and promotions — not part of tiket.com's channel-manager API.
  • Children's prices — paused by tiket.com for now (above).
  • Virtual-card bookings — until tiket.com approves Repull's security assessment (above).

See channel capabilities for every channel side by side.

AI