Skip to main content

BulkCreateHotelPassesDto

webhookUrlstring

Optional webhook URL to receive notification when operation completes. Auth headers: append #headers=Authorization:Bearer%20token

Example: https://example.com/webhook#headers=Authorization:Bearer%20token
forceSyncboolean

Execute synchronously (max 1000 items). If true and items >= 1000, request is rejected.

Default value: false
items object[]required

Array of hotel passes to create

Possible values: >= 1, <= 5000

  • Array [
  • checkinstring<date-time>required
    checkoutstring<date-time>required
    additionalBenefitsstring[]
    roomNumberstring
    roomCodestring
    backFieldNamestring
    backFieldContentstring
    firstNamestringrequired
    lastNamestringrequired
    emailstring<email>required
    phoneNumberstring
    barcodestring
  • ]
  • BulkCreateHotelPassesDto
    {
    "webhookUrl": "https://example.com/webhook#headers=Authorization:Bearer%20token",
    "forceSync": false,
    "items": [
    {
    "checkin": "2024-07-29T15:51:28.071Z",
    "checkout": "2024-07-29T15:51:28.071Z",
    "additionalBenefits": [
    "string"
    ],
    "roomNumber": "string",
    "roomCode": "string",
    "backFieldName": "string",
    "backFieldContent": "string",
    "firstName": "string",
    "lastName": "string",
    "email": "user@example.com",
    "phoneNumber": "string",
    "barcode": "string"
    }
    ]
    }

    API news, once a month

    New endpoints, upcoming changes, guides and use cases. No spam, one-click unsubscribe.

    Report a technical problem

    An API error, a pass that does not update, an email that does not arrive? Describe the problem: our technical team will answer.

    For a fast answer, include:

    • The method and endpoint (e.g. POST /clients)
    • The error code returned (errorCode) and the body sent
    • The date and time of the call
    • The identifiers involved (customer, template, pass)

    Never include an API token or a password.

    AI assistant

    Beta

    Loading…

    AI-generated answers (Claude): double-check important details.

    Sign in to use the assistant