naftiko: 1.0.0-alpha2 info: label: Unified.to API — itemvariant description: 'Unified.to API — itemvariant. 6 operations. Lead operation: List All Itemvariants. Self-contained Naftiko capability covering one Unified To business surface.' tags: - Unified To - itemvariant 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-itemvariant baseUri: https://api.unified.to description: Unified.to API — itemvariant business capability. Self-contained, no shared references. resources: - name: commerce-connection_id-itemvariant path: /commerce/{connection_id}/itemvariant operations: - name: listcommerceitemvariants method: GET description: List All Itemvariants 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: collection_id in: query type: string description: The collection ID to filter by (reference to CommerceCollection) - name: org_id in: query type: string description: The org ID to filter by (reference to AccountingOrganization) - 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: createcommerceitemvariant method: POST description: Create an Itemvariant 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-itemvariant-id path: /commerce/{connection_id}/itemvariant/{id} operations: - name: removecommerceitemvariant method: DELETE description: Remove an Itemvariant 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 Itemvariant required: true - name: getcommerceitemvariant method: GET description: Retrieve an Itemvariant 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 Itemvariant required: true - name: patchcommerceitemvariant method: PATCH description: Update an Itemvariant 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 Itemvariant required: true - name: body in: body type: object description: Request body (JSON). required: true - name: updatecommerceitemvariant method: PUT description: Update an Itemvariant 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 Itemvariant 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-itemvariant-rest port: 8080 description: REST adapter for Unified.to API — itemvariant. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/commerce/{connection-id}/itemvariant name: commerce-connection-id-itemvariant description: REST surface for commerce-connection_id-itemvariant. operations: - method: GET name: listcommerceitemvariants description: List All Itemvariants call: full-itemvariant.listcommerceitemvariants 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 collection_id: rest.collection_id org_id: rest.org_id fields: rest.fields raw: rest.raw connection_id: rest.connection_id outputParameters: - type: object mapping: $. - method: POST name: createcommerceitemvariant description: Create an Itemvariant call: full-itemvariant.createcommerceitemvariant with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/commerce/{connection-id}/itemvariant/{id} name: commerce-connection-id-itemvariant-id description: REST surface for commerce-connection_id-itemvariant-id. operations: - method: DELETE name: removecommerceitemvariant description: Remove an Itemvariant call: full-itemvariant.removecommerceitemvariant with: connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getcommerceitemvariant description: Retrieve an Itemvariant call: full-itemvariant.getcommerceitemvariant with: fields: rest.fields raw: rest.raw connection_id: rest.connection_id id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: patchcommerceitemvariant description: Update an Itemvariant call: full-itemvariant.patchcommerceitemvariant 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: updatecommerceitemvariant description: Update an Itemvariant call: full-itemvariant.updatecommerceitemvariant 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-itemvariant-mcp port: 9090 transport: http description: MCP adapter for Unified.to API — itemvariant. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-itemvariants description: List All Itemvariants hints: readOnly: true destructive: false idempotent: true call: full-itemvariant.listcommerceitemvariants 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 collection_id: tools.collection_id org_id: tools.org_id fields: tools.fields raw: tools.raw connection_id: tools.connection_id outputParameters: - type: object mapping: $. - name: create-itemvariant description: Create an Itemvariant hints: readOnly: false destructive: false idempotent: false call: full-itemvariant.createcommerceitemvariant with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id body: tools.body outputParameters: - type: object mapping: $. - name: remove-itemvariant description: Remove an Itemvariant hints: readOnly: false destructive: true idempotent: true call: full-itemvariant.removecommerceitemvariant with: connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: retrieve-itemvariant description: Retrieve an Itemvariant hints: readOnly: true destructive: false idempotent: true call: full-itemvariant.getcommerceitemvariant with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id outputParameters: - type: object mapping: $. - name: update-itemvariant description: Update an Itemvariant hints: readOnly: false destructive: false idempotent: true call: full-itemvariant.patchcommerceitemvariant with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: update-itemvariant-2 description: Update an Itemvariant hints: readOnly: false destructive: false idempotent: true call: full-itemvariant.updatecommerceitemvariant with: fields: tools.fields raw: tools.raw connection_id: tools.connection_id id: tools.id body: tools.body outputParameters: - type: object mapping: $.