Skip to content

Photo light

GET/admin/v1/stores/{store_id}/media/{media_id}/light
  • products:read

How light a photo is where, for checking text laid over it.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • media_idstringrequired

    The media's ID, like med_01k8qs5s….

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Returns

200 The photo's colours on a coarse grid.

Errors

  • 404not_foundNo such media.
  • 409Not an uploaded photo.
  • 503unavailableThe image proxy didn't answer.