Shopify Cancel API

The Cancel API from Shopify — 6 operation(s) for cancel.

Business capability
Order Fulfilment Management BC-520.40

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /admin/api/2020-01/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json Cancel an order fulfillment (API 2020-01) · Shopify Cancel A Fulfillment For A Specific Order Id #
Ask an LLM
“How do I cancel a fulfillment on an order using the 2020-01 Admin API?”
“Can a shipment I already marked fulfilled be cancelled under API version 2020-01?”
Tell an agent destructive · confirm first
Cancel fulfillment {fulfillment_id} on order {order_id} via the 2020-01 API.
Using version 2020-01, call off the fulfillment {fulfillment_id} for order {order_id}.
POST /admin/api/2020-04/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json Cancel an order fulfillment (API 2020-04) · Shopify Cancel A Fulfillment For A Specific Order Id #
Ask an LLM
“Which April 2020 (2020-04) endpoint cancels a fulfillment that belongs to an order?”
“Is undoing a fulfillment supported in the 2020-04 release of the Admin API?”
Tell an agent destructive · confirm first
On the 2020-04 release, cancel the fulfillment {fulfillment_id} of order {order_id}.
Undo fulfillment {fulfillment_id} for order {order_id} with the April 2020 endpoint.
POST /admin/api/2020-07/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json Cancel an order fulfillment (API 2020-07) · Shopify Cancel A Fulfillment For A Specific Order Id #
Ask an LLM
“My app is pinned to 2020-07; what cancels a fulfillment there?”
“Can the July 2020 Admin API reverse a fulfillment I created by mistake?”
Tell an agent destructive · confirm first
Reverse the mistaken fulfillment {fulfillment_id} on order {order_id} using July 2020 (2020-07).
With API 2020-07, cancel order {order_id}'s fulfillment {fulfillment_id}.
POST /admin/api/2020-10/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json Cancel an order fulfillment (API 2020-10) · Shopify Cancel A Fulfillment For A Specific Order Id #
Ask an LLM
“What is the 2020-10 way to cancel a fulfillment on one of my orders?”
“Does the October 2020 Admin API let me take back a fulfillment on an order?”
Tell an agent destructive · confirm first
Take back fulfillment {fulfillment_id} from order {order_id} on the October 2020 version.
Cancel the 2020-10 fulfillment {fulfillment_id} attached to order {order_id}.
POST /admin/api/2021-01/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json Cancel an order fulfillment (API 2021-01) · Shopify Cancel A Fulfillment For A Specific Order Id #
Ask an LLM
“Under the 2021-01 Admin API, where do I cancel an order's fulfillment?”
“Can I stop a fulfillment on an order with the January 2021 API version?”
Tell an agent destructive · confirm first
Stop fulfillment {fulfillment_id} on order {order_id} through API version 2021-01.
For order {order_id}, cancel fulfillment {fulfillment_id} against January 2021.
POST /admin/api/unstable/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json Cancel an order fulfillment (unstable API) · Shopify Cancel A Fulfillment For A Specific Order Id #
Ask an LLM
“Is there an unstable-channel endpoint for cancelling a fulfillment on an order?”
“Can I test fulfillment cancellation against the unstable Admin API version?”
Tell an agent destructive · confirm first
Cancel fulfillment {fulfillment_id} of order {order_id} on the unstable API.
Against the unstable version, test cancelling order {order_id} fulfillment {fulfillment_id}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shopify-cancel-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shopify-cancel-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shopify Cancel API
  description: Explore Shopify's API reference and templating documentation. Shopify provides a range of software tools, app templates, example apps, and libraries to accelerate your development process. The Admin API lets you build apps and integrations that extend and enhance the Shopify admin.
  version: 2020-10
tags:
- name: Cancel
paths:
  /admin/api/2020-01/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value: {}
                summary: Cancel a fulfillment for a specific order ID
      summary: Shopify Cancel A Fulfillment For A Specific Order Id
      description: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#cancel-2020-01
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: fulfillment_id
        required: true
        schema:
          type: string
        description: fulfillment_id
      tags:
      - Cancel
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_create_orders_param_order_id_fulfillments_param_fulfillment_id_cancel
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value: {}
                summary: Cancel a fulfillment for a specific order ID
      summary: Shopify Cancel A Fulfillment For A Specific Order Id
      description: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#cancel-2020-04
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: fulfillment_id
        required: true
        schema:
          type: string
        description: fulfillment_id
      tags:
      - Cancel
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_create_orders_param_order_id_fulfillments_param_fulfillment_id_cancel
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value: {}
                summary: Cancel a fulfillment for a specific order ID
      summary: Shopify Cancel A Fulfillment For A Specific Order Id
      description: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#cancel-2020-07
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: fulfillment_id
        required: true
        schema:
          type: string
        description: fulfillment_id
      tags:
      - Cancel
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_create_orders_param_order_id_fulfillments_param_fulfillment_id_cancel
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value: {}
                summary: Cancel a fulfillment for a specific order ID
      summary: Shopify Cancel A Fulfillment For A Specific Order Id
      description: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#cancel-2020-10
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: fulfillment_id
        required: true
        schema:
          type: string
        description: fulfillment_id
      tags:
      - Cancel
      responses:
        '200':
          description: ''
      operationId: create_orders_param_order_id_fulfillments_param_fulfillment_id_cancel
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value: {}
                summary: Cancel a fulfillment for a specific order ID
      summary: Shopify Cancel A Fulfillment For A Specific Order Id
      description: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#cancel-2021-01
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: fulfillment_id
        required: true
        schema:
          type: string
        description: fulfillment_id
      tags:
      - Cancel
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_create_orders_param_order_id_fulfillments_param_fulfillment_id_cancel
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/unstable/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json:
    post:
      requestBody:
        content:
          application/json:
            schema: {}
            examples:
              example1:
                value: {}
                summary: Cancel a fulfillment for a specific order ID
      summary: Shopify Cancel A Fulfillment For A Specific Order Id
      description: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#cancel-unstable
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: fulfillment_id
        required: true
        schema:
          type: string
        description: fulfillment_id
      tags:
      - Cancel
      responses:
        '200':
          description: ''
      operationId: deprecated_unstable_create_orders_param_order_id_fulfillments_param_fulfillment_id_cancel
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true