Shopify · Capability

Shopify API — Theme

Shopify API — Theme. 42 operations. Lead operation: Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme. Self-contained Naftiko capability covering one Shopify business surface.

Run with Naftiko ShopifyTheme

What You Can Do

POST
Deprecated202001createthemes — Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
/v1/admin/api/2020-01/themes-json
GET
Deprecated202001getthemesparamthemeid — Shopify Retrieves A Single Theme
/v1/admin/api/2020-01/themes/theme-id-json
PUT
Deprecated202001updatethemesparamthemeid — Shopify Updates An Existing Theme
/v1/admin/api/2020-01/themes/theme-id-json
DELETE
Deprecated202001deletethemesparamthemeid — Shopify Deletes A Theme
/v1/admin/api/2020-01/themes/theme-id-json
GET
Deprecated202001getthemesparamthemeidassets — Shopify Retrieves A Single Asset For A Theme By Its Key
/v1/admin/api/2020-01/themes/{theme-id}/assets-json
PUT
Deprecated202001updatethemesparamthemeidassets — Shopify Creates Or Updates An Asset For A Theme
/v1/admin/api/2020-01/themes/{theme-id}/assets-json
DELETE
Deprecated202001deletethemesparamthemeidassets — Shopify Deletes An Asset From A Theme
/v1/admin/api/2020-01/themes/{theme-id}/assets-json
POST
Deprecated202004createthemes — Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
/v1/admin/api/2020-04/themes-json
GET
Deprecated202004getthemesparamthemeid — Shopify Retrieves A Single Theme
/v1/admin/api/2020-04/themes/theme-id-json
PUT
Deprecated202004updatethemesparamthemeid — Shopify Updates An Existing Theme
/v1/admin/api/2020-04/themes/theme-id-json
DELETE
Deprecated202004deletethemesparamthemeid — Shopify Deletes A Theme
/v1/admin/api/2020-04/themes/theme-id-json
GET
Deprecated202004getthemesparamthemeidassets — Shopify Retrieves A Single Asset For A Theme By Its Key
/v1/admin/api/2020-04/themes/{theme-id}/assets-json
PUT
Deprecated202004updatethemesparamthemeidassets — Shopify Creates Or Updates An Asset For A Theme
/v1/admin/api/2020-04/themes/{theme-id}/assets-json
DELETE
Deprecated202004deletethemesparamthemeidassets — Shopify Deletes An Asset From A Theme
/v1/admin/api/2020-04/themes/{theme-id}/assets-json
POST
Deprecated202007createthemes — Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
/v1/admin/api/2020-07/themes-json
GET
Deprecated202007getthemesparamthemeid — Shopify Retrieves A Single Theme
/v1/admin/api/2020-07/themes/theme-id-json
PUT
Deprecated202007updatethemesparamthemeid — Shopify Updates An Existing Theme
/v1/admin/api/2020-07/themes/theme-id-json
DELETE
Deprecated202007deletethemesparamthemeid — Shopify Deletes A Theme
/v1/admin/api/2020-07/themes/theme-id-json
GET
Deprecated202007getthemesparamthemeidassets — Shopify Retrieves A Single Asset For A Theme By Its Key
/v1/admin/api/2020-07/themes/{theme-id}/assets-json
PUT
Deprecated202007updatethemesparamthemeidassets — Shopify Creates Or Updates An Asset For A Theme
/v1/admin/api/2020-07/themes/{theme-id}/assets-json
DELETE
Deprecated202007deletethemesparamthemeidassets — Shopify Deletes An Asset From A Theme
/v1/admin/api/2020-07/themes/{theme-id}/assets-json
POST
Createthemes — Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
/v1/admin/api/2020-10/themes-json
GET
Getthemesparamthemeid — Shopify Retrieves A Single Theme
/v1/admin/api/2020-10/themes/theme-id-json
PUT
Updatethemesparamthemeid — Shopify Updates An Existing Theme
/v1/admin/api/2020-10/themes/theme-id-json
DELETE
Deletethemesparamthemeid — Shopify Deletes A Theme
/v1/admin/api/2020-10/themes/theme-id-json
GET
Getthemesparamthemeidassets — Shopify Retrieves A Single Asset For A Theme By Its Key
/v1/admin/api/2020-10/themes/{theme-id}/assets-json
PUT
Updatethemesparamthemeidassets — Shopify Creates Or Updates An Asset For A Theme
/v1/admin/api/2020-10/themes/{theme-id}/assets-json
DELETE
Deletethemesparamthemeidassets — Shopify Deletes An Asset From A Theme
/v1/admin/api/2020-10/themes/{theme-id}/assets-json
POST
Deprecated202101createthemes — Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
/v1/admin/api/2021-01/themes-json
GET
Deprecated202101getthemesparamthemeid — Shopify Retrieves A Single Theme
/v1/admin/api/2021-01/themes/theme-id-json
PUT
Deprecated202101updatethemesparamthemeid — Shopify Updates An Existing Theme
/v1/admin/api/2021-01/themes/theme-id-json
DELETE
Deprecated202101deletethemesparamthemeid — Shopify Deletes A Theme
/v1/admin/api/2021-01/themes/theme-id-json
GET
Deprecated202101getthemesparamthemeidassets — Shopify Retrieves A Single Asset For A Theme By Its Key
/v1/admin/api/2021-01/themes/{theme-id}/assets-json
PUT
Deprecated202101updatethemesparamthemeidassets — Shopify Creates Or Updates An Asset For A Theme
/v1/admin/api/2021-01/themes/{theme-id}/assets-json
DELETE
Deprecated202101deletethemesparamthemeidassets — Shopify Deletes An Asset From A Theme
/v1/admin/api/2021-01/themes/{theme-id}/assets-json
POST
Deprecatedunstablecreatethemes — Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
/v1/admin/api/unstable/themes-json
GET
Deprecatedunstablegetthemesparamthemeid — Shopify Retrieves A Single Theme
/v1/admin/api/unstable/themes/theme-id-json
PUT
Deprecatedunstableupdatethemesparamthemeid — Shopify Updates An Existing Theme
/v1/admin/api/unstable/themes/theme-id-json
DELETE
Deprecatedunstabledeletethemesparamthemeid — Shopify Deletes A Theme
/v1/admin/api/unstable/themes/theme-id-json
GET
Deprecatedunstablegetthemesparamthemeidassets — Shopify Retrieves A Single Asset For A Theme By Its Key
/v1/admin/api/unstable/themes/{theme-id}/assets-json
PUT
Deprecatedunstableupdatethemesparamthemeidassets — Shopify Creates Or Updates An Asset For A Theme
/v1/admin/api/unstable/themes/{theme-id}/assets-json
DELETE
Deprecatedunstabledeletethemesparamthemeidassets — Shopify Deletes An Asset From A Theme
/v1/admin/api/unstable/themes/{theme-id}/assets-json

MCP Tools

shopify-creates-theme-providing-public

Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme

shopify-retrieves-single-theme

Shopify Retrieves A Single Theme

read-only idempotent
shopify-updates-existing-theme

Shopify Updates An Existing Theme

idempotent
shopify-deletes-theme

Shopify Deletes A Theme

idempotent
shopify-retrieves-single-asset-theme

Shopify Retrieves A Single Asset For A Theme By Its Key

read-only idempotent
shopify-creates-updates-asset-theme

Shopify Creates Or Updates An Asset For A Theme

idempotent
shopify-deletes-asset-theme

Shopify Deletes An Asset From A Theme

idempotent
shopify-creates-theme-providing-public-2

Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme

shopify-retrieves-single-theme-2

Shopify Retrieves A Single Theme

read-only idempotent
shopify-updates-existing-theme-2

Shopify Updates An Existing Theme

idempotent
shopify-deletes-theme-2

Shopify Deletes A Theme

idempotent
shopify-retrieves-single-asset-theme-2

Shopify Retrieves A Single Asset For A Theme By Its Key

read-only idempotent
shopify-creates-updates-asset-theme-2

Shopify Creates Or Updates An Asset For A Theme

idempotent
shopify-deletes-asset-theme-2

Shopify Deletes An Asset From A Theme

idempotent
shopify-creates-theme-providing-public-3

Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme

shopify-retrieves-single-theme-3

Shopify Retrieves A Single Theme

read-only idempotent
shopify-updates-existing-theme-3

Shopify Updates An Existing Theme

idempotent
shopify-deletes-theme-3

Shopify Deletes A Theme

idempotent
shopify-retrieves-single-asset-theme-3

Shopify Retrieves A Single Asset For A Theme By Its Key

read-only idempotent
shopify-creates-updates-asset-theme-3

Shopify Creates Or Updates An Asset For A Theme

idempotent
shopify-deletes-asset-theme-3

Shopify Deletes An Asset From A Theme

idempotent
shopify-creates-theme-providing-public-4

Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme

shopify-retrieves-single-theme-4

Shopify Retrieves A Single Theme

read-only idempotent
shopify-updates-existing-theme-4

Shopify Updates An Existing Theme

idempotent
shopify-deletes-theme-4

Shopify Deletes A Theme

idempotent
shopify-retrieves-single-asset-theme-4

Shopify Retrieves A Single Asset For A Theme By Its Key

read-only idempotent
shopify-creates-updates-asset-theme-4

Shopify Creates Or Updates An Asset For A Theme

idempotent
shopify-deletes-asset-theme-4

Shopify Deletes An Asset From A Theme

idempotent
shopify-creates-theme-providing-public-5

Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme

shopify-retrieves-single-theme-5

Shopify Retrieves A Single Theme

read-only idempotent
shopify-updates-existing-theme-5

Shopify Updates An Existing Theme

idempotent
shopify-deletes-theme-5

Shopify Deletes A Theme

idempotent
shopify-retrieves-single-asset-theme-5

Shopify Retrieves A Single Asset For A Theme By Its Key

read-only idempotent
shopify-creates-updates-asset-theme-5

Shopify Creates Or Updates An Asset For A Theme

idempotent
shopify-deletes-asset-theme-5

Shopify Deletes An Asset From A Theme

idempotent
shopify-creates-theme-providing-public-6

Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme

shopify-retrieves-single-theme-6

Shopify Retrieves A Single Theme

read-only idempotent
shopify-updates-existing-theme-6

Shopify Updates An Existing Theme

idempotent
shopify-deletes-theme-6

Shopify Deletes A Theme

idempotent
shopify-retrieves-single-asset-theme-6

Shopify Retrieves A Single Asset For A Theme By Its Key

read-only idempotent
shopify-creates-updates-asset-theme-6

Shopify Creates Or Updates An Asset For A Theme

idempotent
shopify-deletes-asset-theme-6

Shopify Deletes An Asset From A Theme

idempotent

Capability Spec

shopify-theme.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Shopify  API — Theme
  description: 'Shopify  API — Theme. 42 operations. Lead operation: Shopify Creates A Theme By Providing The Public Url Of
    A Zip File That Contains The Theme. Self-contained Naftiko capability covering one Shopify business surface.'
  tags:
  - Shopify
  - Theme
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SHOPIFY_API_KEY: SHOPIFY_API_KEY
capability:
  consumes:
  - type: http
    namespace: shopify-theme
    baseUri: ''
    description: Shopify  API — Theme business capability. Self-contained, no shared references.
    resources:
    - name: admin-api-2020-01-themes.json
      path: /admin/api/2020-01/themes.json
      operations:
      - name: deprecated202001createthemes
        method: POST
        description: Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
        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-themes-theme_id}.json
      path: /admin/api/2020-01/themes/{theme_id}.json
      operations:
      - name: deprecated202001getthemesparamthemeid
        method: GET
        description: Shopify Retrieves A Single Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: deprecated202001updatethemesparamthemeid
        method: PUT
        description: Shopify Updates An Existing Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deprecated202001deletethemesparamthemeid
        method: DELETE
        description: Shopify Deletes A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
    - name: admin-api-2020-01-themes-theme_id-assets.json
      path: /admin/api/2020-01/themes/{theme_id}/assets.json
      operations:
      - name: deprecated202001getthemesparamthemeidassets
        method: GET
        description: Shopify Retrieves A Single Asset For A Theme By Its Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
      - name: deprecated202001updatethemesparamthemeidassets
        method: PUT
        description: Shopify Creates Or Updates An Asset For A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: src
          in: query
          type: string
          description: The source URL of an image. Include in the body of the PUT request to upload the image to Shopify.
        - name: source_key
          in: query
          type: string
          description: The path within the theme to an existing asset. Include in the body of the PUT request to create a
            duplicate asset.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deprecated202001deletethemesparamthemeidassets
        method: DELETE
        description: Shopify Deletes An Asset From A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
    - name: admin-api-2020-04-themes.json
      path: /admin/api/2020-04/themes.json
      operations:
      - name: deprecated202004createthemes
        method: POST
        description: Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
        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-themes-theme_id}.json
      path: /admin/api/2020-04/themes/{theme_id}.json
      operations:
      - name: deprecated202004getthemesparamthemeid
        method: GET
        description: Shopify Retrieves A Single Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: deprecated202004updatethemesparamthemeid
        method: PUT
        description: Shopify Updates An Existing Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deprecated202004deletethemesparamthemeid
        method: DELETE
        description: Shopify Deletes A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
    - name: admin-api-2020-04-themes-theme_id-assets.json
      path: /admin/api/2020-04/themes/{theme_id}/assets.json
      operations:
      - name: deprecated202004getthemesparamthemeidassets
        method: GET
        description: Shopify Retrieves A Single Asset For A Theme By Its Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
      - name: deprecated202004updatethemesparamthemeidassets
        method: PUT
        description: Shopify Creates Or Updates An Asset For A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: src
          in: query
          type: string
          description: The source URL of an image. Include in the body of the PUT request to upload the image to Shopify.
        - name: source_key
          in: query
          type: string
          description: The path within the theme to an existing asset. Include in the body of the PUT request to create a
            duplicate asset.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deprecated202004deletethemesparamthemeidassets
        method: DELETE
        description: Shopify Deletes An Asset From A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
    - name: admin-api-2020-07-themes.json
      path: /admin/api/2020-07/themes.json
      operations:
      - name: deprecated202007createthemes
        method: POST
        description: Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
        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-themes-theme_id}.json
      path: /admin/api/2020-07/themes/{theme_id}.json
      operations:
      - name: deprecated202007getthemesparamthemeid
        method: GET
        description: Shopify Retrieves A Single Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: deprecated202007updatethemesparamthemeid
        method: PUT
        description: Shopify Updates An Existing Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deprecated202007deletethemesparamthemeid
        method: DELETE
        description: Shopify Deletes A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
    - name: admin-api-2020-07-themes-theme_id-assets.json
      path: /admin/api/2020-07/themes/{theme_id}/assets.json
      operations:
      - name: deprecated202007getthemesparamthemeidassets
        method: GET
        description: Shopify Retrieves A Single Asset For A Theme By Its Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
      - name: deprecated202007updatethemesparamthemeidassets
        method: PUT
        description: Shopify Creates Or Updates An Asset For A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: src
          in: query
          type: string
          description: The source URL of an image. Include in the body of the PUT request to upload the image to Shopify.
        - name: source_key
          in: query
          type: string
          description: The path within the theme to an existing asset. Include in the body of the PUT request to create a
            duplicate asset.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deprecated202007deletethemesparamthemeidassets
        method: DELETE
        description: Shopify Deletes An Asset From A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
    - name: admin-api-2020-10-themes.json
      path: /admin/api/2020-10/themes.json
      operations:
      - name: createthemes
        method: POST
        description: Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
        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-themes-theme_id}.json
      path: /admin/api/2020-10/themes/{theme_id}.json
      operations:
      - name: getthemesparamthemeid
        method: GET
        description: Shopify Retrieves A Single Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: updatethemesparamthemeid
        method: PUT
        description: Shopify Updates An Existing Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletethemesparamthemeid
        method: DELETE
        description: Shopify Deletes A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
    - name: admin-api-2020-10-themes-theme_id-assets.json
      path: /admin/api/2020-10/themes/{theme_id}/assets.json
      operations:
      - name: getthemesparamthemeidassets
        method: GET
        description: Shopify Retrieves A Single Asset For A Theme By Its Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
      - name: updatethemesparamthemeidassets
        method: PUT
        description: Shopify Creates Or Updates An Asset For A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: src
          in: query
          type: string
          description: The source URL of an image. Include in the body of the PUT request to upload the image to Shopify.
        - name: source_key
          in: query
          type: string
          description: The path within the theme to an existing asset. Include in the body of the PUT request to create a
            duplicate asset.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletethemesparamthemeidassets
        method: DELETE
        description: Shopify Deletes An Asset From A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
    - name: admin-api-2021-01-themes.json
      path: /admin/api/2021-01/themes.json
      operations:
      - name: deprecated202101createthemes
        method: POST
        description: Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
        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-themes-theme_id}.json
      path: /admin/api/2021-01/themes/{theme_id}.json
      operations:
      - name: deprecated202101getthemesparamthemeid
        method: GET
        description: Shopify Retrieves A Single Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: deprecated202101updatethemesparamthemeid
        method: PUT
        description: Shopify Updates An Existing Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deprecated202101deletethemesparamthemeid
        method: DELETE
        description: Shopify Deletes A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
    - name: admin-api-2021-01-themes-theme_id-assets.json
      path: /admin/api/2021-01/themes/{theme_id}/assets.json
      operations:
      - name: deprecated202101getthemesparamthemeidassets
        method: GET
        description: Shopify Retrieves A Single Asset For A Theme By Its Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
      - name: deprecated202101updatethemesparamthemeidassets
        method: PUT
        description: Shopify Creates Or Updates An Asset For A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: src
          in: query
          type: string
          description: The source URL of an image. Include in the body of the PUT request to upload the image to Shopify.
        - name: source_key
          in: query
          type: string
          description: The path within the theme to an existing asset. Include in the body of the PUT request to create a
            duplicate asset.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deprecated202101deletethemesparamthemeidassets
        method: DELETE
        description: Shopify Deletes An Asset From A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
    - name: admin-api-unstable-themes.json
      path: /admin/api/unstable/themes.json
      operations:
      - name: deprecatedunstablecreatethemes
        method: POST
        description: Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
        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-themes-theme_id}.json
      path: /admin/api/unstable/themes/{theme_id}.json
      operations:
      - name: deprecatedunstablegetthemesparamthemeid
        method: GET
        description: Shopify Retrieves A Single Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names.
      - name: deprecatedunstableupdatethemesparamthemeid
        method: PUT
        description: Shopify Updates An Existing Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deprecatedunstabledeletethemesparamthemeid
        method: DELETE
        description: Shopify Deletes A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
    - name: admin-api-unstable-themes-theme_id-assets.json
      path: /admin/api/unstable/themes/{theme_id}/assets.json
      operations:
      - name: deprecatedunstablegetthemesparamthemeidassets
        method: GET
        description: Shopify Retrieves A Single Asset For A Theme By Its Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: fields
          in: query
          type: string
          description: Show only certain fields, specified by a comma-separated list of field names
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
      - name: deprecatedunstableupdatethemesparamthemeidassets
        method: PUT
        description: Shopify Creates Or Updates An Asset For A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: src
          in: query
          type: string
          description: The source URL of an image. Include in the body of the PUT request to upload the image to Shopify.
        - name: source_key
          in: query
          type: string
          description: The path within the theme to an existing asset. Include in the body of the PUT request to create a
            duplicate asset.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deprecatedunstabledeletethemesparamthemeidassets
        method: DELETE
        description: Shopify Deletes An Asset From A Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: theme_id
          in: path
          type: string
          description: theme_id
          required: true
        - name: asset[key]
          in: query
          type: string
          description: asset[key]
  exposes:
  - type: rest
    namespace: shopify-theme-rest
    port: 8080
    description: REST adapter for Shopify  API — Theme. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/admin/api/2020-01/themes-json
      name: admin-api-2020-01-themes-json
      description: REST surface for admin-api-2020-01-themes.json.
      operations:
      - method: POST
        name: deprecated202001createthemes
        description: Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
        call: shopify-theme.deprecated202001createthemes
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-01/themes/theme-id-json
      name: admin-api-2020-01-themes-theme-id-json
      description: REST surface for admin-api-2020-01-themes-theme_id}.json.
      operations:
      - method: GET
        name: deprecated202001getthemesparamthemeid
        description: Shopify Retrieves A Single Theme
        call: shopify-theme.deprecated202001getthemesparamthemeid
        with:
          theme_id: rest.theme_id
          fields: rest.fields
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: deprecated202001updatethemesparamthemeid
        description: Shopify Updates An Existing Theme
        call: shopify-theme.deprecated202001updatethemesparamthemeid
        with:
          theme_id: rest.theme_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deprecated202001deletethemesparamthemeid
        description: Shopify Deletes A Theme
        call: shopify-theme.deprecated202001deletethemesparamthemeid
        with:
          theme_id: rest.theme_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-01/themes/{theme-id}/assets-json
      name: admin-api-2020-01-themes-theme-id-assets-json
      description: REST surface for admin-api-2020-01-themes-theme_id-assets.json.
      operations:
      - method: GET
        name: deprecated202001getthemesparamthemeidassets
        description: Shopify Retrieves A Single Asset For A Theme By Its Key
        call: shopify-theme.deprecated202001getthemesparamthemeidassets
        with:
          theme_id: rest.theme_id
          fields: rest.fields
          asset[key]: rest.asset[key]
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: deprecated202001updatethemesparamthemeidassets
        description: Shopify Creates Or Updates An Asset For A Theme
        call: shopify-theme.deprecated202001updatethemesparamthemeidassets
        with:
          theme_id: rest.theme_id
          src: rest.src
          source_key: rest.source_key
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deprecated202001deletethemesparamthemeidassets
        description: Shopify Deletes An Asset From A Theme
        call: shopify-theme.deprecated202001deletethemesparamthemeidassets
        with:
          theme_id: rest.theme_id
          asset[key]: rest.asset[key]
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-04/themes-json
      name: admin-api-2020-04-themes-json
      description: REST surface for admin-api-2020-04-themes.json.
      operations:
      - method: POST
        name: deprecated202004createthemes
        description: Shopify Creates A Theme By Providing The Public Url Of A Zip File That Contains The Theme
        call: shopify-theme.deprecated202004createthemes
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-04/themes/theme-id-json
      name: admin-api-2020-04-themes-theme-id-json
      description: REST surface for admin-api-2020-04-themes-theme_id}.json.
      operations:
      - method: GET
        name: deprecated202004getthemesparamthemeid
        description: Shopify Retrieves A Single Theme
        call: shopify-theme.deprecated202004getthemesparamthemeid
        with:
          theme_id: rest.theme_id
          fields: rest.fields
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: deprecated202004updatethemesparamthemeid
        description: Shopify Updates An Existing Theme
        call: shopify-theme.deprecated202004updatethemesparamthemeid
        with:
          theme_id: rest.theme_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deprecated202004deletethemesparamthemeid
        description: Shopify Deletes A Theme
        call: shopify-theme.deprecated202004deletethemesparamthemeid
        with:
          theme_id: rest.theme_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/api/2020-04/themes/{theme-id}/assets-json
      name: admin-api-2020-04-themes-theme-id-assets-json
      description: REST surface for admin-api-2020-04-themes-theme_id-assets.json.


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