Product

Version 2019-10

The Product resource lets you update and create products in a merchant's store. You can use product variants with the Product resource to create or update different versions of the same product. You can also add or update product images.

You can add products to collections with the CustomCollection resource and the SmartCollection resource.

What you can do with Product

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

Product properties

body_html
"body_html": "It's the small iPod with a big idea: Video."

A description of the product. Supports HTML formatting.

created_at
read-only
"created_at": "2012-02-15T15:12:21-05:00"

The date and time (ISO 8601 format) when the product was created.

handle
"handle": "ipod-nano"

A unique human-friendly string for the product. Automatically generated from the product's title. Used by the Liquid templating language to refer to objects.

id
read-only
"id": 632910392

An unsigned 64-bit integer that's used as a unique identifier for the product. Each id is unique across the Shopify system. No two products will have the same id, even if they're from different shops.

images
"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": 110,
    "height": 140