Expedia Group · Capability

Expedia Group Product API — Room Type Amenities

Expedia Group Product API — Room Type Amenities. 2 operations. Lead operation: Expedia Group Read a single room type's amenities. Self-contained Naftiko capability covering one Expedia Group business surface.

Run with Naftiko Expedia GroupRoom Type Amenities

What You Can Do

GET
Getroomtypeamenities — Expedia Group Read a single room type's amenities
/v1/properties/{propertyid}/roomtypes/{roomtypeid}/amenities
PUT
Setroomtypeamenities — Expedia Group Set room type amenities to an existing room type
/v1/properties/{propertyid}/roomtypes/{roomtypeid}/amenities

MCP Tools

expedia-group-read-single-room

Expedia Group Read a single room type's amenities

read-only idempotent
expedia-group-set-room-type

Expedia Group Set room type amenities to an existing room type

idempotent

Capability Spec

expedia-lodging-product-room-type-amenities.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Expedia Group Product API — Room Type Amenities
  description: 'Expedia Group Product API — Room Type Amenities. 2 operations. Lead operation: Expedia Group Read a single
    room type''s amenities. Self-contained Naftiko capability covering one Expedia Group business surface.'
  tags:
  - Expedia Group
  - Room Type Amenities
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    EXPEDIA_GROUP_API_KEY: EXPEDIA_GROUP_API_KEY
capability:
  consumes:
  - type: http
    namespace: expedia-lodging-product-room-type-amenities
    baseUri: https://services.expediapartnercentral.com
    description: Expedia Group Product API — Room Type Amenities business capability. Self-contained, no shared references.
    resources:
    - name: properties-propertyId-roomTypes-roomTypeId-amenities
      path: /properties/{propertyId}/roomTypes/{roomTypeId}/amenities
      operations:
      - name: getroomtypeamenities
        method: GET
        description: Expedia Group Read a single room type's amenities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: propertyId
          in: path
          type: string
          description: Expedia Property ID
          required: true
        - name: roomTypeId
          in: path
          type: string
          description: Room type resource ID. Integer
          required: true
      - name: setroomtypeamenities
        method: PUT
        description: Expedia Group Set room type amenities to an existing room type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: propertyId
          in: path
          type: string
          description: Expedia Property Id
          required: true
        - name: roomTypeId
          in: path
          type: string
          description: Room type resource ID
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.EXPEDIA_GROUP_USER}}'
      password: '{{env.EXPEDIA_GROUP_PASS}}'
  exposes:
  - type: rest
    namespace: expedia-lodging-product-room-type-amenities-rest
    port: 8080
    description: REST adapter for Expedia Group Product API — Room Type Amenities. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/properties/{propertyid}/roomtypes/{roomtypeid}/amenities
      name: properties-propertyid-roomtypes-roomtypeid-amenities
      description: REST surface for properties-propertyId-roomTypes-roomTypeId-amenities.
      operations:
      - method: GET
        name: getroomtypeamenities
        description: Expedia Group Read a single room type's amenities
        call: expedia-lodging-product-room-type-amenities.getroomtypeamenities
        with:
          propertyId: rest.propertyId
          roomTypeId: rest.roomTypeId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setroomtypeamenities
        description: Expedia Group Set room type amenities to an existing room type
        call: expedia-lodging-product-room-type-amenities.setroomtypeamenities
        with:
          propertyId: rest.propertyId
          roomTypeId: rest.roomTypeId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: expedia-lodging-product-room-type-amenities-mcp
    port: 9090
    transport: http
    description: MCP adapter for Expedia Group Product API — Room Type Amenities. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: expedia-group-read-single-room
      description: Expedia Group Read a single room type's amenities
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: expedia-lodging-product-room-type-amenities.getroomtypeamenities
      with:
        propertyId: tools.propertyId
        roomTypeId: tools.roomTypeId
      outputParameters:
      - type: object
        mapping: $.
    - name: expedia-group-set-room-type
      description: Expedia Group Set room type amenities to an existing room type
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: expedia-lodging-product-room-type-amenities.setroomtypeamenities
      with:
        propertyId: tools.propertyId
        roomTypeId: tools.roomTypeId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.