List store images
Endpoint: https://api.youcan.shop/store-images
Method: GET
Returns the images in the store image library. The library holds every image the seller or an app uploads. Deleted images do not show.
Required Scopes
upload-media
Response
[200] OK
json
[
{
"id": "hero-FDuX1LREaDDD96UcPeGhL6ndVBd.jpg",
"key": "hero-FDuX1LREaDDD96UcPeGhL6ndVBd.jpg",
"alt": null,
"src": "https://assets.youcan.shop/stores/5134310c6ac80c36d49d53b1dcb88b443d496d8c/hero-FDuX1LREaDDD96UcPeGhL6ndVBd.jpg",
"width": 1200,
"height": 800,
"mime_type": "image/jpeg",
"aspect_ratio": 1.5,
"bytes": 35688
}
]src is an absolute URL. Use it as is in product, category and variant image fields, in page content and in theme settings.
Add ?width= to src to get a resized copy, for example ?width=453.