Bookings Tags

  1. List bookings tags
  2. Get a single bookings tag

Parameters

Name Type Read/Write Description
id Integer Read Bookings Tag’s id.
color String Read Bookings Tag’s color (Hexadecimal representation)
logo String Read Bookings Tag’s logo (Currently as font awesome class)
name Object Read Bookings Tag’s name, list of locales described in enums section.
created_at Time Read Bookings Tag’s create time.
updated_at Time Read Bookings Tag’s update time.

List bookings tags

List all bookings tags for a given account(s).

GET /bookings_tags

Response

{
  "links": {
    "bookings_tags.account": "https://www.bookingsync.com/api/v3/accounts/{bookings_tags.account}"
  },
  "bookings_tags": [
    {
      "id": 3,
      "color": "#6666ff",
      "logo": "fa-link",
      "name": {
        "en": "Beach"
      },
      "created_at": "2017-04-26T08:21:58Z",
      "updated_at": "2017-05-02T09:41:51Z",
      "links": {
        "account": 3
      }
    }
  ],
  "meta": {
  }
}

Get a single bookings tag

Returns a single bookings tag identified by ID.

GET /bookings_tags/:bookings_tag_id

Response

{
  "links": {
    "bookings_tags.account": "https://www.bookingsync.com/api/v3/accounts/{bookings_tags.account}"
  },
  "bookings_tags": [
    {
      "id": 3,
      "color": "#6666ff",
      "logo": "fa-link",
      "name": {
        "en": "Beach"
      },
      "created_at": "2017-04-26T08:21:58Z",
      "updated_at": "2017-05-02T09:41:51Z",
      "links": {
        "account": 3
      }
    }
  ],
  "meta": {
  }
}