Images

Get Image Usage

Changed on

Lists the products, catalog entries, storefront settings, payment methods, reseller tiers, marketplace listings and active theme sections that use an image.

get/v1/shops/{shopId}/images/{imageId}/usage

Request

Response

usage_countinteger
themestring nullable

Example response

{
  "usage_count": 1,
  "products": [
    {
      "id": 1,
      "name": "License Keys",
      "type": "variant",
      "visibility": "public",
      "gallery_position": 1,
      "meta_image": false,
      "variants": []
    }
  ],
  "groups": [],
  "categories": [],
  "blog_posts": [],
  "payment_methods": [],
  "reseller_tiers": [],
  "marketplace_listings": [],
  "shop_settings": [],
  "theme": null
}

Changes