Product

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
"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
"id": 632910392

A unique numeric 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,
    "src": "http://example.com/burton.jpg",
    "variant_ids": [
      {}
    ]
  }
]

A list of product image objects, each one representing an image associated with the product.

options
"options": [
  {
    "name": "Title"
  }
]

The custom product property names like Size, Color, and Material. You can add up to 3 options of up to 255 characters each.

product_type
"product_type": "Cult Products"

A categorization for the product used for filtering and searching products.

published_at
"published_at": "2007-12-31T19:00:00-05:00"

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

published_scope
"published_scope": "global"

Whether the product is published to the Point of Sale channel. Valid values:

  • web: The product is published to the online storefront and not published to the Point of Sale channel.
  • global: The product is published to both the online storefront and the Point of Sale channel.
tags
"tags": "Emotive, Flash Memory, MP3, Music"

A string of comma-separated tags that are used for filtering and search. Each comma-separated tag can have up to 255 characters.

template_suffix
"template_suffix": null

The suffix of the Liquid template being used. The default template is called product.liquid, without any suffix. Any additional templates will be: product.suffix.liquid.

title
"title": "IPod Nano - 8GB"

The name of the product.

metafields_global_title_tag
"metafields_global_title_tag": "IPod Nano - White, 8GB"

The name of the product used for SEO purposes. Generally added to the <meta name='title'> tag.

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

A description of the product used for SEO purposes. Generally added to the <meta name='description'> tag.

updated_at
"updated_at": "2012-08-24T14:01:47-04:00"

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

variants
"variants": [
  {
    "barcode": "1234_pink",
    "compare_at_price": null,
    "created_at": "2012-08-24T14:01:47-04:00",
    "fulfillment_service": "manual",
    "grams": 567,
    "weight": 0.2,
    "weight_unit": "kg",
    "id": 808950810,
    "inventory_item_id": 341629,
    "inventory_management": "shopify",
    "inventory_policy": "continue",
    "inventory_quantity": 10,
    "option1": "Pink",
    "position": 1,
    "price": 199.99,
    "product_id": 632910392,
    "requires_shipping": true,
    "sku": "IPOD2008PINK",
    "taxable": true,
    "title": "Pink",
    "updated_at": "2012-08-24T14:01:47-04:00"
  }
]

The list of product variants, each one representing a different version of the product.

vendor
"vendor": "Apple"

The name of the product's vendor.

Endpoints

GET /admin/products.json
Retrieves a list of products.
ids

Return only certain products, specified by a comma-separated list of product IDs.

limit

Return up to this many results per page.

(default: 50, maximum: 250)
page

Return a specific page of results.

(default: 1)
since_id

Restrict results to after the specified ID.

title

Filter results by product title.

vendor

Filter results by product vendor.

handle

Filter results by product handle.

product_type

Filter results by product type.

collection_id

Filter results by product collection ID.

created_at_min

Show products created after date. (format: 2014-04-25T16:15:47-04:00)

created_at_max

Show products created before date. (format: 2014-04-25T16:15:47-04:00)

updated_at_min

Show products last updated after date. (format: 2014-04-25T16:15:47-04:00)

updated_at_max

Show products last updated before date. (format: 2014-04-25T16:15:47-04:00)

published_at_min

Show products published after date. (format: 2014-04-25T16:15:47-04:00)

published_at_max

Show products published before date. (format: 2014-04-25T16:15:47-04:00)

published_status

Return products by their published status

(default: any)
  • published: Show only published products.
  • unpublished: Show only unpublished products.
  • any: Show all products.
fields

Show only certain fields, specified by a comma-separated list of field names.

Retrieve all products

GET /admin/products.json
View Response
HTTP/1.1 200 OK
{
  "products": [
    {
      "id": 632910392,
      "title": "IPod Nano - 8GB",
      "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
      "vendor": "Apple",
      "product_type": "Cult Products",
      "created_at": "2018-07-05T12:41:00-04:00",
      "handle": "ipod-nano",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "published_at": "2007-12-31T19:00:00-05:00",
      "template_suffix": null,
      "tags": "Emotive, Flash Memory, MP3, Music",
      "published_scope": "web",
      "admin_graphql_api_id": "gid://shopify/Product/632910392",
      "variants": [
        {
          "id": 808950810,
          "product_id": 632910392,
          "title": "Pink",
          "price": "199.00",
          "sku": "IPOD2008PINK",
          "position": 1,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Pink",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_pink",
          "grams": 567,
          "image_id": 562641783,
          "inventory_quantity": 10,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 808950810,
          "old_inventory_quantity": 10,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
        },
        {
          "id": 49148385,
          "product_id": 632910392,
          "title": "Red",
          "price": "199.00",
          "sku": "IPOD2008RED",
          "position": 2,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Red",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_red",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 20,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 49148385,
          "old_inventory_quantity": 20,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
        },
        {
          "id": 39072856,
          "product_id": 632910392,
          "title": "Green",
          "price": "199.00",
          "sku": "IPOD2008GREEN",
          "position": 3,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Green",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_green",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 30,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 39072856,
          "old_inventory_quantity": 30,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
        },
        {
          "id": 457924702,
          "product_id": 632910392,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2008BLACK",
          "position": 4,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 40,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 457924702,
          "old_inventory_quantity": 40,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
        }
      ],
      "options": [
        {
          "id": 594680422,
          "product_id": 632910392,
          "name": "Color",
          "position": 1,
          "values": [
            "Pink",
            "Red",
            "Green",
            "Black"
          ]
        }
      ],
      "images": [
        {
          "id": 850703190,
          "product_id": 632910392,
          "position": 1,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "alt": null,
          "width": 123,
          "height": 456,
          "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
          "variant_ids": [],
          "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
        },
        {
          "id": 562641783,
          "product_id": 632910392,
          "position": 2,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "alt": null,
          "width": 123,
          "height": 456,
          "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
          "variant_ids": [
            808950810
          ],
          "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
        }
      ],
      "image": {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      }
    },
    {
      "id": 921728736,
      "title": "IPod Touch 8GB",
      "body_html": "<p>The iPod Touch has the iPhone's multi-touch interface, with a physical home button off the touch screen. The home screen has a list of buttons for the available applications.</p>",
      "vendor": "Apple",
      "product_type": "Cult Products",
      "created_at": "2018-07-05T12:41:00-04:00",
      "handle": "ipod-touch",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "published_at": "2008-09-25T20:00:00-04:00",
      "template_suffix": null,
      "tags": "",
      "published_scope": "web",
      "admin_graphql_api_id": "gid://shopify/Product/921728736",
      "variants": [
        {
          "id": 447654529,
          "product_id": 921728736,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2009BLACK",
          "position": 1,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 13,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 447654529,
          "old_inventory_quantity": 13,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/447654529"
        }
      ],
      "options": [
        {
          "id": 891236591,
          "product_id": 921728736,
          "name": "Title",
          "position": 1,
          "values": [
            "Black"
          ]
        }
      ],
      "images": [],
      "image": null
    }
  ]
}

Retrieve a list of specific products

GET /admin/products.json?ids=632910392,921728736
View Response
HTTP/1.1 200 OK
{
  "products": [
    {
      "id": 632910392,
      "title": "IPod Nano - 8GB",
      "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
      "vendor": "Apple",
      "product_type": "Cult Products",
      "created_at": "2018-07-05T12:41:00-04:00",
      "handle": "ipod-nano",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "published_at": "2007-12-31T19:00:00-05:00",
      "template_suffix": null,
      "tags": "Emotive, Flash Memory, MP3, Music",
      "published_scope": "web",
      "admin_graphql_api_id": "gid://shopify/Product/632910392",
      "variants": [
        {
          "id": 808950810,
          "product_id": 632910392,
          "title": "Pink",
          "price": "199.00",
          "sku": "IPOD2008PINK",
          "position": 1,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Pink",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_pink",
          "grams": 567,
          "image_id": 562641783,
          "inventory_quantity": 10,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 808950810,
          "old_inventory_quantity": 10,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
        },
        {
          "id": 49148385,
          "product_id": 632910392,
          "title": "Red",
          "price": "199.00",
          "sku": "IPOD2008RED",
          "position": 2,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Red",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_red",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 20,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 49148385,
          "old_inventory_quantity": 20,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
        },
        {
          "id": 39072856,
          "product_id": 632910392,
          "title": "Green",
          "price": "199.00",
          "sku": "IPOD2008GREEN",
          "position": 3,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Green",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_green",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 30,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 39072856,
          "old_inventory_quantity": 30,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
        },
        {
          "id": 457924702,
          "product_id": 632910392,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2008BLACK",
          "position": 4,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 40,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 457924702,
          "old_inventory_quantity": 40,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
        }
      ],
      "options": [
        {
          "id": 594680422,
          "product_id": 632910392,
          "name": "Color",
          "position": 1,
          "values": [
            "Pink",
            "Red",
            "Green",
            "Black"
          ]
        }
      ],
      "images": [
        {
          "id": 850703190,
          "product_id": 632910392,
          "position": 1,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "alt": null,
          "width": 123,
          "height": 456,
          "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
          "variant_ids": [],
          "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
        },
        {
          "id": 562641783,
          "product_id": 632910392,
          "position": 2,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "alt": null,
          "width": 123,
          "height": 456,
          "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
          "variant_ids": [
            808950810
          ],
          "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
        }
      ],
      "image": {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      }
    },
    {
      "id": 921728736,
      "title": "IPod Touch 8GB",
      "body_html": "<p>The iPod Touch has the iPhone's multi-touch interface, with a physical home button off the touch screen. The home screen has a list of buttons for the available applications.</p>",
      "vendor": "Apple",
      "product_type": "Cult Products",
      "created_at": "2018-07-05T12:41:00-04:00",
      "handle": "ipod-touch",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "published_at": "2008-09-25T20:00:00-04:00",
      "template_suffix": null,
      "tags": "",
      "published_scope": "web",
      "admin_graphql_api_id": "gid://shopify/Product/921728736",
      "variants": [
        {
          "id": 447654529,
          "product_id": 921728736,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2009BLACK",
          "position": 1,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 13,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 447654529,
          "old_inventory_quantity": 13,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/447654529"
        }
      ],
      "options": [
        {
          "id": 891236591,
          "product_id": 921728736,
          "name": "Title",
          "position": 1,
          "values": [
            "Black"
          ]
        }
      ],
      "images": [],
      "image": null
    }
  ]
}

Retrieve all products, showing only some attributes

GET /admin/products.json?fields=id,images,title
View Response
HTTP/1.1 200 OK
{
  "products": [
    {
      "id": 632910392,
      "title": "IPod Nano - 8GB",
      "images": [
        {
          "id": 850703190,
          "product_id": 632910392,
          "position": 1,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "alt": null,
          "width": 123,
          "height": 456,
          "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
          "variant_ids": [],
          "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
        },
        {
          "id": 562641783,
          "product_id": 632910392,
          "position": 2,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "alt": null,
          "width": 123,
          "height": 456,
          "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
          "variant_ids": [
            808950810
          ],
          "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
        }
      ]
    },
    {
      "id": 921728736,
      "title": "IPod Touch 8GB",
      "images": []
    }
  ]
}

Retrieve all products that belong to a certain collection

GET /admin/products.json?collection_id=841564295
View Response
HTTP/1.1 200 OK
{
  "products": [
    {
      "id": 632910392,
      "title": "IPod Nano - 8GB",
      "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
      "vendor": "Apple",
      "product_type": "Cult Products",
      "created_at": "2018-07-05T12:41:00-04:00",
      "handle": "ipod-nano",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "published_at": "2007-12-31T19:00:00-05:00",
      "template_suffix": null,
      "tags": "Emotive, Flash Memory, MP3, Music",
      "published_scope": "web",
      "admin_graphql_api_id": "gid://shopify/Product/632910392",
      "variants": [
        {
          "id": 808950810,
          "product_id": 632910392,
          "title": "Pink",
          "price": "199.00",
          "sku": "IPOD2008PINK",
          "position": 1,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Pink",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_pink",
          "grams": 567,
          "image_id": 562641783,
          "inventory_quantity": 10,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 808950810,
          "old_inventory_quantity": 10,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
        },
        {
          "id": 49148385,
          "product_id": 632910392,
          "title": "Red",
          "price": "199.00",
          "sku": "IPOD2008RED",
          "position": 2,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Red",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_red",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 20,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 49148385,
          "old_inventory_quantity": 20,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
        },
        {
          "id": 39072856,
          "product_id": 632910392,
          "title": "Green",
          "price": "199.00",
          "sku": "IPOD2008GREEN",
          "position": 3,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Green",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_green",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 30,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 39072856,
          "old_inventory_quantity": 30,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
        },
        {
          "id": 457924702,
          "product_id": 632910392,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2008BLACK",
          "position": 4,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 40,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 457924702,
          "old_inventory_quantity": 40,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
        }
      ],
      "options": [
        {
          "id": 594680422,
          "product_id": 632910392,
          "name": "Color",
          "position": 1,
          "values": [
            "Pink",
            "Red",
            "Green",
            "Black"
          ]
        }
      ],
      "images": [
        {
          "id": 850703190,
          "product_id": 632910392,
          "position": 1,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "alt": null,
          "width": 123,
          "height": 456,
          "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
          "variant_ids": [],
          "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
        },
        {
          "id": 562641783,
          "product_id": 632910392,
          "position": 2,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "alt": null,
          "width": 123,
          "height": 456,
          "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
          "variant_ids": [
            808950810
          ],
          "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
        }
      ],
      "image": {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      }
    }
  ]
}

Retrieve all products after the specified ID

GET /admin/products.json?since_id=632910392
View Response
HTTP/1.1 200 OK
{
  "products": [
    {
      "id": 921728736,
      "title": "IPod Touch 8GB",
      "body_html": "<p>The iPod Touch has the iPhone's multi-touch interface, with a physical home button off the touch screen. The home screen has a list of buttons for the available applications.</p>",
      "vendor": "Apple",
      "product_type": "Cult Products",
      "created_at": "2018-07-05T12:41:00-04:00",
      "handle": "ipod-touch",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "published_at": "2008-09-25T20:00:00-04:00",
      "template_suffix": null,
      "tags": "",
      "published_scope": "web",
      "admin_graphql_api_id": "gid://shopify/Product/921728736",
      "variants": [
        {
          "id": 447654529,
          "product_id": 921728736,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2009BLACK",
          "position": 1,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2018-07-05T12:41:00-04:00",
          "updated_at": "2018-07-05T12:41:00-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "grams": 567,
          "image_id": null,
          "inventory_quantity": 13,
          "weight": 1.25,
          "weight_unit": "lb",
          "inventory_item_id": 447654529,
          "old_inventory_quantity": 13,
          "requires_shipping": true,
          "admin_graphql_api_id": "gid://shopify/ProductVariant/447654529"
        }
      ],
      "options": [
        {
          "id": 891236591,
          "product_id": 921728736,
          "name": "Title",
          "position": 1,
          "values": [
            "Black"
          ]
        }
      ],
      "images": [],
      "image": null
    }
  ]
}
GET /admin/products/count.json
Retrieves a count of products.
vendor

Filter results by product vendor.

product_type

Filter results by product type.

collection_id

Filter results by collection ID.

created_at_min

Show products created after date. (format: 2014-04-25T16:15:47-04:00)

created_at_max

Show products created before date. (format: 2014-04-25T16:15:47-04:00)

updated_at_min

Show products last updated after date. (format: 2014-04-25T16:15:47-04:00)

updated_at_max

Show products last updated before date. (format: 2014-04-25T16:15:47-04:00)

published_at_min

Show products published after date. (format: 2014-04-25T16:15:47-04:00)

published_at_max

Show products published before date. (format: 2014-04-25T16:15:47-04:00)

published_status

Return products by their published status

(default: any)
  • published: Show only published products.
  • unpublished: Show only unpublished products.
  • any: Show all products.

Retrieve a count of all products

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

Retrieve a count of all products of a given collection

GET /admin/products/count.json?collection_id=841564295
View Response
HTTP/1.1 200 OK
{
  "count": 1
}
GET /admin/products/632910392.json
Retrieves a single product.
fields

A comma-separated list of fields to include in the response.

Retrieve a single product by ID

GET /admin/products/#{product_id}.json
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "IPod Nano - 8GB",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T12:41:00-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "tags": "Emotive, Flash Memory, MP3, Music",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-07-05T12:41:00-04:00",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "alt": null,
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
    }
  }
}

Retrieve only particular fields

GET /admin/products/#{product_id}.json?fields=id,images,title
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "IPod Nano - 8GB",
    "images": [
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      }
    ]
  }
}
POST /admin/products.json
Creates a new product.

Create a new product with the default product variant

POST /admin/products.json
{
  "product": {
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "tags": "Barnes & Noble, John's Fav, &quot;Big Air&quot;"
  }
}
View Response
HTTP/1.1 201 Created
{
  "product": {
    "id": 1071559582,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2018-07-05T13:09:09-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2018-07-05T13:09:09-04:00",
    "published_at": "2018-07-05T13:09:09-04:00",
    "template_suffix": null,
    "tags": "&quot;Big Air&quot;, Barnes & Noble, John's Fav",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/1071559582",
    "variants": [
      {
        "id": 1070325033,
        "product_id": 1071559582,
        "title": "Default Title",
        "price": "0.00",
        "sku": "",
        "position": 1,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Default Title",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T13:09:09-04:00",
        "updated_at": "2018-07-05T13:09:09-04:00",
        "taxable": true,
        "barcode": null,
        "grams": 0,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "inventory_item_id": 1070325035,
        "old_inventory_quantity": 1,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/1070325033"
      }
    ],
    "options": [
      {
        "id": 1022828621,
        "product_id": 1071559582,
        "name": "Title",
        "position": 1,
        "values": [
          "Default Title"
        ]
      }
    ],
    "images": [],
    "image": null
  }
}

Create a new unpublished product

POST /admin/products.json
{
  "product": {
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "published": false
  }
}
View Response
HTTP/1.1 201 Created
{
  "product": {
    "id": 1071559583,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2018-07-05T13:09:10-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2018-07-05T13:09:11-04:00",
    "published_at": null,
    "template_suffix": null,
    "tags": "",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/1071559583",
    "variants": [
      {
        "id": 1070325034,
        "product_id": 1071559583,
        "title": "Default Title",
        "price": "0.00",
        "sku": "",
        "position": 1,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Default Title",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T13:09:10-04:00",
        "updated_at": "2018-07-05T13:09:10-04:00",
        "taxable": true,
        "barcode": null,
        "grams": 0,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "inventory_item_id": 1070325036,
        "old_inventory_quantity": 1,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/1070325034"
      }
    ],
    "options": [
      {
        "id": 1022828622,
        "product_id": 1071559583,
        "name": "Title",
        "position": 1,
        "values": [
          "Default Title"
        ]
      }
    ],
    "images": [],
    "image": null
  }
}

Create a new product with multiple product variants

POST /admin/products.json
{
  "product": {
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "variants": [
      {
        "option1": "First",
        "price": "10.00",
        "sku": "123"
      },
      {
        "option1": "Second",
        "price": "20.00",
        "sku": "123"
      }
    ]
  }
}
View Response
HTTP/1.1 201 Created
{
  "product": {
    "id": 1071559584,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2018-07-05T13:09:11-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2018-07-05T13:09:12-04:00",
    "published_at": "2018-07-05T13:09:11-04:00",
    "template_suffix": null,
    "tags": "",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/1071559584",
    "variants": [
      {
        "id": 1070325035,
        "product_id": 1071559584,
        "title": "First",
        "price": "10.00",
        "sku": "123",
        "position": 1,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "First",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T13:09:12-04:00",
        "updated_at": "2018-07-05T13:09:12-04:00",
        "taxable": true,
        "barcode": null,
        "grams": 0,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "inventory_item_id": 1070325037,
        "old_inventory_quantity": 1,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/1070325035"
      },
      {
        "id": 1070325036,
        "product_id": 1071559584,
        "title": "Second",
        "price": "20.00",
        "sku": "123",
        "position": 2,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Second",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T13:09:12-04:00",
        "updated_at": "2018-07-05T13:09:12-04:00",
        "taxable": true,
        "barcode": null,
        "grams": 0,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "inventory_item_id": 1070325038,
        "old_inventory_quantity": 1,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/1070325036"
      }
    ],
    "options": [
      {
        "id": 1022828623,
        "product_id": 1071559584,
        "name": "Title",
        "position": 1,
        "values": [
          "First",
          "Second"
        ]
      }
    ],
    "images": [],
    "image": null
  }
}

Create a new product with multiple product variants and multiple options

POST /admin/products.json
{
  "product": {
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "variants": [
      {
        "option1": "Blue",
        "option2": "155"
      },
      {
        "option1": "Black",
        "option2": "159"
      }
    ],
    "options": [
      {
        "name": "Color",
        "values": [
          "Blue",
          "Black"
        ]
      },
      {
        "name": "Size",
        "values": [
          "155",
          "159"
        ]
      }
    ]
  }
}
View Response
HTTP/1.1 201 Created
{
  "product": {
    "id": 1071559585,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2018-07-05T13:09:13-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2018-07-05T13:09:13-04:00",
    "published_at": "2018-07-05T13:09:13-04:00",
    "template_suffix": null,
    "tags": "",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/1071559585",
    "variants": [
      {
        "id": 1070325037,
        "product_id": 1071559585,
        "title": "Blue / 155",
        "price": "0.00",
        "sku": "",
        "position": 1,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Blue",
        "option2": "155",
        "option3": null,
        "created_at": "2018-07-05T13:09:13-04:00",
        "updated_at": "2018-07-05T13:09:13-04:00",
        "taxable": true,
        "barcode": null,
        "grams": 0,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "inventory_item_id": 1070325039,
        "old_inventory_quantity": 1,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/1070325037"
      },
      {
        "id": 1070325038,
        "product_id": 1071559585,
        "title": "Black / 159",
        "price": "0.00",
        "sku": "",
        "position": 2,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Black",
        "option2": "159",
        "option3": null,
        "created_at": "2018-07-05T13:09:13-04:00",
        "updated_at": "2018-07-05T13:09:13-04:00",
        "taxable": true,
        "barcode": null,
        "grams": 0,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "inventory_item_id": 1070325040,
        "old_inventory_quantity": 1,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/1070325038"
      }
    ],
    "options": [
      {
        "id": 1022828624,
        "product_id": 1071559585,
        "name": "Color",
        "position": 1,
        "values": [
          "Blue",
          "Black"
        ]
      },
      {
        "id": 1022828625,
        "product_id": 1071559585,
        "name": "Size",
        "position": 2,
        "values": [
          "155",
          "159"
        ]
      }
    ],
    "images": [],
    "image": null
  }
}

Create a new product with the default variant and a product image that will be downloaded by Shopify

POST /admin/products.json
{
  "product": {
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "images": [
      {
        "src": "http://example.com/rails_logo.gif"
      }
    ]
  }
}
View Response
HTTP/1.1 201 Created
{
  "product": {
    "id": 1071559586,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2018-07-05T13:09:14-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2018-07-05T13:09:14-04:00",
    "published_at": "2018-07-05T13:09:14-04:00",
    "template_suffix": null,
    "tags": "",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/1071559586",
    "variants": [
      {
        "id": 1070325039,
        "product_id": 1071559586,
        "title": "Default Title",
        "price": "0.00",
        "sku": "",
        "position": 1,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Default Title",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T13:09:14-04:00",
        "updated_at": "2018-07-05T13:09:14-04:00",
        "taxable": true,
        "barcode": null,
        "grams": 0,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "inventory_item_id": 1070325041,
        "old_inventory_quantity": 1,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/1070325039"
      }
    ],
    "options": [
      {
        "id": 1022828626,
        "product_id": 1071559586,
        "name": "Title",
        "position": 1,
        "values": [
          "Default Title"
        ]
      }
    ],
    "images": [
      {
        "id": 1001473902,
        "product_id": 1071559586,
        "position": 1,
        "created_at": "2018-07-05T13:09:14-04:00",
        "updated_at": "2018-07-05T13:09:14-04:00",
        "alt": null,
        "width": 110,
        "height": 140,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/rails_logo20180705-23817-p97qo5.gif?v=1530810554",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/1001473902"
      }
    ],
    "image": {
      "id": 1001473902,
      "product_id": 1071559586,
      "position": 1,
      "created_at": "2018-07-05T13:09:14-04:00",
      "updated_at": "2018-07-05T13:09:14-04:00",
      "alt": null,
      "width": 110,
      "height": 140,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/rails_logo20180705-23817-p97qo5.gif?v=1530810554",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/1001473902"
    }
  }
}

Creating a product without a title will return an error

POST /admin/products.json
{
  "product": {
    "body_html": "A mystery!"
  }
}
View Response
HTTP/1.1 422 Unprocessable Entity
{
  "errors": {
    "title": [
      "can't be blank"
    ]
  }
}

Create a product with a metafield

POST /admin/products.json
{
  "product": {
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "metafields": [
      {
        "key": "new",
        "value": "newvalue",
        "value_type": "string",
        "namespace": "global"
      }
    ]
  }
}
View Response
HTTP/1.1 201 Created
{
  "product": {
    "id": 1071559587,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2018-07-05T13:09:16-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2018-07-05T13:09:16-04:00",
    "published_at": "2018-07-05T13:09:16-04:00",
    "template_suffix": null,
    "tags": "",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/1071559587",
    "variants": [
      {
        "id": 1070325040,
        "product_id": 1071559587,
        "title": "Default Title",
        "price": "0.00",
        "sku": "",
        "position": 1,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Default Title",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T13:09:16-04:00",
        "updated_at": "2018-07-05T13:09:16-04:00",
        "taxable": true,
        "barcode": null,
        "grams": 0,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "inventory_item_id": 1070325042,
        "old_inventory_quantity": 1,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/1070325040"
      }
    ],
    "options": [
      {
        "id": 1022828627,
        "product_id": 1071559587,
        "name": "Title",
        "position": 1,
        "values": [
          "Default Title"
        ]
      }
    ],
    "images": [],
    "image": null
  }
}

Create a new product with the default variant and base64 encoded image

POST /admin/products.json
{
  "product": {
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "images": [
      {
        "attachment": "R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==\n"
      }
    ]
  }
}
View Response
HTTP/1.1 201 Created
{
  "product": {
    "id": 1071559588,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!</strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2018-07-05T13:09:31-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2018-07-05T13:09:31-04:00",
    "published_at": "2018-07-05T13:09:31-04:00",
    "template_suffix": null,
    "tags": "",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/1071559588",
    "variants": [
      {
        "id": 1070325041,
        "product_id": 1071559588,
        "title": "Default Title",
        "price": "0.00",
        "sku": "",
        "position": 1,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Default Title",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T13:09:31-04:00",
        "updated_at": "2018-07-05T13:09:31-04:00",
        "taxable": true,
        "barcode": null,
        "grams": 0,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "inventory_item_id": 1070325043,
        "old_inventory_quantity": 1,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/1070325041"
      }
    ],
    "options": [
      {
        "id": 1022828628,
        "product_id": 1071559588,
        "name": "Title",
        "position": 1,
        "values": [
          "Default Title"
        ]
      }
    ],
    "images": [
      {
        "id": 1001473904,
        "product_id": 1071559588,
        "position": 1,
        "created_at": "2018-07-05T13:09:31-04:00",
        "updated_at": "2018-07-05T13:09:31-04:00",
        "alt": null,
        "width": 1,
        "height": 1,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/df3e567d6f16d040326c7a0ea29a4f41.gif?v=1530810571",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/1001473904"
      }
    ],
    "image": {
      "id": 1001473904,
      "product_id": 1071559588,
      "position": 1,
      "created_at": "2018-07-05T13:09:31-04:00",
      "updated_at": "2018-07-05T13:09:31-04:00",
      "alt": null,
      "width": 1,
      "height": 1,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/df3e567d6f16d040326c7a0ea29a4f41.gif?v=1530810571",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/1001473904"
    }
  }
}
PUT /admin/products/632910392.json
Updates a product and its variants and images.

Update a product's title

PUT /admin/products/#{product_id}.json
{
  "product": {
    "id": 632910392,
    "title": "New product title"
  }
}
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "New product title",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T13:09:17-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "tags": "Emotive, Flash Memory, MP3, Music",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:17-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-07-05T12:41:00-04:00",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "alt": null,
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
    }
  }
}

Update a product's tags

PUT /admin/products/#{product_id}.json
{
  "product": {
    "id": 632910392,
    "tags": "Barnes & Noble, John's Fav"
  }
}
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "IPod Nano - 8GB",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T13:09:18-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "tags": "Barnes & Noble, John's Fav",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:18-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-07-05T12:41:00-04:00",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "alt": null,
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
    }
  }
}

Update a product by clearing product images

PUT /admin/products/#{product_id}.json
{
  "product": {
    "id": 632910392,
    "images": []
  }
}
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "IPod Nano - 8GB",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T13:09:19-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "tags": "Emotive, Flash Memory, MP3, Music",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:19-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [],
    "image": null
  }
}

Update a product by adding a new product image

PUT /admin/products/#{product_id}.json
{
  "product": {
    "id": 632910392,
    "images": [
      {
        "id": 850703190
      },
      {
        "id": 562641783
      },
      {
        "src": "http://example.com/rails_logo.gif"
      }
    ]
  }
}
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "IPod Nano - 8GB",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T13:09:21-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "tags": "Emotive, Flash Memory, MP3, Music",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:21-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      },
      {
        "id": 1001473903,
        "product_id": 632910392,
        "position": 3,
        "created_at": "2018-07-05T13:09:20-04:00",
        "updated_at": "2018-07-05T13:09:20-04:00",
        "alt": null,
        "width": 110,
        "height": 140,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/rails_logo20180705-23817-nkg7xq.gif?v=1530810560",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/1001473903"
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-07-05T12:41:00-04:00",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "alt": null,
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
    }
  }
}

Update a product by reordering product image

PUT /admin/products/#{product_id}.json
{
  "product": {
    "id": 632910392,
    "images": [
      {
        "id": 850703190,
        "position": 2
      },
      {
        "id": 562641783,
        "position": 1
      }
    ]
  }
}
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "IPod Nano - 8GB",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T13:09:22-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "tags": "Emotive, Flash Memory, MP3, Music",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:22-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:22-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530810562",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      },
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:22-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530810562",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      }
    ],
    "image": {
      "id": 562641783,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-07-05T12:41:00-04:00",
      "updated_at": "2018-07-05T13:09:22-04:00",
      "alt": null,
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530810562",
      "variant_ids": [
        808950810
      ],
      "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
    }
  }
}

Update a product by reordering the product variants

PUT /admin/products/#{product_id}.json
{
  "product": {
    "id": 632910392,
    "variants": [
      {
        "id": 457924702
      },
      {
        "id": 39072856
      },
      {
        "id": 49148385
      },
      {
        "id": 808950810
      }
    ]
  }
}
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "IPod Nano - 8GB",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T13:09:24-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "tags": "Emotive, Flash Memory, MP3, Music",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:24-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:24-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:24-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:24-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Black",
          "Green",
          "Red",
          "Pink"
        ]
      }
    ],
    "images": [
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-07-05T12:41:00-04:00",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "alt": null,
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
    }
  }
}

Update a product and one of its variants

PUT /admin/products/#{product_id}.json
{
  "product": {
    "id": 632910392,
    "title": "Updated Product Title",
    "variants": [
      {
        "id": 808950810,
        "price": "2000.00",
        "sku": "Updating the Product SKU"
      },
      {
        "id": 49148385
      },
      {
        "id": 39072856
      },
      {
        "id": 457924702
      }
    ]
  }
}
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "Updated Product Title",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T13:09:26-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "tags": "Emotive, Flash Memory, MP3, Music",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "2000.00",
        "sku": "Updating the Product SKU",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:26-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-07-05T12:41:00-04:00",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "alt": null,
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
    }
  }
}

Update a product's SEO title and description

PUT /admin/products/#{product_id}.json
{
  "product": {
    "id": 632910392,
    "metafields_global_title_tag": "Brand new title",
    "metafields_global_description_tag": "Brand new description"
  }
}
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "IPod Nano - 8GB",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T12:41:00-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "tags": "Emotive, Flash Memory, MP3, Music",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:27-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-07-05T12:41:00-04:00",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "alt": null,
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
    }
  }
}

Show a hidden product by changing the published attribute to true

PUT /admin/products/#{product_id}.json
{
  "product": {
    "id": 632910392,
    "published": true
  }
}
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "IPod Nano - 8GB",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T13:09:28-04:00",
    "published_at": "2018-07-05T13:09:28-04:00",
    "template_suffix": null,
    "tags": "Emotive, Flash Memory, MP3, Music",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:28-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-07-05T12:41:00-04:00",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "alt": null,
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
    }
  }
}

Hide a published product by changing the published attribute to false

PUT /admin/products/#{product_id}.json
{
  "product": {
    "id": 632910392,
    "published": false
  }
}
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "IPod Nano - 8GB",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T13:09:29-04:00",
    "published_at": null,
    "template_suffix": null,
    "tags": "Emotive, Flash Memory, MP3, Music",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:29-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-07-05T12:41:00-04:00",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "alt": null,
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
    }
  }
}

Add a metafield to an existing product

PUT /admin/products/#{product_id}.json
{
  "product": {
    "id": 632910392,
    "metafields": [
      {
        "key": "new",
        "value": "newvalue",
        "value_type": "string",
        "namespace": "global"
      }
    ]
  }
}
View Response
HTTP/1.1 200 OK
{
  "product": {
    "id": 632910392,
    "title": "IPod Nano - 8GB",
    "body_html": "<p>It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.</p>",
    "vendor": "Apple",
    "product_type": "Cult Products",
    "created_at": "2018-07-05T12:41:00-04:00",
    "handle": "ipod-nano",
    "updated_at": "2018-07-05T13:09:30-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "tags": "Emotive, Flash Memory, MP3, Music",
    "published_scope": "web",
    "admin_graphql_api_id": "gid://shopify/Product/632910392",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T13:09:30-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "grams": 567,
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 808950810,
        "old_inventory_quantity": 10,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/808950810"
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 49148385,
        "old_inventory_quantity": 20,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/49148385"
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 39072856,
        "old_inventory_quantity": 30,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/39072856"
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "grams": 567,
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "inventory_item_id": 457924702,
        "old_inventory_quantity": 40,
        "requires_shipping": true,
        "admin_graphql_api_id": "gid://shopify/ProductVariant/457924702"
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2018-07-05T12:41:00-04:00",
        "updated_at": "2018-07-05T12:41:00-04:00",
        "alt": null,
        "width": 123,
        "height": 456,
        "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1530808860",
        "variant_ids": [
          808950810
        ],
        "admin_graphql_api_id": "gid://shopify/ProductImage/562641783"
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2018-07-05T12:41:00-04:00",
      "updated_at": "2018-07-05T12:41:00-04:00",
      "alt": null,
      "width": 123,
      "height": 456,
      "src": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1530808860",
      "variant_ids": [],
      "admin_graphql_api_id": "gid://shopify/ProductImage/850703190"
    }
  }
}
DELETE /admin/products/632910392.json
Deletes a product.

Delete a product along with all its variants and images

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

Sign up for a Partner account to get started.

Sign up