Channel Bookings

Returns a booking

get/v3/channels/{channel_id}/bookings/{id}

Request

Path parameters

channel_idstring required

Channel ID

idstring required

Resource ID

Query parameters

fields[booking]string

Fieldset. Specify a comma separated list of attributes to return

includestring

Includes list. Specify a comma separated list of resources to include.

Headers

Accept-Languagestring

Supported languages. A comma separated list with one or more of the following locales: cs, da-DK, de, de-AT, de-CH, en-US, en-GB, es, fr, fr-BE, fr-LU, it, nb, nl, nl-BE, pl, pt, tr, en, da. Default: 'en'.

Response

BookingResponse

Example response

{
  "data": {
    "id": "1",
    "type": "booking",
    "attributes": {
      "customer_desires_downpayment": true,
      "booker_desires_downpayment": true,
      "option_validity": 3,
      "locale": "cs",
      "currency": "EUR"
    },
    "relationships": {
      "customer": {
        "data": {
          "type": "customer"
        }
      },
      "owner": {
        "data": {
          "type": "owner"
        }
      },
      "traffic_source": {
        "data": {
          "type": "traffic_source"
        }
      },
      "conversation": {
        "data": {
          "type": "conversation"
        }
      },
      "credit_cards": {
        "data": [
          {
            "type": "credit_card"
          }
        ]
      },
      "security_deposits": {
        "data": [
          {
            "type": "security_deposit"
          }
        ]
      },
      "administration": {
        "data": {
          "type": "administration"
        }
      },
      "channel": {
        "data": {
          "type": "channel"
        }
      },
      "guest_invoice": {
        "data": {
          "type": "invoice"
        }
      },
      "customer_invoice": {
        "data": {
          "type": "invoice"
        }
      },
      "channel_invoice": {
        "data": {
          "type": "invoice"
        }
      },
      "reservations": {
        "data": [
          {
            "type": "reservation"
          }
        ]
      },
      "payments": {
        "data": [
          {
            "type": "payment"
          }
        ]
      }
    }
  },
  "included": [
    {
      "id": "1",
      "type": "customer",
      "attributes": {
        "title": "mr",
        "country_code": "NL",
        "locale": "cs"
      },
      "relationships": {
        "labels": {
          "data": [
            {
              "type": "label"
            }
          ]
        }
      }
    }
  ]
}

Changes

    • warning

      added the new da-DK enum value to the // response property for the response status

    • warning

      added the new da-DK enum value to the /////// response property for the response status

    • warning

      added the new da-DK enum value to the /////// response property for the response status

    • warning

      added the new da-DK enum value to the /////// response property for the response status

    • warning

      added the new en-GB enum value to the // response property for the response status

    • warning

      added the new en-GB enum value to the /////// response property for the response status

    • warning

      added the new en-GB enum value to the /////// response property for the response status

    • warning

      added the new en-GB enum value to the /////// response property for the response status

    • warning

      added the new en-US enum value to the // response property for the response status

    • warning

      added the new en-US enum value to the /////// response property for the response status

    • warning

      added the new en-US enum value to the /////// response property for the response status

    • warning

      added the new en-US enum value to the /////// response property for the response status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      response property included/items/anyOf[Customer]/attributes/debtor_code deprecated