Shopify · Capability

Shopify API — Cancel

Shopify API — Cancel. 6 operations. Lead operation: Shopify Cancel A Fulfillment For A Specific Order Id. Self-contained Naftiko capability covering one Shopify business surface.

Run with Naftiko ShopifyCancel

What You Can Do

POST
Deprecated202001createordersparamorderidfulfillmentsparamfulfillmentidcancel — Shopify Cancel A Fulfillment For A Specific Order Id
/v1/admin/api/2020-01/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json
POST
Deprecated202004createordersparamorderidfulfillmentsparamfulfillmentidcancel — Shopify Cancel A Fulfillment For A Specific Order Id
/v1/admin/api/2020-04/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json
POST
Deprecated202007createordersparamorderidfulfillmentsparamfulfillmentidcancel — Shopify Cancel A Fulfillment For A Specific Order Id
/v1/admin/api/2020-07/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json
POST
Createordersparamorderidfulfillmentsparamfulfillmentidcancel — Shopify Cancel A Fulfillment For A Specific Order Id
/v1/admin/api/2020-10/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json
POST
Deprecated202101createordersparamorderidfulfillmentsparamfulfillmentidcancel — Shopify Cancel A Fulfillment For A Specific Order Id
/v1/admin/api/2021-01/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json
POST
Deprecatedunstablecreateordersparamorderidfulfillmentsparamfulfillmentidcancel — Shopify Cancel A Fulfillment For A Specific Order Id
/v1/admin/api/unstable/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json

MCP Tools

shopify-cancel-fulfillment-specific-order

Shopify Cancel A Fulfillment For A Specific Order Id

shopify-cancel-fulfillment-specific-order-2

Shopify Cancel A Fulfillment For A Specific Order Id

shopify-cancel-fulfillment-specific-order-3

Shopify Cancel A Fulfillment For A Specific Order Id

shopify-cancel-fulfillment-specific-order-4

Shopify Cancel A Fulfillment For A Specific Order Id

shopify-cancel-fulfillment-specific-order-5

Shopify Cancel A Fulfillment For A Specific Order Id

shopify-cancel-fulfillment-specific-order-6

Shopify Cancel A Fulfillment For A Specific Order Id

Capability Spec

shopify-cancel.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Shopify  API — Cancel
  description: 'Shopify  API — Cancel. 6 operations. Lead operation: Shopify Cancel A Fulfillment For A Specific Order Id.
    Self-contained Naftiko capability covering one Shopify business surface.'
  tags:
  - Shopify
  - Cancel
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SHOPIFY_API_KEY: SHOPIFY_API_KEY
capability:
  consumes:
  - type: http
    namespace: shopify-cancel
    baseUri: ''
    description: Shopify  API — Cancel business capability. Self-contained, no shared references.
    resources:
    - name: admin-api-2020-01-orders-order_id-fulfillments-fulfillment_id-cancel.json
      path: /admin/api/2020-01/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json
      operations:
      - name: deprecated202001createordersparamorderidfulfillmentsparamfulfillmentidcancel
        method: POST
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: path
          type: string
          description: order_id
          required: true
        - name: fulfillment_id
          in: path
          type: string
          description: fulfillment_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-04-orders-order_id-fulfillments-fulfillment_id-cancel.json
      path: /admin/api/2020-04/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json
      operations:
      - name: deprecated202004createordersparamorderidfulfillmentsparamfulfillmentidcancel
        method: POST
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: path
          type: string
          description: order_id
          required: true
        - name: fulfillment_id
          in: path
          type: string
          description: fulfillment_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-07-orders-order_id-fulfillments-fulfillment_id-cancel.json
      path: /admin/api/2020-07/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json
      operations:
      - name: deprecated202007createordersparamorderidfulfillmentsparamfulfillmentidcancel
        method: POST
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: path
          type: string
          description: order_id
          required: true
        - name: fulfillment_id
          in: path
          type: string
          description: fulfillment_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-10-orders-order_id-fulfillments-fulfillment_id-cancel.json
      path: /admin/api/2020-10/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json
      operations:
      - name: createordersparamorderidfulfillmentsparamfulfillmentidcancel
        method: POST
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: path
          type: string
          description: order_id
          required: true
        - name: fulfillment_id
          in: path
          type: string
          description: fulfillment_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2021-01-orders-order_id-fulfillments-fulfillment_id-cancel.json
      path: /admin/api/2021-01/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json
      operations:
      - name: deprecated202101createordersparamorderidfulfillmentsparamfulfillmentidcancel
        method: POST
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: path
          type: string
          description: order_id
          required: true
        - name: fulfillment_id
          in: path
          type: string
          description: fulfillment_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-unstable-orders-order_id-fulfillments-fulfillment_id-cancel.json
      path: /admin/api/unstable/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json
      operations:
      - name: deprecatedunstablecreateordersparamorderidfulfillmentsparamfulfillmentidcancel
        method: POST
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: path
          type: string
          description: order_id
          required: true
        - name: fulfillment_id
          in: path
          type: string
          description: fulfillment_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: shopify-cancel-rest
    port: 8080
    description: REST adapter for Shopify  API — Cancel. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/admin/api/2020-01/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json
      name: admin-api-2020-01-orders-order-id-fulfillments-fulfillment-id-cancel-json
      description: REST surface for admin-api-2020-01-orders-order_id-fulfillments-fulfillment_id-cancel.json.
      operations:
      - method: POST
        name: deprecated202001createordersparamorderidfulfillmentsparamfulfillmentidcancel
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        call: shopify-cancel.deprecated202001createordersparamorderidfulfillmentsparamfulfillmentidcancel
        with:
          order_id: rest.order_id
          fulfillment_id: rest.fulfillment_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-04/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json
      name: admin-api-2020-04-orders-order-id-fulfillments-fulfillment-id-cancel-json
      description: REST surface for admin-api-2020-04-orders-order_id-fulfillments-fulfillment_id-cancel.json.
      operations:
      - method: POST
        name: deprecated202004createordersparamorderidfulfillmentsparamfulfillmentidcancel
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        call: shopify-cancel.deprecated202004createordersparamorderidfulfillmentsparamfulfillmentidcancel
        with:
          order_id: rest.order_id
          fulfillment_id: rest.fulfillment_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-07/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json
      name: admin-api-2020-07-orders-order-id-fulfillments-fulfillment-id-cancel-json
      description: REST surface for admin-api-2020-07-orders-order_id-fulfillments-fulfillment_id-cancel.json.
      operations:
      - method: POST
        name: deprecated202007createordersparamorderidfulfillmentsparamfulfillmentidcancel
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        call: shopify-cancel.deprecated202007createordersparamorderidfulfillmentsparamfulfillmentidcancel
        with:
          order_id: rest.order_id
          fulfillment_id: rest.fulfillment_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-10/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json
      name: admin-api-2020-10-orders-order-id-fulfillments-fulfillment-id-cancel-json
      description: REST surface for admin-api-2020-10-orders-order_id-fulfillments-fulfillment_id-cancel.json.
      operations:
      - method: POST
        name: createordersparamorderidfulfillmentsparamfulfillmentidcancel
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        call: shopify-cancel.createordersparamorderidfulfillmentsparamfulfillmentidcancel
        with:
          order_id: rest.order_id
          fulfillment_id: rest.fulfillment_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2021-01/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json
      name: admin-api-2021-01-orders-order-id-fulfillments-fulfillment-id-cancel-json
      description: REST surface for admin-api-2021-01-orders-order_id-fulfillments-fulfillment_id-cancel.json.
      operations:
      - method: POST
        name: deprecated202101createordersparamorderidfulfillmentsparamfulfillmentidcancel
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        call: shopify-cancel.deprecated202101createordersparamorderidfulfillmentsparamfulfillmentidcancel
        with:
          order_id: rest.order_id
          fulfillment_id: rest.fulfillment_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/unstable/orders/{order-id}/fulfillments/{fulfillment-id}/cancel-json
      name: admin-api-unstable-orders-order-id-fulfillments-fulfillment-id-cancel-json
      description: REST surface for admin-api-unstable-orders-order_id-fulfillments-fulfillment_id-cancel.json.
      operations:
      - method: POST
        name: deprecatedunstablecreateordersparamorderidfulfillmentsparamfulfillmentidcancel
        description: Shopify Cancel A Fulfillment For A Specific Order Id
        call: shopify-cancel.deprecatedunstablecreateordersparamorderidfulfillmentsparamfulfillmentidcancel
        with:
          order_id: rest.order_id
          fulfillment_id: rest.fulfillment_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: shopify-cancel-mcp
    port: 9090
    transport: http
    description: MCP adapter for Shopify  API — Cancel. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: shopify-cancel-fulfillment-specific-order
      description: Shopify Cancel A Fulfillment For A Specific Order Id
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shopify-cancel.deprecated202001createordersparamorderidfulfillmentsparamfulfillmentidcancel
      with:
        order_id: tools.order_id
        fulfillment_id: tools.fulfillment_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-cancel-fulfillment-specific-order-2
      description: Shopify Cancel A Fulfillment For A Specific Order Id
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shopify-cancel.deprecated202004createordersparamorderidfulfillmentsparamfulfillmentidcancel
      with:
        order_id: tools.order_id
        fulfillment_id: tools.fulfillment_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-cancel-fulfillment-specific-order-3
      description: Shopify Cancel A Fulfillment For A Specific Order Id
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shopify-cancel.deprecated202007createordersparamorderidfulfillmentsparamfulfillmentidcancel
      with:
        order_id: tools.order_id
        fulfillment_id: tools.fulfillment_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-cancel-fulfillment-specific-order-4
      description: Shopify Cancel A Fulfillment For A Specific Order Id
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shopify-cancel.createordersparamorderidfulfillmentsparamfulfillmentidcancel
      with:
        order_id: tools.order_id
        fulfillment_id: tools.fulfillment_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-cancel-fulfillment-specific-order-5
      description: Shopify Cancel A Fulfillment For A Specific Order Id
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shopify-cancel.deprecated202101createordersparamorderidfulfillmentsparamfulfillmentidcancel
      with:
        order_id: tools.order_id
        fulfillment_id: tools.fulfillment_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: shopify-cancel-fulfillment-specific-order-6
      description: Shopify Cancel A Fulfillment For A Specific Order Id
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: shopify-cancel.deprecatedunstablecreateordersparamorderidfulfillmentsparamfulfillmentidcancel
      with:
        order_id: tools.order_id
        fulfillment_id: tools.fulfillment_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.