Shopify · Capability

Shopify API — Counts

Shopify API — Counts. 6 operations. Lead operation: Shopify Counts The Number Of Payments Attempted On A Checkout. Self-contained Naftiko capability covering one Shopify business surface.

Run with Naftiko ShopifyCounts

What You Can Do

GET
Deprecated202001getcheckoutsparamtokenpaymentscount — Shopify Counts The Number Of Payments Attempted On A Checkout
/v1/admin/api/2020-01/checkouts/{token}/payments/count-json
GET
Deprecated202004getcheckoutsparamtokenpaymentscount — Shopify Counts The Number Of Payments Attempted On A Checkout
/v1/admin/api/2020-04/checkouts/{token}/payments/count-json
GET
Deprecated202007getcheckoutsparamtokenpaymentscount — Shopify Counts The Number Of Payments Attempted On A Checkout
/v1/admin/api/2020-07/checkouts/{token}/payments/count-json
GET
Getcheckoutsparamtokenpaymentscount — Shopify Counts The Number Of Payments Attempted On A Checkout
/v1/admin/api/2020-10/checkouts/{token}/payments/count-json
GET
Deprecated202101getcheckoutsparamtokenpaymentscount — Shopify Counts The Number Of Payments Attempted On A Checkout
/v1/admin/api/2021-01/checkouts/{token}/payments/count-json
GET
Deprecatedunstablegetcheckoutsparamtokenpaymentscount — Shopify Counts The Number Of Payments Attempted On A Checkout
/v1/admin/api/unstable/checkouts/{token}/payments/count-json

MCP Tools

shopify-counts-number-payments-attempted

Shopify Counts The Number Of Payments Attempted On A Checkout

read-only idempotent
shopify-counts-number-payments-attempted-2

Shopify Counts The Number Of Payments Attempted On A Checkout

read-only idempotent
shopify-counts-number-payments-attempted-3

Shopify Counts The Number Of Payments Attempted On A Checkout

read-only idempotent
shopify-counts-number-payments-attempted-4

Shopify Counts The Number Of Payments Attempted On A Checkout

read-only idempotent
shopify-counts-number-payments-attempted-5

Shopify Counts The Number Of Payments Attempted On A Checkout

read-only idempotent
shopify-counts-number-payments-attempted-6

Shopify Counts The Number Of Payments Attempted On A Checkout

read-only idempotent

Capability Spec

shopify-counts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Shopify  API — Counts
  description: 'Shopify  API — Counts. 6 operations. Lead operation: Shopify Counts The Number Of Payments Attempted On A
    Checkout. Self-contained Naftiko capability covering one Shopify business surface.'
  tags:
  - Shopify
  - Counts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SHOPIFY_API_KEY: SHOPIFY_API_KEY
capability:
  consumes:
  - type: http
    namespace: shopify-counts
    baseUri: ''
    description: Shopify  API — Counts business capability. Self-contained, no shared references.
    resources:
    - name: admin-api-2020-01-checkouts-token-payments-count.json
      path: /admin/api/2020-01/checkouts/{token}/payments/count.json
      operations:
      - name: deprecated202001getcheckoutsparamtokenpaymentscount
        method: GET
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: path
          type: string
          description: token
          required: true
    - name: admin-api-2020-04-checkouts-token-payments-count.json
      path: /admin/api/2020-04/checkouts/{token}/payments/count.json
      operations:
      - name: deprecated202004getcheckoutsparamtokenpaymentscount
        method: GET
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: path
          type: string
          description: token
          required: true
    - name: admin-api-2020-07-checkouts-token-payments-count.json
      path: /admin/api/2020-07/checkouts/{token}/payments/count.json
      operations:
      - name: deprecated202007getcheckoutsparamtokenpaymentscount
        method: GET
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: path
          type: string
          description: token
          required: true
    - name: admin-api-2020-10-checkouts-token-payments-count.json
      path: /admin/api/2020-10/checkouts/{token}/payments/count.json
      operations:
      - name: getcheckoutsparamtokenpaymentscount
        method: GET
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: path
          type: string
          description: token
          required: true
    - name: admin-api-2021-01-checkouts-token-payments-count.json
      path: /admin/api/2021-01/checkouts/{token}/payments/count.json
      operations:
      - name: deprecated202101getcheckoutsparamtokenpaymentscount
        method: GET
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: path
          type: string
          description: token
          required: true
    - name: admin-api-unstable-checkouts-token-payments-count.json
      path: /admin/api/unstable/checkouts/{token}/payments/count.json
      operations:
      - name: deprecatedunstablegetcheckoutsparamtokenpaymentscount
        method: GET
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: path
          type: string
          description: token
          required: true
  exposes:
  - type: rest
    namespace: shopify-counts-rest
    port: 8080
    description: REST adapter for Shopify  API — Counts. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/admin/api/2020-01/checkouts/{token}/payments/count-json
      name: admin-api-2020-01-checkouts-token-payments-count-json
      description: REST surface for admin-api-2020-01-checkouts-token-payments-count.json.
      operations:
      - method: GET
        name: deprecated202001getcheckoutsparamtokenpaymentscount
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        call: shopify-counts.deprecated202001getcheckoutsparamtokenpaymentscount
        with:
          token: rest.token
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-04/checkouts/{token}/payments/count-json
      name: admin-api-2020-04-checkouts-token-payments-count-json
      description: REST surface for admin-api-2020-04-checkouts-token-payments-count.json.
      operations:
      - method: GET
        name: deprecated202004getcheckoutsparamtokenpaymentscount
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        call: shopify-counts.deprecated202004getcheckoutsparamtokenpaymentscount
        with:
          token: rest.token
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-07/checkouts/{token}/payments/count-json
      name: admin-api-2020-07-checkouts-token-payments-count-json
      description: REST surface for admin-api-2020-07-checkouts-token-payments-count.json.
      operations:
      - method: GET
        name: deprecated202007getcheckoutsparamtokenpaymentscount
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        call: shopify-counts.deprecated202007getcheckoutsparamtokenpaymentscount
        with:
          token: rest.token
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-10/checkouts/{token}/payments/count-json
      name: admin-api-2020-10-checkouts-token-payments-count-json
      description: REST surface for admin-api-2020-10-checkouts-token-payments-count.json.
      operations:
      - method: GET
        name: getcheckoutsparamtokenpaymentscount
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        call: shopify-counts.getcheckoutsparamtokenpaymentscount
        with:
          token: rest.token
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2021-01/checkouts/{token}/payments/count-json
      name: admin-api-2021-01-checkouts-token-payments-count-json
      description: REST surface for admin-api-2021-01-checkouts-token-payments-count.json.
      operations:
      - method: GET
        name: deprecated202101getcheckoutsparamtokenpaymentscount
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        call: shopify-counts.deprecated202101getcheckoutsparamtokenpaymentscount
        with:
          token: rest.token
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/unstable/checkouts/{token}/payments/count-json
      name: admin-api-unstable-checkouts-token-payments-count-json
      description: REST surface for admin-api-unstable-checkouts-token-payments-count.json.
      operations:
      - method: GET
        name: deprecatedunstablegetcheckoutsparamtokenpaymentscount
        description: Shopify Counts The Number Of Payments Attempted On A Checkout
        call: shopify-counts.deprecatedunstablegetcheckoutsparamtokenpaymentscount
        with:
          token: rest.token
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: shopify-counts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Shopify  API — Counts. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: shopify-counts-number-payments-attempted
      description: Shopify Counts The Number Of Payments Attempted On A Checkout
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-counts.deprecated202001getcheckoutsparamtokenpaymentscount
      with:
        token: tools.token
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-counts-number-payments-attempted-2
      description: Shopify Counts The Number Of Payments Attempted On A Checkout
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-counts.deprecated202004getcheckoutsparamtokenpaymentscount
      with:
        token: tools.token
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-counts-number-payments-attempted-3
      description: Shopify Counts The Number Of Payments Attempted On A Checkout
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-counts.deprecated202007getcheckoutsparamtokenpaymentscount
      with:
        token: tools.token
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-counts-number-payments-attempted-4
      description: Shopify Counts The Number Of Payments Attempted On A Checkout
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-counts.getcheckoutsparamtokenpaymentscount
      with:
        token: tools.token
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-counts-number-payments-attempted-5
      description: Shopify Counts The Number Of Payments Attempted On A Checkout
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-counts.deprecated202101getcheckoutsparamtokenpaymentscount
      with:
        token: tools.token
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-counts-number-payments-attempted-6
      description: Shopify Counts The Number Of Payments Attempted On A Checkout
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shopify-counts.deprecatedunstablegetcheckoutsparamtokenpaymentscount
      with:
        token: tools.token
      outputParameters:
      - type: object
        mapping: $.