Zuora · Capability

API Reference — Imports

API Reference — Imports. 2 operations. Lead operation: CRUD: Create an import. Self-contained Naftiko capability covering one Zuora business surface.

Run with Naftiko ZuoraImports

What You Can Do

POST
Objectpostimport — CRUD: Create an import
/v1/v1/object/import
GET
Objectgetimport — CRUD: Retrieve an import
/v1/v1/object/import/{id}

MCP Tools

crud-create-import

CRUD: Create an import

crud-retrieve-import

CRUD: Retrieve an import

read-only idempotent

Capability Spec

v1-imports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: API Reference — Imports
  description: 'API Reference — Imports. 2 operations. Lead operation: CRUD: Create an import. Self-contained Naftiko capability
    covering one Zuora business surface.'
  tags:
  - Zuora
  - Imports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ZUORA_API_KEY: ZUORA_API_KEY
capability:
  consumes:
  - type: http
    namespace: v1-imports
    baseUri: https://rest.zuora.com
    description: API Reference — Imports business capability. Self-contained, no shared references.
    resources:
    - name: v1-object-import
      path: /v1/object/import
      operations:
      - name: objectpostimport
        method: POST
        description: 'CRUD: Create an import'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ImportType
          in: formData
          type: string
          description: The type of data to import.
          required: true
        - name: Name
          in: formData
          type: string
          description: A descriptive name for the import.
          required: true
        - name: File
          in: formData
          type: file
          description: The data to import.
          required: true
    - name: v1-object-import-id
      path: /v1/object/import/{id}
      operations:
      - name: objectgetimport
        method: GET
        description: 'CRUD: Retrieve an import'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: string
          description: Object fields to return
        - name: id
          in: path
          type: string
          description: Object id
          required: true
  exposes:
  - type: rest
    namespace: v1-imports-rest
    port: 8080
    description: REST adapter for API Reference — Imports. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/object/import
      name: v1-object-import
      description: REST surface for v1-object-import.
      operations:
      - method: POST
        name: objectpostimport
        description: 'CRUD: Create an import'
        call: v1-imports.objectpostimport
        with:
          ImportType: rest.ImportType
          Name: rest.Name
          File: rest.File
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/object/import/{id}
      name: v1-object-import-id
      description: REST surface for v1-object-import-id.
      operations:
      - method: GET
        name: objectgetimport
        description: 'CRUD: Retrieve an import'
        call: v1-imports.objectgetimport
        with:
          fields: rest.fields
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: v1-imports-mcp
    port: 9090
    transport: http
    description: MCP adapter for API Reference — Imports. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: crud-create-import
      description: 'CRUD: Create an import'
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: v1-imports.objectpostimport
      with:
        ImportType: tools.ImportType
        Name: tools.Name
        File: tools.File
      outputParameters:
      - type: object
        mapping: $.
    - name: crud-retrieve-import
      description: 'CRUD: Retrieve an import'
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v1-imports.objectgetimport
      with:
        fields: tools.fields
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.