Shopify Refund API

The Refund API from Shopify — 6 operation(s) for refund.

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

GET /admin/api/2020-01/orders/{order_id}/refunds/{refund_id}.json Retrieve a refund on an order (2020-01) · Shopify Retrieves A Specific Refund #
Ask an LLM
“How do I look up a specific refund on an order using API 2020-01?”
“Can the January 2020 refund lookup show amounts in the shop's currency?”
Tell an agent
Get refund {refund} on order {order} via 2020-01.
On January 2020, show refund {refund} of order {order} with shop-currency amounts set to {in_shop_currency}.
GET /admin/api/2020-04/orders/{order_id}/refunds/{refund_id}.json Retrieve a refund on an order (2020-04) · Shopify Retrieves A Specific Refund #
Ask an LLM
“Which 2020-04 endpoint retrieves one refund from an order?”
“In April 2020, can I return only certain fields of a refund?”
Tell an agent
Retrieve refund {refund} for order {order} using 2020-04.
Using April 2020, fetch only {fields} for refund {refund} on order {order}.
GET /admin/api/2020-07/orders/{order_id}/refunds/{refund_id}.json Retrieve a refund on an order (2020-07) · Shopify Retrieves A Specific Refund #
Ask an LLM
“What call returns a single refund's details in the 2020-07 API?”
“Is there a July 2020 option to show refund amounts in the store's currency?”
Tell an agent
Show refund {refund} from order {order} with 2020-07.
Via July 2020, get refund {refund} on order {order} with amounts in shop currency ({in_shop_currency}).
GET /admin/api/2020-10/orders/{order_id}/refunds/{refund_id}.json Retrieve a refund on an order · Shopify Retrieves A Specific Refund #
Ask an LLM
“A customer asked about their refund; where do I pull it up on 2020-10?”
“Where in October 2020 do I retrieve a specific refund with selected fields?”
Tell an agent
Look up refund {refund} on order {order} (API 2020-10).
With October 2020, return {fields} of refund {refund} for order {order}.
GET /admin/api/2021-01/orders/{order_id}/refunds/{refund_id}.json Retrieve a refund on an order (2021-01) · Shopify Retrieves A Specific Refund #
Ask an LLM
“On 2021-01, how can I fetch a refund by its ID?”
“Does January 2021 let me view a refund's amounts in the shop currency?”
Tell an agent
Fetch order {order}'s refund {refund} using 2021-01.
Using January 2021, get refund {refund} on order {order}, fields {fields} only.
GET /admin/api/unstable/orders/{order_id}/refunds/{refund_id}.json Retrieve a refund on an order (unstable) · Shopify Retrieves A Specific Refund #
Ask an LLM
“Can I retrieve a specific refund on the unstable API?”
“Which unstable-version endpoint returns one refund with optional field filtering?”
Tell an agent
Get refund {refund} of order {order} on unstable.
Using the unstable endpoint, show refund {refund} on order {order} in shop currency ({in_shop_currency}).

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-refund-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-refund-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shopify Refund 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: Refund
paths:
  /admin/api/2020-01/orders/{order_id}/refunds/{refund_id}.json:
    get:
      summary: Shopify Retrieves A Specific Refund
      description: https://shopify.dev/docs/admin-api/rest/reference/orders/refund#show-2020-01
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: refund_id
        required: true
        schema:
          type: string
        description: refund_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      - in: query
        name: in_shop_currency
        description: "Show amounts in the shop currency for the underlying transaction.\n                  (default: false)"
        schema: {}
        required: false
      tags:
      - Refund
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_get_orders_param_order_id_refunds_param_refund_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/orders/{order_id}/refunds/{refund_id}.json:
    get:
      summary: Shopify Retrieves A Specific Refund
      description: https://shopify.dev/docs/admin-api/rest/reference/orders/refund#show-2020-04
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: refund_id
        required: true
        schema:
          type: string
        description: refund_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      - in: query
        name: in_shop_currency
        description: "Show amounts in the shop currency for the underlying transaction.\n                  (default: false)"
        schema: {}
        required: false
      tags:
      - Refund
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_get_orders_param_order_id_refunds_param_refund_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/orders/{order_id}/refunds/{refund_id}.json:
    get:
      summary: Shopify Retrieves A Specific Refund
      description: https://shopify.dev/docs/admin-api/rest/reference/orders/refund#show-2020-07
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: refund_id
        required: true
        schema:
          type: string
        description: refund_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      - in: query
        name: in_shop_currency
        description: "Show amounts in the shop currency for the underlying transaction.\n                  (default: false)"
        schema: {}
        required: false
      tags:
      - Refund
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_get_orders_param_order_id_refunds_param_refund_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/orders/{order_id}/refunds/{refund_id}.json:
    get:
      summary: Shopify Retrieves A Specific Refund
      description: https://shopify.dev/docs/admin-api/rest/reference/orders/refund#show-2020-10
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: refund_id
        required: true
        schema:
          type: string
        description: refund_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      - in: query
        name: in_shop_currency
        description: "Show amounts in the shop currency for the underlying transaction.\n                  (default: false)"
        schema: {}
        required: false
      tags:
      - Refund
      responses:
        '200':
          description: ''
      operationId: get_orders_param_order_id_refunds_param_refund_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/orders/{order_id}/refunds/{refund_id}.json:
    get:
      summary: Shopify Retrieves A Specific Refund
      description: https://shopify.dev/docs/admin-api/rest/reference/orders/refund#show-2021-01
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: refund_id
        required: true
        schema:
          type: string
        description: refund_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      - in: query
        name: in_shop_currency
        description: "Show amounts in the shop currency for the underlying transaction.\n                  (default: false)"
        schema: {}
        required: false
      tags:
      - Refund
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_get_orders_param_order_id_refunds_param_refund_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/unstable/orders/{order_id}/refunds/{refund_id}.json:
    get:
      summary: Shopify Retrieves A Specific Refund
      description: https://shopify.dev/docs/admin-api/rest/reference/orders/refund#show-unstable
      parameters:
      - in: path
        name: order_id
        required: true
        schema:
          type: string
        description: order_id
      - in: path
        name: refund_id
        required: true
        schema:
          type: string
        description: refund_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      - in: query
        name: in_shop_currency
        description: "Show amounts in the shop currency for the underlying transaction.\n                  (default: false)"
        schema: {}
        required: false
      tags:
      - Refund
      responses:
        '200':
          description: ''
      operationId: deprecated_unstable_get_orders_param_order_id_refunds_param_refund_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true