Skip to main content

Amenity

Defines a global amenity that can be used for hotels.

type Amenity {
createdAt: DateTime!
createdBy: String
icon: Image
id: ID!
lastModifiedAt: DateTime!
lastModifiedBy: String
name: String!
order: Int!
uniqueCode: String
}

Fields​

Amenity.createdAt ● DateTime! non-null scalar​

The date and time the record was created.

Amenity.createdBy ● String scalar​

UTF-8 string value that represents the username of the user who created the record. Optional.

Amenity.icon ● Image object​

The icon for the amenity. Optional.

Amenity.id ● ID! non-null scalar​

The unique identifier for an amenity.

Amenity.lastModifiedAt ● DateTime! non-null scalar​

The date and time the record was last modified.

Amenity.lastModifiedBy ● String scalar​

UTF-8 string value that represents the username of the user who last modified the record. Optional.

Amenity.name ● String! non-null scalar​

A UTF-8 string representing the name of the amenity.

Amenity.order ● Int! non-null scalar​

The order that the amenity should be displayed in.

Amenity.uniqueCode ● String scalar​

A customer supplied, UTF-8 string value that represents a unique code for the amenity. Optional.

The value must be unique across all amenities globally.

Returned By​

amenities query

Member Of​

Hotel object ● Supplier object