{ "opencollection": "1.0.0", "info": { "name": "Shopify Admin REST About Assets API", "version": "2025-01" }, "request": { "auth": { "type": "apikey", "key": "X-Shopify-Access-Token", "value": "{{X-Shopify-Access-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Assets", "type": "folder" }, "items": [ { "info": { "name": "Shopify Retrieves A Single Asset For A Theme By Its Key", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "fields", "value": "", "type": "query", "description": "Show only certain fields, specified by a comma-separated list of field names" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#show-2020-01" }, { "info": { "name": "Shopify Creates Or Updates An Asset For A Theme", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "src", "value": "", "type": "query", "description": "The source URL of an image. Include in the body of the PUT request to upload the image to Shopify." }, { "name": "source_key", "value": "", "type": "query", "description": "The path within the theme to an existing asset. Include in the body of the PUT request to create a duplicate asset." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#update-2020-01" }, { "info": { "name": "Shopify Deletes An Asset From A Theme", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-01/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#destroy-2020-01" }, { "info": { "name": "Shopify Retrieves A Single Asset For A Theme By Its Key", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "fields", "value": "", "type": "query", "description": "Show only certain fields, specified by a comma-separated list of field names" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#show-2020-04" }, { "info": { "name": "Shopify Creates Or Updates An Asset For A Theme", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "src", "value": "", "type": "query", "description": "The source URL of an image. Include in the body of the PUT request to upload the image to Shopify." }, { "name": "source_key", "value": "", "type": "query", "description": "The path within the theme to an existing asset. Include in the body of the PUT request to create a duplicate asset." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#update-2020-04" }, { "info": { "name": "Shopify Deletes An Asset From A Theme", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-04/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#destroy-2020-04" }, { "info": { "name": "Shopify Retrieves A Single Asset For A Theme By Its Key", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "fields", "value": "", "type": "query", "description": "Show only certain fields, specified by a comma-separated list of field names" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#show-2020-07" }, { "info": { "name": "Shopify Creates Or Updates An Asset For A Theme", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "src", "value": "", "type": "query", "description": "The source URL of an image. Include in the body of the PUT request to upload the image to Shopify." }, { "name": "source_key", "value": "", "type": "query", "description": "The path within the theme to an existing asset. Include in the body of the PUT request to create a duplicate asset." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#update-2020-07" }, { "info": { "name": "Shopify Deletes An Asset From A Theme", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-07/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#destroy-2020-07" }, { "info": { "name": "Shopify Retrieves A Single Asset For A Theme By Its Key", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "fields", "value": "", "type": "query", "description": "Show only certain fields, specified by a comma-separated list of field names" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#show-2020-10" }, { "info": { "name": "Shopify Creates Or Updates An Asset For A Theme", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "src", "value": "", "type": "query", "description": "The source URL of an image. Include in the body of the PUT request to upload the image to Shopify." }, { "name": "source_key", "value": "", "type": "query", "description": "The path within the theme to an existing asset. Include in the body of the PUT request to create a duplicate asset." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#update-2020-10" }, { "info": { "name": "Shopify Deletes An Asset From A Theme", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2020-10/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#destroy-2020-10" }, { "info": { "name": "Shopify Retrieves A Single Asset For A Theme By Its Key", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "fields", "value": "", "type": "query", "description": "Show only certain fields, specified by a comma-separated list of field names" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#show-2021-01" }, { "info": { "name": "Shopify Creates Or Updates An Asset For A Theme", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "src", "value": "", "type": "query", "description": "The source URL of an image. Include in the body of the PUT request to upload the image to Shopify." }, { "name": "source_key", "value": "", "type": "query", "description": "The path within the theme to an existing asset. Include in the body of the PUT request to create a duplicate asset." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#update-2021-01" }, { "info": { "name": "Shopify Deletes An Asset From A Theme", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/2021-01/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#destroy-2021-01" }, { "info": { "name": "Shopify Retrieves A Single Asset For A Theme By Its Key", "type": "http" }, "http": { "method": "GET", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "fields", "value": "", "type": "query", "description": "Show only certain fields, specified by a comma-separated list of field names" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#show-unstable" }, { "info": { "name": "Shopify Creates Or Updates An Asset For A Theme", "type": "http" }, "http": { "method": "PUT", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "src", "value": "", "type": "query", "description": "The source URL of an image. Include in the body of the PUT request to upload the image to Shopify." }, { "name": "source_key", "value": "", "type": "query", "description": "The path within the theme to an existing asset. Include in the body of the PUT request to create a duplicate asset." } ], "body": { "type": "json", "data": "{}" } }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#update-unstable" }, { "info": { "name": "Shopify Deletes An Asset From A Theme", "type": "http" }, "http": { "method": "DELETE", "url": "https://{store}.myshopify.com/admin/api/2025-01/admin/api/unstable/themes/:theme_id/assets.json", "params": [ { "name": "theme_id", "value": "", "type": "path", "description": "theme_id" }, { "name": "asset[key]", "value": "", "type": "query", "description": "asset[key]" } ] }, "docs": "https://shopify.dev/docs/admin-api/rest/reference/online-store/asset#destroy-unstable" } ] } ], "bundled": true }