Shopify · Capability

Shopify API — Gift

Shopify API — Gift. 42 operations. Lead operation: Shopify Retrieves A List Of Gift Cards. Self-contained Naftiko capability covering one Shopify business surface.

Run with Naftiko ShopifyGift

What You Can Do

GET
Deprecated202001getgiftcards — Shopify Retrieves A List Of Gift Cards
/v1/admin/api/2020-01/gift-cards-json
POST
Deprecated202001creategiftcards — Shopify Creates A Gift Card
/v1/admin/api/2020-01/gift-cards-json
GET
Deprecated202001getgiftcardscount — Shopify Retrieves A Count Of Gift Cards
/v1/admin/api/2020-01/gift-cards/count-json
GET
Deprecated202001getgiftcardssearch — Shopify Searches For Gift Cards That Match A Supplied Query
/v1/admin/api/2020-01/gift-cards/search-json
GET
Deprecated202001getgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/2020-01/gift-cards/gift-card-id-json
PUT
Deprecated202001updategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/2020-01/gift-cards/gift-card-id-json
POST
Deprecated202001creategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/2020-01/gift-cards/{gift-card-id}/disable-json
GET
Deprecated202004getgiftcards — Shopify Retrieves A List Of Gift Cards
/v1/admin/api/2020-04/gift-cards-json
POST
Deprecated202004creategiftcards — Shopify Creates A Gift Card
/v1/admin/api/2020-04/gift-cards-json
GET
Deprecated202004getgiftcardscount — Shopify Retrieves A Count Of Gift Cards
/v1/admin/api/2020-04/gift-cards/count-json
GET
Deprecated202004getgiftcardssearch — Shopify Searches For Gift Cards That Match A Supplied Query
/v1/admin/api/2020-04/gift-cards/search-json
GET
Deprecated202004getgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/2020-04/gift-cards/gift-card-id-json
PUT
Deprecated202004updategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/2020-04/gift-cards/gift-card-id-json
POST
Deprecated202004creategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/2020-04/gift-cards/{gift-card-id}/disable-json
GET
Deprecated202007getgiftcards — Shopify Retrieves A List Of Gift Cards
/v1/admin/api/2020-07/gift-cards-json
POST
Deprecated202007creategiftcards — Shopify Creates A Gift Card
/v1/admin/api/2020-07/gift-cards-json
GET
Deprecated202007getgiftcardscount — Shopify Retrieves A Count Of Gift Cards
/v1/admin/api/2020-07/gift-cards/count-json
GET
Deprecated202007getgiftcardssearch — Shopify Searches For Gift Cards That Match A Supplied Query
/v1/admin/api/2020-07/gift-cards/search-json
GET
Deprecated202007getgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/2020-07/gift-cards/gift-card-id-json
PUT
Deprecated202007updategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/2020-07/gift-cards/gift-card-id-json
POST
Deprecated202007creategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/2020-07/gift-cards/{gift-card-id}/disable-json
GET
Getgiftcards — Shopify Retrieves A List Of Gift Cards
/v1/admin/api/2020-10/gift-cards-json
POST
Creategiftcards — Shopify Creates A Gift Card
/v1/admin/api/2020-10/gift-cards-json
GET
Getgiftcardscount — Shopify Retrieves A Count Of Gift Cards
/v1/admin/api/2020-10/gift-cards/count-json
GET
Getgiftcardssearch — Shopify Searches For Gift Cards That Match A Supplied Query
/v1/admin/api/2020-10/gift-cards/search-json
GET
Getgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/2020-10/gift-cards/gift-card-id-json
PUT
Updategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/2020-10/gift-cards/gift-card-id-json
POST
Creategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/2020-10/gift-cards/{gift-card-id}/disable-json
GET
Deprecated202101getgiftcards — Shopify Retrieves A List Of Gift Cards
/v1/admin/api/2021-01/gift-cards-json
POST
Deprecated202101creategiftcards — Shopify Creates A Gift Card
/v1/admin/api/2021-01/gift-cards-json
GET
Deprecated202101getgiftcardscount — Shopify Retrieves A Count Of Gift Cards
/v1/admin/api/2021-01/gift-cards/count-json
GET
Deprecated202101getgiftcardssearch — Shopify Searches For Gift Cards That Match A Supplied Query
/v1/admin/api/2021-01/gift-cards/search-json
GET
Deprecated202101getgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/2021-01/gift-cards/gift-card-id-json
PUT
Deprecated202101updategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/2021-01/gift-cards/gift-card-id-json
POST
Deprecated202101creategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/2021-01/gift-cards/{gift-card-id}/disable-json
GET
Deprecatedunstablegetgiftcards — Shopify Retrieves A List Of Gift Cards
/v1/admin/api/unstable/gift-cards-json
POST
Deprecatedunstablecreategiftcards — Shopify Creates A Gift Card
/v1/admin/api/unstable/gift-cards-json
GET
Deprecatedunstablegetgiftcardscount — Shopify Retrieves A Count Of Gift Cards
/v1/admin/api/unstable/gift-cards/count-json
GET
Deprecatedunstablegetgiftcardssearch — Shopify Searches For Gift Cards That Match A Supplied Query
/v1/admin/api/unstable/gift-cards/search-json
GET
Deprecatedunstablegetgiftcardsparamgiftcardid — Shopify Retrieves A Single Gift Card By Its Id
/v1/admin/api/unstable/gift-cards/gift-card-id-json
PUT
Deprecatedunstableupdategiftcardsparamgiftcardid — Shopify Updates An Existing Gift Card
/v1/admin/api/unstable/gift-cards/gift-card-id-json
POST
Deprecatedunstablecreategiftcardsparamgiftcardiddisable — Shopify Disables A Gift Card
/v1/admin/api/unstable/gift-cards/{gift-card-id}/disable-json

MCP Tools

shopify-retrieves-list-gift-cards

Shopify Retrieves A List Of Gift Cards

read-only idempotent
shopify-creates-gift-card

Shopify Creates A Gift Card

shopify-retrieves-count-gift-cards

Shopify Retrieves A Count Of Gift Cards

read-only idempotent
shopify-searches-gift-cards-that

Shopify Searches For Gift Cards That Match A Supplied Query

read-only idempotent
shopify-retrieves-single-gift-card

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card

Shopify Disables A Gift Card

shopify-retrieves-list-gift-cards-2

Shopify Retrieves A List Of Gift Cards

read-only idempotent
shopify-creates-gift-card-2

Shopify Creates A Gift Card

shopify-retrieves-count-gift-cards-2

Shopify Retrieves A Count Of Gift Cards

read-only idempotent
shopify-searches-gift-cards-that-2

Shopify Searches For Gift Cards That Match A Supplied Query

read-only idempotent
shopify-retrieves-single-gift-card-2

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card-2

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card-2

Shopify Disables A Gift Card

shopify-retrieves-list-gift-cards-3

Shopify Retrieves A List Of Gift Cards

read-only idempotent
shopify-creates-gift-card-3

Shopify Creates A Gift Card

shopify-retrieves-count-gift-cards-3

Shopify Retrieves A Count Of Gift Cards

read-only idempotent
shopify-searches-gift-cards-that-3

Shopify Searches For Gift Cards That Match A Supplied Query

read-only idempotent
shopify-retrieves-single-gift-card-3

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card-3

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card-3

Shopify Disables A Gift Card

shopify-retrieves-list-gift-cards-4

Shopify Retrieves A List Of Gift Cards

read-only idempotent
shopify-creates-gift-card-4

Shopify Creates A Gift Card

shopify-retrieves-count-gift-cards-4

Shopify Retrieves A Count Of Gift Cards

read-only idempotent
shopify-searches-gift-cards-that-4

Shopify Searches For Gift Cards That Match A Supplied Query

read-only idempotent
shopify-retrieves-single-gift-card-4

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card-4

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card-4

Shopify Disables A Gift Card

shopify-retrieves-list-gift-cards-5

Shopify Retrieves A List Of Gift Cards

read-only idempotent
shopify-creates-gift-card-5

Shopify Creates A Gift Card

shopify-retrieves-count-gift-cards-5

Shopify Retrieves A Count Of Gift Cards

read-only idempotent
shopify-searches-gift-cards-that-5

Shopify Searches For Gift Cards That Match A Supplied Query

read-only idempotent
shopify-retrieves-single-gift-card-5

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card-5

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card-5

Shopify Disables A Gift Card

shopify-retrieves-list-gift-cards-6

Shopify Retrieves A List Of Gift Cards

read-only idempotent
shopify-creates-gift-card-6

Shopify Creates A Gift Card

shopify-retrieves-count-gift-cards-6

Shopify Retrieves A Count Of Gift Cards

read-only idempotent
shopify-searches-gift-cards-that-6

Shopify Searches For Gift Cards That Match A Supplied Query

read-only idempotent
shopify-retrieves-single-gift-card-6

Shopify Retrieves A Single Gift Card By Its Id

read-only idempotent
shopify-updates-existing-gift-card-6

Shopify Updates An Existing Gift Card

idempotent
shopify-disables-gift-card-6

Shopify Disables A Gift Card

Capability Spec

shopify-gift.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Shopify  API — Gift
  description: 'Shopify  API — Gift. 42 operations. Lead operation: Shopify Retrieves A List Of Gift Cards. Self-contained
    Naftiko capability covering one Shopify business surface.'
  tags:
  - Shopify
  - Gift
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SHOPIFY_API_KEY: SHOPIFY_API_KEY
capability:
  consumes:
  - type: http
    namespace: shopify-gift
    baseUri: ''
    description: Shopify  API — Gift business capability. Self-contained, no shared references.
    resources:
    - name: admin-api-2020-01-gift_cards.json
      path: /admin/api/2020-01/gift_cards.json
      operations:
      - name: deprecated202001getgiftcards
        method: GET
        description: Shopify Retrieves A List Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Retrieve gift cards with a given status. Valid values:'
        - name: limit
          in: query
          type: string
          description: The maximum number of results to show.
        - name: since_id
          in: query
          type: string
          description: Restrict results to after the specified ID.
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: deprecated202001creategiftcards
        method: POST
        description: Shopify Creates A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-01-gift_cards-count.json
      path: /admin/api/2020-01/gift_cards/count.json
      operations:
      - name: deprecated202001getgiftcardscount
        method: GET
        description: Shopify Retrieves A Count Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Count gift cards with a given status. Valid values:'
    - name: admin-api-2020-01-gift_cards-search.json
      path: /admin/api/2020-01/gift_cards/search.json
      operations:
      - name: deprecated202001getgiftcardssearch
        method: GET
        description: Shopify Searches For Gift Cards That Match A Supplied Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order
          in: query
          type: string
          description: The field and direction to order results by.
        - name: query
          in: query
          type: string
          description: The text to search for.
        - 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: admin-api-2020-01-gift_cards-gift_card_id}.json
      path: /admin/api/2020-01/gift_cards/{gift_card_id}.json
      operations:
      - name: deprecated202001getgiftcardsparamgiftcardid
        method: GET
        description: Shopify Retrieves A Single Gift Card By Its Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
      - name: deprecated202001updategiftcardsparamgiftcardid
        method: PUT
        description: Shopify Updates An Existing Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-01-gift_cards-gift_card_id-disable.json
      path: /admin/api/2020-01/gift_cards/{gift_card_id}/disable.json
      operations:
      - name: deprecated202001creategiftcardsparamgiftcardiddisable
        method: POST
        description: Shopify Disables A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-04-gift_cards.json
      path: /admin/api/2020-04/gift_cards.json
      operations:
      - name: deprecated202004getgiftcards
        method: GET
        description: Shopify Retrieves A List Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Retrieve gift cards with a given status. Valid values:'
        - name: limit
          in: query
          type: string
          description: The maximum number of results to show.
        - name: since_id
          in: query
          type: string
          description: Restrict results to after the specified ID.
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: deprecated202004creategiftcards
        method: POST
        description: Shopify Creates A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-04-gift_cards-count.json
      path: /admin/api/2020-04/gift_cards/count.json
      operations:
      - name: deprecated202004getgiftcardscount
        method: GET
        description: Shopify Retrieves A Count Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Count gift cards with a given status. Valid values:'
    - name: admin-api-2020-04-gift_cards-search.json
      path: /admin/api/2020-04/gift_cards/search.json
      operations:
      - name: deprecated202004getgiftcardssearch
        method: GET
        description: Shopify Searches For Gift Cards That Match A Supplied Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order
          in: query
          type: string
          description: The field and direction to order results by.
        - name: query
          in: query
          type: string
          description: The text to search for.
        - 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: admin-api-2020-04-gift_cards-gift_card_id}.json
      path: /admin/api/2020-04/gift_cards/{gift_card_id}.json
      operations:
      - name: deprecated202004getgiftcardsparamgiftcardid
        method: GET
        description: Shopify Retrieves A Single Gift Card By Its Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
      - name: deprecated202004updategiftcardsparamgiftcardid
        method: PUT
        description: Shopify Updates An Existing Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-04-gift_cards-gift_card_id-disable.json
      path: /admin/api/2020-04/gift_cards/{gift_card_id}/disable.json
      operations:
      - name: deprecated202004creategiftcardsparamgiftcardiddisable
        method: POST
        description: Shopify Disables A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-07-gift_cards.json
      path: /admin/api/2020-07/gift_cards.json
      operations:
      - name: deprecated202007getgiftcards
        method: GET
        description: Shopify Retrieves A List Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Retrieve gift cards with a given status. Valid values:'
        - name: limit
          in: query
          type: string
          description: The maximum number of results to show.
        - name: since_id
          in: query
          type: string
          description: Restrict results to after the specified ID.
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: deprecated202007creategiftcards
        method: POST
        description: Shopify Creates A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-07-gift_cards-count.json
      path: /admin/api/2020-07/gift_cards/count.json
      operations:
      - name: deprecated202007getgiftcardscount
        method: GET
        description: Shopify Retrieves A Count Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Count gift cards with a given status. Valid values:'
    - name: admin-api-2020-07-gift_cards-search.json
      path: /admin/api/2020-07/gift_cards/search.json
      operations:
      - name: deprecated202007getgiftcardssearch
        method: GET
        description: Shopify Searches For Gift Cards That Match A Supplied Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order
          in: query
          type: string
          description: The field and direction to order results by.
        - name: query
          in: query
          type: string
          description: The text to search for.
        - 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: admin-api-2020-07-gift_cards-gift_card_id}.json
      path: /admin/api/2020-07/gift_cards/{gift_card_id}.json
      operations:
      - name: deprecated202007getgiftcardsparamgiftcardid
        method: GET
        description: Shopify Retrieves A Single Gift Card By Its Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
      - name: deprecated202007updategiftcardsparamgiftcardid
        method: PUT
        description: Shopify Updates An Existing Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-07-gift_cards-gift_card_id-disable.json
      path: /admin/api/2020-07/gift_cards/{gift_card_id}/disable.json
      operations:
      - name: deprecated202007creategiftcardsparamgiftcardiddisable
        method: POST
        description: Shopify Disables A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-10-gift_cards.json
      path: /admin/api/2020-10/gift_cards.json
      operations:
      - name: getgiftcards
        method: GET
        description: Shopify Retrieves A List Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Retrieve gift cards with a given status. Valid values:'
        - name: limit
          in: query
          type: string
          description: The maximum number of results to show.
        - name: since_id
          in: query
          type: string
          description: Restrict results to after the specified ID.
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: creategiftcards
        method: POST
        description: Shopify Creates A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-10-gift_cards-count.json
      path: /admin/api/2020-10/gift_cards/count.json
      operations:
      - name: getgiftcardscount
        method: GET
        description: Shopify Retrieves A Count Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Count gift cards with a given status. Valid values:'
    - name: admin-api-2020-10-gift_cards-search.json
      path: /admin/api/2020-10/gift_cards/search.json
      operations:
      - name: getgiftcardssearch
        method: GET
        description: Shopify Searches For Gift Cards That Match A Supplied Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order
          in: query
          type: string
          description: The field and direction to order results by.
        - name: query
          in: query
          type: string
          description: The text to search for.
        - 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: admin-api-2020-10-gift_cards-gift_card_id}.json
      path: /admin/api/2020-10/gift_cards/{gift_card_id}.json
      operations:
      - name: getgiftcardsparamgiftcardid
        method: GET
        description: Shopify Retrieves A Single Gift Card By Its Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
      - name: updategiftcardsparamgiftcardid
        method: PUT
        description: Shopify Updates An Existing Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2020-10-gift_cards-gift_card_id-disable.json
      path: /admin/api/2020-10/gift_cards/{gift_card_id}/disable.json
      operations:
      - name: creategiftcardsparamgiftcardiddisable
        method: POST
        description: Shopify Disables A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2021-01-gift_cards.json
      path: /admin/api/2021-01/gift_cards.json
      operations:
      - name: deprecated202101getgiftcards
        method: GET
        description: Shopify Retrieves A List Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Retrieve gift cards with a given status. Valid values:'
        - name: limit
          in: query
          type: string
          description: The maximum number of results to show.
        - name: since_id
          in: query
          type: string
          description: Restrict results to after the specified ID.
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: deprecated202101creategiftcards
        method: POST
        description: Shopify Creates A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2021-01-gift_cards-count.json
      path: /admin/api/2021-01/gift_cards/count.json
      operations:
      - name: deprecated202101getgiftcardscount
        method: GET
        description: Shopify Retrieves A Count Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Count gift cards with a given status. Valid values:'
    - name: admin-api-2021-01-gift_cards-search.json
      path: /admin/api/2021-01/gift_cards/search.json
      operations:
      - name: deprecated202101getgiftcardssearch
        method: GET
        description: Shopify Searches For Gift Cards That Match A Supplied Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order
          in: query
          type: string
          description: The field and direction to order results by.
        - name: query
          in: query
          type: string
          description: The text to search for.
        - 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: admin-api-2021-01-gift_cards-gift_card_id}.json
      path: /admin/api/2021-01/gift_cards/{gift_card_id}.json
      operations:
      - name: deprecated202101getgiftcardsparamgiftcardid
        method: GET
        description: Shopify Retrieves A Single Gift Card By Its Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
      - name: deprecated202101updategiftcardsparamgiftcardid
        method: PUT
        description: Shopify Updates An Existing Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-2021-01-gift_cards-gift_card_id-disable.json
      path: /admin/api/2021-01/gift_cards/{gift_card_id}/disable.json
      operations:
      - name: deprecated202101creategiftcardsparamgiftcardiddisable
        method: POST
        description: Shopify Disables A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-unstable-gift_cards.json
      path: /admin/api/unstable/gift_cards.json
      operations:
      - name: deprecatedunstablegetgiftcards
        method: GET
        description: Shopify Retrieves A List Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Retrieve gift cards with a given status. Valid values:'
        - name: limit
          in: query
          type: string
          description: The maximum number of results to show.
        - name: since_id
          in: query
          type: string
          description: Restrict results to after the specified ID.
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: deprecatedunstablecreategiftcards
        method: POST
        description: Shopify Creates A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-unstable-gift_cards-count.json
      path: /admin/api/unstable/gift_cards/count.json
      operations:
      - name: deprecatedunstablegetgiftcardscount
        method: GET
        description: Shopify Retrieves A Count Of Gift Cards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Count gift cards with a given status. Valid values:'
    - name: admin-api-unstable-gift_cards-search.json
      path: /admin/api/unstable/gift_cards/search.json
      operations:
      - name: deprecatedunstablegetgiftcardssearch
        method: GET
        description: Shopify Searches For Gift Cards That Match A Supplied Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order
          in: query
          type: string
          description: The field and direction to order results by.
        - name: query
          in: query
          type: string
          description: The text to search for.
        - 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: admin-api-unstable-gift_cards-gift_card_id}.json
      path: /admin/api/unstable/gift_cards/{gift_card_id}.json
      operations:
      - name: deprecatedunstablegetgiftcardsparamgiftcardid
        method: GET
        description: Shopify Retrieves A Single Gift Card By Its Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
      - name: deprecatedunstableupdategiftcardsparamgiftcardid
        method: PUT
        description: Shopify Updates An Existing Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: admin-api-unstable-gift_cards-gift_card_id-disable.json
      path: /admin/api/unstable/gift_cards/{gift_card_id}/disable.json
      operations:
      - name: deprecatedunstablecreategiftcardsparamgiftcardiddisable
        method: POST
        description: Shopify Disables A Gift Card
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gift_card_id
          in: path
          type: string
          description: gift_card_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: shopify-gift-rest
    port: 8080
    description: REST adapter for Shopify  API — Gift. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/admin/api/2020-01/gift-cards-json
      name: admin-api-2020-01-gift-cards-json
      description: REST surface for admin-api-2020-01-gift_cards.json.
      operations:
      - method: GET
        name: deprecated202001getgiftcards
        description: Shopify Retrieves A List Of Gift Cards
        call: shopify-gift.deprecated202001getgiftcards
        with:
          status: rest.status
          limit: rest.limit
          since_id: rest.since_id
          fields: rest.fields
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: deprecated202001creategiftcards
        description: Shopify Creates A Gift Card
        call: shopify-gift.deprecated202001creategiftcards
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-01/gift-cards/count-json
      name: admin-api-2020-01-gift-cards-count-json
      description: REST surface for admin-api-2020-01-gift_cards-count.json.
      operations:
      - method: GET
        name: deprecated202001getgiftcardscount
        description: Shopify Retrieves A Count Of Gift Cards
        call: shopify-gift.deprecated202001getgiftcardscount
        with:
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-01/gift-cards/search-json
      name: admin-api-2020-01-gift-cards-search-json
      description: REST surface for admin-api-2020-01-gift_cards-search.json.
      operations:
      - method: GET
        name: deprecated202001getgiftcardssearch
        description: Shopify Searches For Gift Cards That Match A Supplied Query
        call: shopify-gift.deprecated202001getgiftcardssearch
        with:
          order: rest.order
          query: rest.query
          limit: rest.limit
          fields: rest.fields
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-01/gift-cards/gift-card-id-json
      name: admin-api-2020-01-gift-cards-gift-card-id-json
      description: REST surface for admin-api-2020-01-gift_cards-gift_card_id}.json.
      operations:
      - method: GET
        name: deprecated202001getgiftcardsparamgiftcardid
        description: Shopify Retrieves A Single Gift Card By Its Id
        call: shopify-gift.deprecated202001getgiftcardsparamgiftcardid
        with:
          gift_card_id: rest.gift_card_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: deprecated202001updategiftcardsparamgiftcardid
        description: Shopify Updates An Existing Gift Card
        call: shopify-gift.deprecated202001updategiftcardsparamgiftcardid
        with:
          gift_card_id: rest.gift_card_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-01/gift-cards/{gift-card-id}/disable-json
      name: admin-api-2020-01-gift-cards-gift-card-id-disable-json
      description: REST surface for admin-api-2020-01-gift_cards-gift_card_id-disable.json.
      operations:
      - method: POST
        name: deprecated202001creategiftcardsparamgiftcardiddisable
        description: Shopify Disables A Gift Card
        call: shopify-gift.deprecated202001creategiftcardsparamgiftcardiddisable
        with:
          gift_card_id: rest.gift_card_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-04/gift-cards-json
      name: admin-api-2020-04-gift-cards-json
      description: REST surface for admin-api-2020-04-gift_cards.json.
      operations:
      - method: GET
        name: deprecated202004getgiftcards
        description: Shopify Retrieves A List Of Gift Cards
        call: shopify-gift.deprecated202004getgiftcards
        with:
          status: rest.statu

# --- truncated at 32 KB (65 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/shopify/refs/heads/main/capabilities/shopify-gift.yaml