Product Image

Products are easier to sell if customers can see pictures of them, which is why there are product images.

Product image

Any product may have up to 250 images, and images can be in .png, .gif or .jpg format.

What you can do with Product Image

The Shopify API lets you do the following with the Product Image resource. More detailed versions of these general actions may be available:

Product Image properties

created_at
"created_at": "2012-03-13T16:09:58-04:00"

The date and time when the product image was created. The API returns this value in ISO 8601 format.

id
"id": 850703190

A unique numeric identifier for the product image.

position
"position": 1

The order of the product image in the list. The first product image is at position 1 and is the "main" image for the product.

product_id
"product_id": 632910392

The id of the product associated with the image.

variant_ids
"variant_ids": [
  808950810
]

An array of variant ids associated with the image.

src
"src": "http://static.shopify.com/products/ipod-nano.png"

Specifies the location of the product image. This parameter supports URL filters that you can use to retrieve modified copies of the image. For example, add _small, to the filename to retrieve a scaled copy of the image at 100 x 100 px (for example, ipod-nano_small.png), or add _2048x2048 to retrieve a copy of the image constrained at 2048 x 2048 px resolution (for example, ipod-nano_2048x2048.png).

width
"width": 640

Width dimension of the image which is determined on upload.

height
"height": 480

Height dimension of the image which is determined on upload.

updated_at
"updated_at": "2012-03-13T16:09:58-04:00"

The date and time when the product image was last modified. The API returns this value in ISO 8601 format.

Endpoints

GET /admin/products/632910392/images.json
Get all product images
since_id

Restrict results to after the specified ID

fields

comma-separated list of fields to include in the response

Get all product images for a product

GET /admin/products/#{id}/images.json
View Response
HTTP/1.1 200 OK
{
  "images": [
    {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-01-08T12:34:47-05:00",
      "updated_at": "2018-01-08T12:34:47-05:00",
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1515432887",
      "variant_ids": [
        {}
      ],
      "id": 562641783,
      "product_id": 632910392,
      "position": 2,
      "created_at": "2018-01-08T12:34:47-05:00",
      "updated_at": "2018-01-08T12:34:47-05:00",
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1515432887",
      "variant_ids": [
        808950810
      ]
    }
  ]
}

Get all product images for a product after a specified ID

GET /admin/products/#{id}/images.json?since_id=850703190
View Response
HTTP/1.1 200 OK
{
  "images": [
    {
      "id": 1001473895,
      "product_id": 632910392,
      "position": 3,
      "created_at": "2018-01-08T12:35:13-05:00",
      "updated_at": "2018-01-08T12:35:13-05:00",
      "width": 110,
      "height": 140,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/rails_logo.gif?v=1515432913",
      "variant_ids": [
        {}
      ]
    }
  ]
}
GET /admin/products/632910392/images/count.json
Get a count of all product images
created_at_min

Count articles created after date (format: 2014-04-25T16:15:47-04:00)

created_at_max

Count articles created before date (format: 2014-04-25T16:15:47-04:00)

updated_at_min

Count articles last updated after date (format: 2014-04-25T16:15:47-04:00)

updated_at_max

Count articles last updated before date (format: 2014-04-25T16:15:47-04:00)

published_at_min

Count articles published after date (format: 2014-04-25T16:15:47-04:00)

published_at_max

Count articles published before date (format: 2014-04-25T16:15:47-04:00)

since_id

Restrict results to after the specified ID

Get a count all product images

GET /admin/products/#{id}/images/count.json
View Response
HTTP/1.1 200 OK
{
  "count": 2
}

Get a count of all product images after a specified ID

GET /admin/products/#{id}/images/count.json?since_id=850703190
View Response
HTTP/1.1 200 OK
{
  "count": 0
}
GET /admin/products/632910392/images/850703190.json
Get a single product image by id
fields

comma-separated list of fields to include in the response

Show product image

GET /admin/products/#{id}/images/#{id}.json
View Response
HTTP/1.1 200 OK
{
  "image": {
    "id": 850703190,
    "product_id": 632910392,
    "position": 1,
    "created_at": "2018-01-08T12:34:47-05:00",
    "updated_at": "2018-01-08T12:34:47-05:00",
    "width": 123,
    "height": 456,
    "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1515432887",
    "variant_ids": [
    ]
  }
}
POST /admin/products/632910392/images.json
Create a new product image

Create a new product image with included image data as attachment

POST /admin/products/#{id}/images.json
{
  "image": {
    "attachment": "R0lGODlhbgCMAPf/APbr48VySrxTO7IgKt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C
FsVl/9GnP0Jg0kw24MUv/qUTOGDlCj8WETfGsVx2vI+UzsATIFZUaTIRk3QY
+ZYlFq0Ce5QJHBXgdU+MRCSwEYlVBCHPQZhyn7vhhD9fWdAc2DKhKXxhRCc6
0Yi4LOPcl6hGVUFqc4gJLGaxufKO1s2VkrOj63znOkciCKMedZ+n7ARUp1rQ
iLAyIlyNYURcONaInrWs9ci4JyJOaFYawDzP8Q+ZwAICLckbgd08i290eh9V
CIadQw3qO5Oa1H1GNRlSjeorO2HLruZ2rLudAm+Dm9Gxcx/GXmSIMbnjH5W2
zy2RbOzM+cENBRAWs0N9b3zXWdp8pra1r61tbXdb4N/2Nv8i5gzeIJd5Gjui
wT+AzQ9YVGrYnNO0Agm27GBkvNnNzje+921qf/+b1QEfuMDFPe5lk/lspUG3
WKbQCofLBBBuwNEs3C3aikcrB2TTeM81HgmOd3zf/PZ3yFPNaqSXfODF0EDK
E9e6liZmCvJwOLD7AQhU2efSbG6zm7VgiG1ofBc+//nGgZ7vbYw67aVux4v/
fXSSK53by/HVrzIwDZTBBANUrzpMeAAIWASeB4P/AQ9+cHjEJx7xWgDE5nLQ
eMdHXvKbg/zkMZ23H/1oFRjYPOc9v3nQ58Aw0xn9LACvO7HQAOZVf/jl0ii1
HcXe9bPX3euftaPL5R71tIf97nsy7/o0WlP2r4/JOU7B+r5nqva7jz1EdZ97
4qNe+bonfvCfVXvly1762beOOdLBd+Q7PCAAOw==
",
    "filename": "rails_logo.gif"
  }
}
View Response
HTTP/1.1 200 OK
{
  "image": {
    "id": 1001473896,
    "product_id": 632910392,
    "position": 3,
    "created_at": "2018-01-08T12:35:16-05:00",
    "updated_at": "2018-01-08T12:35:16-05:00",
    "width": 110,
    "height": 140,
    "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/rails_logo.gif?v=1515432916",
    "variant_ids": [
    ]
  }
}

Create a new product image using a source URL that will be downloaded by Shopify

POST /admin/products/#{id}/images.json
{
  "image": {
    "src": "http://example.com/rails_logo.gif"
  }
}
View Response
HTTP/1.1 200 OK
{
  "image": {
    "id": 1001473897,
    "product_id": 632910392,
    "position": 3,
    "created_at": "2018-01-08T12:35:17-05:00",
    "updated_at": "2018-01-08T12:35:17-05:00",
    "width": 110,
    "height": 140,
    "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/rails_logo.gif20180108-3516-1fn9m7v.gif?v=1515432917",
    "variant_ids": [
    ]
  }
}

Create a new product image and make it the main image

POST /admin/products/#{id}/images.json
{
  "image": {
    "position": 1,
    "attachment": "R0lGODlhbgCMAPf/APbr48VySrxTO7IgKt2qmKQdJeK8lsFjROG5p/nz7Zg3
MNmnd7Q1MLNVS9GId71hSJMZIuzTu4UtKbeEeakhKMl8U8WYjfr18YQaIbAf
KKwhKdKzqpQtLebFortOOejKrOjZ1Mt7aMNpVbAqLLV7bsNqR+3WwMqEWenN
sZYxL/Ddy/Pm2e7ZxLlUQrIjNPXp3bU5MbhENbEtLtqhj5ZQTfHh0bMxL7Ip
NsNyUYkZIrZJPcqGdYIUHb5aPKkeJnoUHd2yiJkiLKYiKLRFOsyJXKVDO8up
osFaS+TBnK4kKti5sNaYg/z49aqYl5kqLrljUtORfMOlo/36+H4ZH8yDYq0f
KKFYTaU9MrY8MrZBNXwXHpgaIdGVYu/byLZNP9SaZLIyOuXCtHkpJst+Wpcm
LMyCa8BfP9GMb9KQdPDd1PPk1sd5VP79/L5dQZ0bI9+ymqssK9WcfIoXHdzG
xdWWfteib79lSr1YP86MYurQxKdcUKdMQr5ZSfPs6YEZH8uhl4oWIenMuurQ
ttmejaqoqsqBVaAcJLlJN5kvMLlZRMNsSL5fRak0LbdQQMVvSPjw6cJnRpkf
Ktmjhvfu5cJtT7IuOMVvWLY/M/37+o0YH9ibhtSYdObErc6HarM9NnYSGNGR
avLi09unje3WyeO8rsVrT7tdRtK3uffu6NWeaL9pTJIjJrM4NPbx8cdyX7M7
PYYVHu7j4KgoNJAYIKtkV5o9MsOcldicis+RYNutfrhFOZ0hJbq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762beOOdLBd+Q7PCAAOw==
",
    "filename": "rails_logo.gif"
  }
}
View Response
HTTP/1.1 200 OK
{
  "image": {
    "id": 1001473898,
    "product_id": 632910392,
    "position": 1,
    "created_at": "2018-01-08T12:35:17-05:00",
    "updated_at": "2018-01-08T12:35:17-05:00",
    "width": 110,
    "height": 140,
    "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/rails_logo.gif?v=1515432917",
    "variant_ids": [
    ]
  }
}

Create a new product image and attach it to product variants

POST /admin/products/#{id}/images.json
{
  "image": {
    "variant_ids": [
      808950810,
      457924702
    ],
    "attachment": "R0lGODlhbgCMAPf/APbr48VySrxTO7IgKt2qmKQdJeK8lsFjROG5p/nz7Zg3
MNmnd7Q1MLNVS9GId71hSJMZIuzTu4UtKbeEeakhKMl8U8WYjfr18YQaIbAf
KKwhKdKzqpQtLebFortOOejKrOjZ1Mt7aMNpVbAqLLV7bsNqR+3WwMqEWenN
sZYxL/Ddy/Pm2e7ZxLlUQrIjNPXp3bU5MbhENbEtLtqhj5ZQTfHh0bMxL7Ip
NsNyUYkZIrZJPcqGdYIUHb5aPKkeJnoUHd2yiJkiLKYiKLRFOsyJXKVDO8up
osFaS+TBnK4kKti5sNaYg/z49aqYl5kqLrljUtORfMOlo/36+H4ZH8yDYq0f
KKFYTaU9MrY8MrZBNXwXHpgaIdGVYu/byLZNP9SaZLIyOuXCtHkpJst+Wpcm
LMyCa8BfP9GMb9KQdPDd1PPk1sd5VP79/L5dQZ0bI9+ymqssK9WcfIoXHdzG
xdWWfteib79lSr1YP86MYurQxKdcUKdMQr5ZSfPs6YEZH8uhl4oWIenMuurQ
ttmejaqoqsqBVaAcJLlJN5kvMLlZRMNsSL5fRak0LbdQQMVvSPjw6cJnRpkf
Ktmjhvfu5cJtT7IuOMVvWLY/M/37+o0YH9ibhtSYdObErc6HarM9NnYSGNGR
avLi09unje3WyeO8rsVrT7tdRtK3uffu6NWeaL9pTJIjJrM4NPbx8cdyX7M7
PYYVHu7j4Kgo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OU7B+r5nqva7jz1EdZ97
4qNe+bonfvCfVXvly1762beOOdLBd+Q7PCAAOw==
",
    "filename": "rails_logo.gif"
  }
}
View Response
HTTP/1.1 200 OK
{
  "image": {
    "id": 1001473899,
    "product_id": 632910392,
    "position": 3,
    "created_at": "2018-01-08T12:35:18-05:00",
    "updated_at": "2018-01-08T12:35:18-05:00",
    "width": 110,
    "height": 140,
    "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/rails_logo.gif?v=1515432918",
    "variant_ids": [
    ]
  }
}

Create a new product image with a metafield

POST /admin/products/#{id}/images.json
{
  "image": {
    "position": 1,
    "metafields": [
      {
        "key": "new",
        "value": "newvalue",
        "value_type": "string",
        "namespace": "global"
      }
    ],
    "attachment": "R0lGODlhbgCMAPf/APbr48VySrxTO7IgKt2qmKQdJeK8lsFjROG5p/nz7Zg3
MNmnd7Q1MLNVS9GId71hSJMZIuzTu4UtKbeEeakhKMl8U8WYjfr18YQaIbAf
KKwhKdKzqpQtLebFortOOejKrOjZ1Mt7aMNpVbAqLLV7bsNqR+3WwMqEWenN
sZYxL/Ddy/Pm2e7ZxLlUQrIjNPXp3bU5MbhENbEtLtqhj5ZQTfHh0bMxL7Ip
NsNyUYkZIrZJPcqGdYIUHb5aPKkeJnoUHd2yiJkiLKYiKLRFOsyJXKVDO8up
osFaS+TBnK4kKti5sNaYg/z49aqYl5kqLrljUtORfMOlo/36+H4ZH8yDYq0f
KKFYTaU9MrY8MrZBNXwXHpgaIdGVYu/byLZNP9SaZLIyOuXCtHkpJst+Wpcm
LMyCa8BfP9GMb9KQdPDd1PPk1sd5VP79/L5dQZ0bI9+ymqssK9WcfIoXHdzG
xdWWfteib79lSr1YP86MYurQxKdcUKdMQr5ZSfPs6YEZH8uhl4oWIenMuurQ
ttmejaqoqsqBVaAcJLlJN5kvMLlZRMNsSL5fRak0LbdQQMVvSPjw6cJnRpkf
Ktmjhvfu5cJtT7IuOMVvWLY/M/37+o0YH9ibhtSYdObErc6HarM9NnYS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POc9v3nQ58Aw0xn9LACvO7HQAOZVf/jl0ii1
HcXe9bPX3euftaPL5R71tIf97nsy7/o0WlP2r4/JOU7B+r5nqva7jz1EdZ97
4qNe+bonfvCfVXvly1762beOOdLBd+Q7PCAAOw==
",
    "filename": "rails_logo.gif"
  }
}
View Response
HTTP/1.1 200 OK
{
  "image": {
    "id": 1001473900,
    "product_id": 632910392,
    "position": 1,
    "created_at": "2018-01-08T12:35:19-05:00",
    "updated_at": "2018-01-08T12:35:19-05:00",
    "width": 110,
    "height": 140,
    "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/rails_logo.gif?v=1515432919",
    "variant_ids": [
    ]
  }
}
PUT /admin/products/632910392/images/850703190.json
Modify an existing product image

Modify an image; change its position and alt tag content

PUT /admin/products/#{id}/images/#{id}.json
{
  "image": {
    "id": 850703190,
    "position": 2,
    "alt": "new alt tag content"
  }
}
View Response
HTTP/1.1 200 OK
{
  "image": {
    "id": 850703190,
    "product_id": 632910392,
    "position": 2,
    "created_at": "2018-01-08T12:34:47-05:00",
    "updated_at": "2018-01-08T12:35:20-05:00",
    "width": 123,
    "height": 456,
    "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1515432920",
    "variant_ids": [
    ]
  }
}

Modify an image; add a metafield

PUT /admin/products/#{id}/images/#{id}.json
{
  "image": {
    "id": 850703190,
    "metafields": [
      {
        "key": "my_new_metafield",
        "value": "my_new_value",
        "value_type": "string",
        "namespace": "tags"
      }
    ]
  }
}
View Response
HTTP/1.1 200 OK
{
  "image": {
    "id": 850703190,
    "product_id": 632910392,
    "position": 1,
    "created_at": "2018-01-08T12:34:47-05:00",
    "updated_at": "2018-01-08T12:35:21-05:00",
    "width": 123,
    "height": 456,
    "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1515432921",
    "variant_ids": [
    ]
  }
}

Modify an image; add it to product variants

PUT /admin/products/#{id}/images/#{id}.json
{
  "image": {
    "id": 850703190,
    "variant_ids": [
      808950810,
      457924702
    ]
  }
}
View Response
HTTP/1.1 200 OK
{
  "image": {
    "id": 850703190,
    "product_id": 632910392,
    "position": 1,
    "created_at": "2018-01-08T12:34:47-05:00",
    "updated_at": "2018-01-08T12:34:47-05:00",
    "width": 123,
    "height": 456,
    "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1515432887",
    "variant_ids": [
      457924702,
      808950810
    ]
  }
}
DELETE /admin/products/632910392/images/850703190.json

Delete a product image

DELETE /admin/products/#{id}/images/#{id}.json
View Response
HTTP/1.1 200 OK
{}