naftiko: 1.0.0-alpha2 info: label: Shopify API — Refunds description: 'Shopify API — Refunds. 6 operations. Lead operation: Shopify Retrieves A List Of Refunds For An Order. Self-contained Naftiko capability covering one Shopify business surface.' tags: - Shopify - Refunds created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHOPIFY_API_KEY: SHOPIFY_API_KEY capability: consumes: - type: http namespace: shopify-refunds baseUri: '' description: Shopify API — Refunds business capability. Self-contained, no shared references. resources: - name: admin-api-2020-01-orders-order_id-refunds.json path: /admin/api/2020-01/orders/{order_id}/refunds.json operations: - name: deprecated202001getordersparamorderidrefunds method: GET description: Shopify Retrieves A List Of Refunds For An Order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: limit in: query type: string description: The maximum number of results to retrieve. - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. - name: admin-api-2020-04-orders-order_id-refunds.json path: /admin/api/2020-04/orders/{order_id}/refunds.json operations: - name: deprecated202004getordersparamorderidrefunds method: GET description: Shopify Retrieves A List Of Refunds For An Order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: limit in: query type: string description: The maximum number of results to retrieve. - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. - name: admin-api-2020-07-orders-order_id-refunds.json path: /admin/api/2020-07/orders/{order_id}/refunds.json operations: - name: deprecated202007getordersparamorderidrefunds method: GET description: Shopify Retrieves A List Of Refunds For An Order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: limit in: query type: string description: The maximum number of results to retrieve. - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. - name: admin-api-2020-10-orders-order_id-refunds.json path: /admin/api/2020-10/orders/{order_id}/refunds.json operations: - name: getordersparamorderidrefunds method: GET description: Shopify Retrieves A List Of Refunds For An Order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: limit in: query type: string description: The maximum number of results to retrieve. - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. - name: admin-api-2021-01-orders-order_id-refunds.json path: /admin/api/2021-01/orders/{order_id}/refunds.json operations: - name: deprecated202101getordersparamorderidrefunds method: GET description: Shopify Retrieves A List Of Refunds For An Order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: limit in: query type: string description: The maximum number of results to retrieve. - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. - name: admin-api-unstable-orders-order_id-refunds.json path: /admin/api/unstable/orders/{order_id}/refunds.json operations: - name: deprecatedunstablegetordersparamorderidrefunds method: GET description: Shopify Retrieves A List Of Refunds For An Order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: order_id required: true - name: limit in: query type: string description: The maximum number of results to retrieve. - name: fields in: query type: string description: Show only certain fields, specified by a comma-separated list of field names. - name: in_shop_currency in: query type: string description: Show amounts in the shop currency for the underlying transaction. exposes: - type: rest namespace: shopify-refunds-rest port: 8080 description: REST adapter for Shopify API — Refunds. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/admin/api/2020-01/orders/{order-id}/refunds-json name: admin-api-2020-01-orders-order-id-refunds-json description: REST surface for admin-api-2020-01-orders-order_id-refunds.json. operations: - method: GET name: deprecated202001getordersparamorderidrefunds description: Shopify Retrieves A List Of Refunds For An Order call: shopify-refunds.deprecated202001getordersparamorderidrefunds with: order_id: rest.order_id limit: rest.limit fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-04/orders/{order-id}/refunds-json name: admin-api-2020-04-orders-order-id-refunds-json description: REST surface for admin-api-2020-04-orders-order_id-refunds.json. operations: - method: GET name: deprecated202004getordersparamorderidrefunds description: Shopify Retrieves A List Of Refunds For An Order call: shopify-refunds.deprecated202004getordersparamorderidrefunds with: order_id: rest.order_id limit: rest.limit fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-07/orders/{order-id}/refunds-json name: admin-api-2020-07-orders-order-id-refunds-json description: REST surface for admin-api-2020-07-orders-order_id-refunds.json. operations: - method: GET name: deprecated202007getordersparamorderidrefunds description: Shopify Retrieves A List Of Refunds For An Order call: shopify-refunds.deprecated202007getordersparamorderidrefunds with: order_id: rest.order_id limit: rest.limit fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - path: /v1/admin/api/2020-10/orders/{order-id}/refunds-json name: admin-api-2020-10-orders-order-id-refunds-json description: REST surface for admin-api-2020-10-orders-order_id-refunds.json. operations: - method: GET name: getordersparamorderidrefunds description: Shopify Retrieves A List Of Refunds For An Order call: shopify-refunds.getordersparamorderidrefunds with: order_id: rest.order_id limit: rest.limit fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - path: /v1/admin/api/2021-01/orders/{order-id}/refunds-json name: admin-api-2021-01-orders-order-id-refunds-json description: REST surface for admin-api-2021-01-orders-order_id-refunds.json. operations: - method: GET name: deprecated202101getordersparamorderidrefunds description: Shopify Retrieves A List Of Refunds For An Order call: shopify-refunds.deprecated202101getordersparamorderidrefunds with: order_id: rest.order_id limit: rest.limit fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - path: /v1/admin/api/unstable/orders/{order-id}/refunds-json name: admin-api-unstable-orders-order-id-refunds-json description: REST surface for admin-api-unstable-orders-order_id-refunds.json. operations: - method: GET name: deprecatedunstablegetordersparamorderidrefunds description: Shopify Retrieves A List Of Refunds For An Order call: shopify-refunds.deprecatedunstablegetordersparamorderidrefunds with: order_id: rest.order_id limit: rest.limit fields: rest.fields in_shop_currency: rest.in_shop_currency outputParameters: - type: object mapping: $. - type: mcp namespace: shopify-refunds-mcp port: 9090 transport: http description: MCP adapter for Shopify API — Refunds. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: shopify-retrieves-list-refunds-order description: Shopify Retrieves A List Of Refunds For An Order hints: readOnly: true destructive: false idempotent: true call: shopify-refunds.deprecated202001getordersparamorderidrefunds with: order_id: tools.order_id limit: tools.limit fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-refunds-order-2 description: Shopify Retrieves A List Of Refunds For An Order hints: readOnly: true destructive: false idempotent: true call: shopify-refunds.deprecated202004getordersparamorderidrefunds with: order_id: tools.order_id limit: tools.limit fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-refunds-order-3 description: Shopify Retrieves A List Of Refunds For An Order hints: readOnly: true destructive: false idempotent: true call: shopify-refunds.deprecated202007getordersparamorderidrefunds with: order_id: tools.order_id limit: tools.limit fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-refunds-order-4 description: Shopify Retrieves A List Of Refunds For An Order hints: readOnly: true destructive: false idempotent: true call: shopify-refunds.getordersparamorderidrefunds with: order_id: tools.order_id limit: tools.limit fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-refunds-order-5 description: Shopify Retrieves A List Of Refunds For An Order hints: readOnly: true destructive: false idempotent: true call: shopify-refunds.deprecated202101getordersparamorderidrefunds with: order_id: tools.order_id limit: tools.limit fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $. - name: shopify-retrieves-list-refunds-order-6 description: Shopify Retrieves A List Of Refunds For An Order hints: readOnly: true destructive: false idempotent: true call: shopify-refunds.deprecatedunstablegetordersparamorderidrefunds with: order_id: tools.order_id limit: tools.limit fields: tools.fields in_shop_currency: tools.in_shop_currency outputParameters: - type: object mapping: $.