# theme

## Operations

| Method | Path | Summary | Details |
|--------|------|---------|----------|
| GET | `/admin/api/2020-01/themes.json` | Retrieves a list of themes. | [View](../operations/deprecated-202001-get-themes.md) |
| POST | `/admin/api/2020-01/themes.json` | Creates a theme by providing the public URL of a ZIP file that contains the theme.
          A new theme is always unpublished by default. To publish a theme when you create it, include
          "role": "main" in the POST request. The theme will be published only after all
          of its files have been extracted and stored by Shopify, which might take a couple of minutes. | [View](../operations/deprecated-202001-create-themes.md) |
| GET | `/admin/api/2020-01/themes/{theme_id}.json` | Retrieves a single theme. | [View](../operations/deprecated-202001-get-themes-param-theme-id.md) |
| PUT | `/admin/api/2020-01/themes/{theme_id}.json` | Updates an existing theme. | [View](../operations/deprecated-202001-update-themes-param-theme-id.md) |
| DELETE | `/admin/api/2020-01/themes/{theme_id}.json` | Deletes a theme. | [View](../operations/deprecated-202001-delete-themes-param-theme-id.md) |
| GET | `/admin/api/2020-04/themes.json` | Retrieves a list of themes. | [View](../operations/deprecated-202004-get-themes.md) |
| POST | `/admin/api/2020-04/themes.json` | Creates a theme by providing the public URL of a ZIP file that contains the theme.
          A new theme is always unpublished by default. To publish a theme when you create it, include
          "role": "main" in the POST request. The theme will be published only after all
          of its files have been extracted and stored by Shopify, which might take a couple of minutes. | [View](../operations/deprecated-202004-create-themes.md) |
| GET | `/admin/api/2020-04/themes/{theme_id}.json` | Retrieves a single theme. | [View](../operations/deprecated-202004-get-themes-param-theme-id.md) |
| PUT | `/admin/api/2020-04/themes/{theme_id}.json` | Updates an existing theme. | [View](../operations/deprecated-202004-update-themes-param-theme-id.md) |
| DELETE | `/admin/api/2020-04/themes/{theme_id}.json` | Deletes a theme. | [View](../operations/deprecated-202004-delete-themes-param-theme-id.md) |
| GET | `/admin/api/2020-07/themes.json` | Retrieves a list of themes. | [View](../operations/deprecated-202007-get-themes.md) |
| POST | `/admin/api/2020-07/themes.json` | Creates a theme by providing the public URL of a ZIP file that contains the theme.
          A new theme is always unpublished by default. To publish a theme when you create it, include
          "role": "main" in the POST request. The theme will be published only after all
          of its files have been extracted and stored by Shopify, which might take a couple of minutes. | [View](../operations/deprecated-202007-create-themes.md) |
| GET | `/admin/api/2020-07/themes/{theme_id}.json` | Retrieves a single theme. | [View](../operations/deprecated-202007-get-themes-param-theme-id.md) |
| PUT | `/admin/api/2020-07/themes/{theme_id}.json` | Updates an existing theme. | [View](../operations/deprecated-202007-update-themes-param-theme-id.md) |
| DELETE | `/admin/api/2020-07/themes/{theme_id}.json` | Deletes a theme. | [View](../operations/deprecated-202007-delete-themes-param-theme-id.md) |
| GET | `/admin/api/2020-10/themes.json` | Retrieves a list of themes. | [View](../operations/get-themes.md) |
| POST | `/admin/api/2020-10/themes.json` | Creates a theme by providing the public URL of a ZIP file that contains the theme.
          A new theme is always unpublished by default. To publish a theme when you create it, include
          "role": "main" in the POST request. The theme will be published only after all
          of its files have been extracted and stored by Shopify, which might take a couple of minutes. | [View](../operations/create-themes.md) |
| GET | `/admin/api/2020-10/themes/{theme_id}.json` | Retrieves a single theme. | [View](../operations/get-themes-param-theme-id.md) |
| PUT | `/admin/api/2020-10/themes/{theme_id}.json` | Updates an existing theme. | [View](../operations/update-themes-param-theme-id.md) |
| DELETE | `/admin/api/2020-10/themes/{theme_id}.json` | Deletes a theme. | [View](../operations/delete-themes-param-theme-id.md) |
| GET | `/admin/api/2021-01/themes.json` | Retrieves a list of themes. | [View](../operations/deprecated-202101-get-themes.md) |
| POST | `/admin/api/2021-01/themes.json` | Creates a theme by providing the public URL of a ZIP file that contains the theme.
          A new theme is always unpublished by default. To publish a theme when you create it, include
          "role": "main" in the POST request. The theme will be published only after all
          of its files have been extracted and stored by Shopify, which might take a couple of minutes. | [View](../operations/deprecated-202101-create-themes.md) |
| GET | `/admin/api/2021-01/themes/{theme_id}.json` | Retrieves a single theme. | [View](../operations/deprecated-202101-get-themes-param-theme-id.md) |
| PUT | `/admin/api/2021-01/themes/{theme_id}.json` | Updates an existing theme. | [View](../operations/deprecated-202101-update-themes-param-theme-id.md) |
| DELETE | `/admin/api/2021-01/themes/{theme_id}.json` | Deletes a theme. | [View](../operations/deprecated-202101-delete-themes-param-theme-id.md) |
| GET | `/admin/api/unstable/themes.json` | Retrieves a list of themes. | [View](../operations/deprecated-unstable-get-themes.md) |
| POST | `/admin/api/unstable/themes.json` | Creates a theme by providing the public URL of a ZIP file that contains the theme.
          A new theme is always unpublished by default. To publish a theme when you create it, include
          "role": "main" in the POST request. The theme will be published only after all
          of its files have been extracted and stored by Shopify, which might take a couple of minutes. | [View](../operations/deprecated-unstable-create-themes.md) |
| GET | `/admin/api/unstable/themes/{theme_id}.json` | Retrieves a single theme. | [View](../operations/deprecated-unstable-get-themes-param-theme-id.md) |
| PUT | `/admin/api/unstable/themes/{theme_id}.json` | Updates an existing theme. | [View](../operations/deprecated-unstable-update-themes-param-theme-id.md) |
| DELETE | `/admin/api/unstable/themes/{theme_id}.json` | Deletes a theme. | [View](../operations/deprecated-unstable-delete-themes-param-theme-id.md) |
