Unified.to · Capability

Unified.to API — review

Unified.to API — review. 6 operations. Lead operation: List All Reviews. Self-contained Naftiko capability covering one Unified To business surface.

Run with Naftiko Unified Toreview

What You Can Do

GET
Listcommercereviews — List All Reviews
/v1/commerce/{connection-id}/review
POST
Createcommercereview — Create a Review
/v1/commerce/{connection-id}/review
DELETE
Removecommercereview — Remove a Review
/v1/commerce/{connection-id}/review/{id}
GET
Getcommercereview — Retrieve a Review
/v1/commerce/{connection-id}/review/{id}
PATCH
Patchcommercereview — Update a Review
/v1/commerce/{connection-id}/review/{id}
PUT
Updatecommercereview — Update a Review
/v1/commerce/{connection-id}/review/{id}

MCP Tools

list-all-reviews

List All Reviews

read-only idempotent
create-review

Create a Review

remove-review

Remove a Review

idempotent
retrieve-review

Retrieve a Review

read-only idempotent
update-review

Update a Review

idempotent
update-review-2

Update a Review

idempotent

Capability Spec

full-review.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unified.to  API — review
  description: 'Unified.to  API — review. 6 operations. Lead operation: List All Reviews. Self-contained Naftiko capability
    covering one Unified To business surface.'
  tags:
  - Unified To
  - review
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY
capability:
  consumes:
  - type: http
    namespace: full-review
    baseUri: https://api.unified.to
    description: Unified.to  API — review business capability. Self-contained, no shared references.
    resources:
    - name: commerce-connection_id-review
      path: /commerce/{connection_id}/review
      operations:
      - name: listcommercereviews
        method: GET
        description: List All Reviews
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: item_id
          in: query
          type: string
          description: The item ID to filter by (reference to CommerceItem)
        - name: location_id
          in: query
          type: string
          description: The location ID to filter by (reference to CommerceLocation)
        - name: contact_id
          in: query
          type: string
          description: The contact ID to filter by (reference to AccountingContact)
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createcommercereview
        method: POST
        description: Create a Review
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: commerce-connection_id-review-id
      path: /commerce/{connection_id}/review/{id}
      operations:
      - name: removecommercereview
        method: DELETE
        description: Remove a Review
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Review
          required: true
      - name: getcommercereview
        method: GET
        description: Retrieve a Review
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Review
          required: true
      - name: patchcommercereview
        method: PATCH
        description: Update a Review
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Review
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatecommercereview
        method: PUT
        description: Update a Review
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Review
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: authorization
      value: '{{env.UNIFIED_TO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: full-review-rest
    port: 8080
    description: REST adapter for Unified.to  API — review. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/commerce/{connection-id}/review
      name: commerce-connection-id-review
      description: REST surface for commerce-connection_id-review.
      operations:
      - method: GET
        name: listcommercereviews
        description: List All Reviews
        call: full-review.listcommercereviews
        with:
          limit: rest.limit
          offset: rest.offset
          updated_gte: rest.updated_gte
          sort: rest.sort
          order: rest.order
          query: rest.query
          item_id: rest.item_id
          location_id: rest.location_id
          contact_id: rest.contact_id
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcommercereview
        description: Create a Review
        call: full-review.createcommercereview
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/commerce/{connection-id}/review/{id}
      name: commerce-connection-id-review-id
      description: REST surface for commerce-connection_id-review-id.
      operations:
      - method: DELETE
        name: removecommercereview
        description: Remove a Review
        call: full-review.removecommercereview
        with:
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getcommercereview
        description: Retrieve a Review
        call: full-review.getcommercereview
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchcommercereview
        description: Update a Review
        call: full-review.patchcommercereview
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatecommercereview
        description: Update a Review
        call: full-review.updatecommercereview
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: full-review-mcp
    port: 9090
    transport: http
    description: MCP adapter for Unified.to  API — review. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-all-reviews
      description: List All Reviews
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: full-review.listcommercereviews
      with:
        limit: tools.limit
        offset: tools.offset
        updated_gte: tools.updated_gte
        sort: tools.sort
        order: tools.order
        query: tools.query
        item_id: tools.item_id
        location_id: tools.location_id
        contact_id: tools.contact_id
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
      outputParameters:
      - type: object
        mapping: $.
    - name: create-review
      description: Create a Review
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: full-review.createcommercereview
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: remove-review
      description: Remove a Review
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: full-review.removecommercereview
      with:
        connection_id: tools.connection_id
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-review
      description: Retrieve a Review
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: full-review.getcommercereview
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-review
      description: Update a Review
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: full-review.patchcommercereview
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-review-2
      description: Update a Review
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: full-review.updatecommercereview
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.