HubSpot · Capability

HubSpot Commerce Subscriptions API — Batch

HubSpot Commerce Subscriptions API — Batch. 3 operations. Lead operation: Hubspot Batch Create Subscriptions. Self-contained Naftiko capability covering one Hubspot business surface.

Run with Naftiko HubspotBatch

What You Can Do

POST
Batchcreatesubscriptions — Hubspot Batch Create Subscriptions
/v1/crm/v3/objects/subscriptions/batch/create
POST
Batchreadsubscriptions — Hubspot Batch Read Subscriptions
/v1/crm/v3/objects/subscriptions/batch/read
POST
Batchupdatesubscriptions — Hubspot Batch Update Subscriptions
/v1/crm/v3/objects/subscriptions/batch/update

MCP Tools

hubspot-batch-create-subscriptions

Hubspot Batch Create Subscriptions

hubspot-batch-read-subscriptions

Hubspot Batch Read Subscriptions

hubspot-batch-update-subscriptions

Hubspot Batch Update Subscriptions

Capability Spec

commerce-subscriptions-batch.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: HubSpot Commerce Subscriptions API — Batch
  description: 'HubSpot Commerce Subscriptions API — Batch. 3 operations. Lead operation: Hubspot Batch Create Subscriptions.
    Self-contained Naftiko capability covering one Hubspot business surface.'
  tags:
  - Hubspot
  - Batch
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HUBSPOT_API_KEY: HUBSPOT_API_KEY
capability:
  consumes:
  - type: http
    namespace: commerce-subscriptions-batch
    baseUri: https://api.hubapi.com
    description: HubSpot Commerce Subscriptions API — Batch business capability. Self-contained, no shared references.
    resources:
    - name: crm-v3-objects-subscriptions-batch-create
      path: /crm/v3/objects/subscriptions/batch/create
      operations:
      - name: batchcreatesubscriptions
        method: POST
        description: Hubspot Batch Create Subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: crm-v3-objects-subscriptions-batch-read
      path: /crm/v3/objects/subscriptions/batch/read
      operations:
      - name: batchreadsubscriptions
        method: POST
        description: Hubspot Batch Read Subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: crm-v3-objects-subscriptions-batch-update
      path: /crm/v3/objects/subscriptions/batch/update
      operations:
      - name: batchupdatesubscriptions
        method: POST
        description: Hubspot Batch Update Subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.HUBSPOT_API_KEY}}'
  exposes:
  - type: rest
    namespace: commerce-subscriptions-batch-rest
    port: 8080
    description: REST adapter for HubSpot Commerce Subscriptions API — Batch. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/crm/v3/objects/subscriptions/batch/create
      name: crm-v3-objects-subscriptions-batch-create
      description: REST surface for crm-v3-objects-subscriptions-batch-create.
      operations:
      - method: POST
        name: batchcreatesubscriptions
        description: Hubspot Batch Create Subscriptions
        call: commerce-subscriptions-batch.batchcreatesubscriptions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/crm/v3/objects/subscriptions/batch/read
      name: crm-v3-objects-subscriptions-batch-read
      description: REST surface for crm-v3-objects-subscriptions-batch-read.
      operations:
      - method: POST
        name: batchreadsubscriptions
        description: Hubspot Batch Read Subscriptions
        call: commerce-subscriptions-batch.batchreadsubscriptions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/crm/v3/objects/subscriptions/batch/update
      name: crm-v3-objects-subscriptions-batch-update
      description: REST surface for crm-v3-objects-subscriptions-batch-update.
      operations:
      - method: POST
        name: batchupdatesubscriptions
        description: Hubspot Batch Update Subscriptions
        call: commerce-subscriptions-batch.batchupdatesubscriptions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: commerce-subscriptions-batch-mcp
    port: 9090
    transport: http
    description: MCP adapter for HubSpot Commerce Subscriptions API — Batch. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: hubspot-batch-create-subscriptions
      description: Hubspot Batch Create Subscriptions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: commerce-subscriptions-batch.batchcreatesubscriptions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: hubspot-batch-read-subscriptions
      description: Hubspot Batch Read Subscriptions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: commerce-subscriptions-batch.batchreadsubscriptions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: hubspot-batch-update-subscriptions
      description: Hubspot Batch Update Subscriptions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: commerce-subscriptions-batch.batchupdatesubscriptions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.