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 using the CustomCollection resource and the SmartCollection resource.

Product

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."

Description of the product. Supports HTML formatting.

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

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

handle
"handle": "ipod-nano"

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

id
"id": 632910392

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": ["src": "http://example.com/burton.jpg"]

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

options
"options": ["name": "Title"]

Custom product property names like Size, Color, and Material. Products are based on permutations of these options. (maximum: 3 options, 255 characters each)

product_type
"product_type": "Cult Products"

Categorization that a product can be tagged with, commonly used for filtering and searching.

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

Date and time when the product was published to the Online Store channel. The API returns this value in ISO 8601 format. A value of null indicates that the product is not published to Online Store.

published_scope
"published_scope": "global"

Indicates whether the product is published to the Point of Sale channel. Valid values: web, global.

  • web: The product is not published to Point of Sale.
  • global: The product is published to Point of Sale.

tags
"tags": "Emotive, Flash Memory, MP3, Music"

Categorization that a product can be tagged with. Commonly used for filtering and searching. (maximum: 255 characters for each comma-separated tag)

template_suffix
"template_suffix": null

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

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

Name of the product. In a shop's catalog, clicking on a product's title takes you to that product's page. On a product's page, the product's title typically appears in a large font.'

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

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."

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"

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

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_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"
  }
]

List of variant objects, each one representing a slightly different version of the product. For example, if a product comes in different sizes and colors, each size and color permutation (such as small black, medium black, large blue), would be a variant.

To reorder variants, update the product with the variants in the desired order. The position attribute on the variant will be ignored.

  • barcode: Barcode, UPC, or ISBN number for the product.
  • compare_at_price: Competitor's price for the same item.
  • created_at: Date and time when the product variant was created. The API returns this value in ISO 8601 format.
  • fulfillment_service: Service that is handling fulfillment. Valid values: manual, gift_card, or the handle of a FulfillmentService resource.
  • grams: Weight of the product variant in grams.
  • weight: Weight of the product variant in the unit system specified with weight_unit.
  • weight_unit: Unit that the product variant's weight is measured in. Valid values: g, kg, oz, lb.
  • id: Unique numeric identifier for the product variant.
  • inventory_management: Specifies whether Shopify tracks the number of items in stock for this product variant.
  • inventory_policy: Specifies whether customers are allowed to place an order for a product variant when it's out of stock.
  • inventory_quantity: Number of items in stock for this product variant.
  • metafield: Attaches additional information to a shop's resources.
  • option: Custom properties that a shop owner can use to define product variants. Multiple options can exist. Options are represented as: option1, option2, option3 etc.
  • position: The order of the product variant in the list of product variants. 1 is the first position. To reorder variants, update the product with the variants in the desired order. The position attribute on the variant will be ignored.
  • price: Price of the product variant.
  • product_id: Unique numeric identifier for the product.
  • requires_shipping: Specifies whether a customer needs to provide a shipping address when placing an order for this product variant.
  • sku: Unique identifier for the product in the shop.
  • taxable: Specifies whether a tax is charged when the product variant is sold.
  • title: Title of the product variant.
  • updated_at: Date and time when the product variant was last modified. The API returns this value in ISO 8601 format.

vendor
"vendor": "Apple"

Name of the vendor of the product.

Endpoints

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

Comma-separated list of product ids.

limit

Amount of results.

(default: 50) (maximum: 250)
page

Page to show.

(default: 1)
since_id

Restrict results to after the specified ID.

title

Filter by product title.

vendor

Filter by product vendor.

handle

Filter by product handle.

product_type

Filter by product type.

collection_id

Filter 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
  • published - Show only published products.
  • unpublished - Show only unpublished products.
  • any - Show all products (default).
fields

Comma-separated list of fields to include in the response.

Get 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": "2017-09-22T14:08:02-04:00",
      "handle": "ipod-nano",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "published_at": "2007-12-31T19:00:00-05:00",
      "template_suffix": null,
      "published_scope": "web",
      "tags": "Emotive, Flash Memory, MP3, Music",
      "variants": [
        {
          "id": 808950810,
          "product_id": 632910392,
          "title": "Pink",
          "price": "199.00",
          "sku": "IPOD2008PINK",
          "position": 1,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Pink",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_pink",
          "image_id": 562641783,
          "inventory_quantity": 10,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 10,
          "requires_shipping": true
        },
        {
          "id": 49148385,
          "product_id": 632910392,
          "title": "Red",
          "price": "199.00",
          "sku": "IPOD2008RED",
          "position": 2,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Red",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_red",
          "image_id": null,
          "inventory_quantity": 20,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 20,
          "requires_shipping": true
        },
        {
          "id": 39072856,
          "product_id": 632910392,
          "title": "Green",
          "price": "199.00",
          "sku": "IPOD2008GREEN",
          "position": 3,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Green",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_green",
          "image_id": null,
          "inventory_quantity": 30,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 30,
          "requires_shipping": true
        },
        {
          "id": 457924702,
          "product_id": 632910392,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2008BLACK",
          "position": 4,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "image_id": null,
          "inventory_quantity": 40,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 40,
          "requires_shipping": true
        }
      ],
      "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": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "width": 123,
          "height": 456,
          "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
          "variant_ids": [
          ]
        },
        {
          "id": 562641783,
          "product_id": 632910392,
          "position": 2,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "width": 123,
          "height": 456,
          "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
          "variant_ids": [
            808950810
          ]
        }
      ],
      "image": {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      }
    },
    {
      "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": "2017-09-22T14:08:02-04:00",
      "handle": "ipod-touch",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "published_at": "2008-09-25T20:00:00-04:00",
      "template_suffix": null,
      "published_scope": "global",
      "tags": "",
      "variants": [
        {
          "id": 447654529,
          "product_id": 921728736,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2009BLACK",
          "position": 1,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "image_id": null,
          "inventory_quantity": 13,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 13,
          "requires_shipping": true
        }
      ],
      "options": [
        {
          "id": 891236591,
          "product_id": 921728736,
          "name": "Title",
          "position": 1,
          "values": [
            "Black"
          ]
        }
      ],
      "images": [
      ],
      "image": null
    }
  ]
}

Get 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": "2017-09-22T14:08:02-04:00",
      "handle": "ipod-nano",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "published_at": "2007-12-31T19:00:00-05:00",
      "template_suffix": null,
      "published_scope": "web",
      "tags": "Emotive, Flash Memory, MP3, Music",
      "variants": [
        {
          "id": 808950810,
          "product_id": 632910392,
          "title": "Pink",
          "price": "199.00",
          "sku": "IPOD2008PINK",
          "position": 1,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Pink",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_pink",
          "image_id": 562641783,
          "inventory_quantity": 10,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 10,
          "requires_shipping": true
        },
        {
          "id": 49148385,
          "product_id": 632910392,
          "title": "Red",
          "price": "199.00",
          "sku": "IPOD2008RED",
          "position": 2,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Red",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_red",
          "image_id": null,
          "inventory_quantity": 20,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 20,
          "requires_shipping": true
        },
        {
          "id": 39072856,
          "product_id": 632910392,
          "title": "Green",
          "price": "199.00",
          "sku": "IPOD2008GREEN",
          "position": 3,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Green",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_green",
          "image_id": null,
          "inventory_quantity": 30,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 30,
          "requires_shipping": true
        },
        {
          "id": 457924702,
          "product_id": 632910392,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2008BLACK",
          "position": 4,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "image_id": null,
          "inventory_quantity": 40,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 40,
          "requires_shipping": true
        }
      ],
      "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": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "width": 123,
          "height": 456,
          "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
          "variant_ids": [
          ]
        },
        {
          "id": 562641783,
          "product_id": 632910392,
          "position": 2,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "width": 123,
          "height": 456,
          "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
          "variant_ids": [
            808950810
          ]
        }
      ],
      "image": {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      }
    }
  ]
}

Get 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": "2017-09-22T14:08:02-04:00",
      "handle": "ipod-nano",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "published_at": "2007-12-31T19:00:00-05:00",
      "template_suffix": null,
      "published_scope": "web",
      "tags": "Emotive, Flash Memory, MP3, Music",
      "variants": [
        {
          "id": 808950810,
          "product_id": 632910392,
          "title": "Pink",
          "price": "199.00",
          "sku": "IPOD2008PINK",
          "position": 1,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Pink",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_pink",
          "image_id": 562641783,
          "inventory_quantity": 10,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 10,
          "requires_shipping": true
        },
        {
          "id": 49148385,
          "product_id": 632910392,
          "title": "Red",
          "price": "199.00",
          "sku": "IPOD2008RED",
          "position": 2,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Red",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_red",
          "image_id": null,
          "inventory_quantity": 20,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 20,
          "requires_shipping": true
        },
        {
          "id": 39072856,
          "product_id": 632910392,
          "title": "Green",
          "price": "199.00",
          "sku": "IPOD2008GREEN",
          "position": 3,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Green",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_green",
          "image_id": null,
          "inventory_quantity": 30,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 30,
          "requires_shipping": true
        },
        {
          "id": 457924702,
          "product_id": 632910392,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2008BLACK",
          "position": 4,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "image_id": null,
          "inventory_quantity": 40,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 40,
          "requires_shipping": true
        }
      ],
      "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": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "width": 123,
          "height": 456,
          "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
          "variant_ids": [
          ]
        },
        {
          "id": 562641783,
          "product_id": 632910392,
          "position": 2,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "width": 123,
          "height": 456,
          "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
          "variant_ids": [
            808950810
          ]
        }
      ],
      "image": {
        "id": 850703190,
        "product_id": 632910392,
        "position": 1,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      }
    },
    {
      "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": "2017-09-22T14:08:02-04:00",
      "handle": "ipod-touch",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "published_at": "2008-09-25T20:00:00-04:00",
      "template_suffix": null,
      "published_scope": "global",
      "tags": "",
      "variants": [
        {
          "id": 447654529,
          "product_id": 921728736,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2009BLACK",
          "position": 1,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "image_id": null,
          "inventory_quantity": 13,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 13,
          "requires_shipping": true
        }
      ],
      "options": [
        {
          "id": 891236591,
          "product_id": 921728736,
          "name": "Title",
          "position": 1,
          "values": [
            "Black"
          ]
        }
      ],
      "images": [
      ],
      "image": null
    }
  ]
}

Get 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": "2017-09-22T14:08:02-04:00",
      "handle": "ipod-touch",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "published_at": "2008-09-25T20:00:00-04:00",
      "template_suffix": null,
      "published_scope": "global",
      "tags": "",
      "variants": [
        {
          "id": 447654529,
          "product_id": 921728736,
          "title": "Black",
          "price": "199.00",
          "sku": "IPOD2009BLACK",
          "position": 1,
          "grams": 567,
          "inventory_policy": "continue",
          "compare_at_price": null,
          "fulfillment_service": "manual",
          "inventory_management": "shopify",
          "option1": "Black",
          "option2": null,
          "option3": null,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "taxable": true,
          "barcode": "1234_black",
          "image_id": null,
          "inventory_quantity": 13,
          "weight": 1.25,
          "weight_unit": "lb",
          "old_inventory_quantity": 13,
          "requires_shipping": true
        }
      ],
      "options": [
        {
          "id": 891236591,
          "product_id": 921728736,
          "name": "Title",
          "position": 1,
          "values": [
            "Black"
          ]
        }
      ],
      "images": [
      ],
      "image": null
    }
  ]
}

Get 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": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "width": 123,
          "height": 456,
          "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
          "variant_ids": [
          ]
        },
        {
          "id": 562641783,
          "product_id": 632910392,
          "position": 2,
          "created_at": "2017-09-22T14:08:02-04:00",
          "updated_at": "2017-09-22T14:08:02-04:00",
          "width": 123,
          "height": 456,
          "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
          "variant_ids": [
            808950810
          ]
        }
      ]
    },
    {
      "id": 921728736,
      "title": "IPod Touch 8GB",
      "images": [
      ]
    }
  ]
}
GET /admin/products/count.json
Get a count of all products of a given collection
vendor

Filter by product vendor.

product_type

Filter by product type.

collection_id

Filter 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
  • published - Show only published products.
  • unpublished - Show only unpublished products.
  • any - Show all products. (default)

Counts all products that belong to a certain collection

GET /admin/products/count.json?collection_id=841564295
View Response
HTTP/1.1 200 OK
{
  "count": 1
}

Count all products

GET /admin/products/count.json
View Response
HTTP/1.1 200 OK
{
  "count": 2
}
GET /admin/products/632910392.json
Get a single product
fields

Comma-separated list of fields to include in the response.

Get only particular fields

GET /admin/products/#{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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
        "variant_ids": [
          808950810
        ]
      }
    ]
  }
}

Get a single product by ID

GET /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:08:02-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Emotive, Flash Memory, MP3, Music",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      }
    ],
    "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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
        "variant_ids": [
          808950810
        ]
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2017-09-22T14:08:02-04:00",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "width": 123,
      "height": 456,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
      "variant_ids": [
      ]
    }
  }
}
POST /admin/products.json
Create a new product

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": 1071559747,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!<\/strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2017-09-22T14:48:43-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2017-09-22T14:48:44-04:00",
    "published_at": "2017-09-22T14:48:43-04:00",
    "template_suffix": null,
    "published_scope": "global",
    "tags": "",
    "variants": [
      {
        "id": 1070325218,
        "product_id": 1071559747,
        "title": "Default Title",
        "price": "0.00",
        "sku": "",
        "position": 1,
        "grams": 0,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Default Title",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:48:44-04:00",
        "updated_at": "2017-09-22T14:48:44-04:00",
        "taxable": true,
        "barcode": null,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "old_inventory_quantity": 1,
        "requires_shipping": true
      }
    ],
    "options": [
      {
        "id": 1022828903,
        "product_id": 1071559747,
        "name": "Title",
        "position": 1,
        "values": [
          "Default Title"
        ]
      }
    ],
    "images": [
      {
        "id": 1001473945,
        "product_id": 1071559747,
        "position": 1,
        "created_at": "2017-09-22T14:48:43-04:00",
        "updated_at": "2017-09-22T14:48:43-04:00",
        "width": 1,
        "height": 1,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/df3e567d6f16d040326c7a0ea29a4f41.gif?v=1506106123",
        "variant_ids": [
        ]
      }
    ],
    "image": {
      "id": 1001473945,
      "product_id": 1071559747,
      "position": 1,
      "created_at": "2017-09-22T14:48:43-04:00",
      "updated_at": "2017-09-22T14:48:43-04:00",
      "width": 1,
      "height": 1,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/df3e567d6f16d040326c7a0ea29a4f41.gif?v=1506106123",
      "variant_ids": [
      ]
    }
  }
}

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, \"Big Air\""
  }
}
View Response
HTTP/1.1 201 Created
{
  "product": {
    "id": 1071559748,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!<\/strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2017-09-22T14:48:44-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2017-09-22T14:48:44-04:00",
    "published_at": "2017-09-22T14:48:44-04:00",
    "template_suffix": null,
    "published_scope": "global",
    "tags": "\"Big Air\", Barnes & Noble, John's Fav",
    "variants": [
      {
        "id": 1070325219,
        "product_id": 1071559748,
        "title": "Default Title",
        "price": "0.00",
        "sku": "",
        "position": 1,
        "grams": 0,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Default Title",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:48:44-04:00",
        "updated_at": "2017-09-22T14:48:44-04:00",
        "taxable": true,
        "barcode": null,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "old_inventory_quantity": 1,
        "requires_shipping": true
      }
    ],
    "options": [
      {
        "id": 1022828904,
        "product_id": 1071559748,
        "name": "Title",
        "position": 1,
        "values": [
          "Default Title"
        ]
      }
    ],
    "images": [
    ],
    "image": null
  }
}

Trying to create 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 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": 1071559752,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!<\/strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2017-09-22T14:48:52-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2017-09-22T14:48:52-04:00",
    "published_at": "2017-09-22T14:48:52-04:00",
    "template_suffix": null,
    "published_scope": "global",
    "tags": "",
    "variants": [
      {
        "id": 1070325223,
        "product_id": 1071559752,
        "title": "Default Title",
        "price": "0.00",
        "sku": "",
        "position": 1,
        "grams": 0,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Default Title",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:48:52-04:00",
        "updated_at": "2017-09-22T14:48:52-04:00",
        "taxable": true,
        "barcode": null,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "old_inventory_quantity": 1,
        "requires_shipping": true
      }
    ],
    "options": [
      {
        "id": 1022828911,
        "product_id": 1071559752,
        "name": "Title",
        "position": 1,
        "values": [
          "Default Title"
        ]
      }
    ],
    "images": [
      {
        "id": 1001473946,
        "product_id": 1071559752,
        "position": 1,
        "created_at": "2017-09-22T14:48:52-04:00",
        "updated_at": "2017-09-22T14:48:52-04:00",
        "width": 110,
        "height": 140,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/rails_logo.gif?v=1506106132",
        "variant_ids": [
        ]
      }
    ],
    "image": {
      "id": 1001473946,
      "product_id": 1071559752,
      "position": 1,
      "created_at": "2017-09-22T14:48:52-04:00",
      "updated_at": "2017-09-22T14:48:52-04:00",
      "width": 110,
      "height": 140,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/rails_logo.gif?v=1506106132",
      "variant_ids": [
      ]
    }
  }
}

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": 1071559753,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!<\/strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2017-09-22T14:48:52-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2017-09-22T14:48:52-04:00",
    "published_at": null,
    "template_suffix": null,
    "published_scope": "global",
    "tags": "",
    "variants": [
      {
        "id": 1070325224,
        "product_id": 1071559753,
        "title": "Default Title",
        "price": "0.00",
        "sku": "",
        "position": 1,
        "grams": 0,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Default Title",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:48:52-04:00",
        "updated_at": "2017-09-22T14:48:52-04:00",
        "taxable": true,
        "barcode": null,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "old_inventory_quantity": 1,
        "requires_shipping": true
      }
    ],
    "options": [
      {
        "id": 1022828912,
        "product_id": 1071559753,
        "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": 1071559755,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!<\/strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2017-09-22T14:48:54-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2017-09-22T14:48:55-04:00",
    "published_at": "2017-09-22T14:48:54-04:00",
    "template_suffix": null,
    "published_scope": "global",
    "tags": "",
    "variants": [
      {
        "id": 1070325225,
        "product_id": 1071559755,
        "title": "First",
        "price": "10.00",
        "sku": "123",
        "position": 1,
        "grams": 0,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "First",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:48:54-04:00",
        "updated_at": "2017-09-22T14:48:54-04:00",
        "taxable": true,
        "barcode": null,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "old_inventory_quantity": 1,
        "requires_shipping": true
      },
      {
        "id": 1070325226,
        "product_id": 1071559755,
        "title": "Second",
        "price": "20.00",
        "sku": "123",
        "position": 2,
        "grams": 0,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Second",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:48:54-04:00",
        "updated_at": "2017-09-22T14:48:54-04:00",
        "taxable": true,
        "barcode": null,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "old_inventory_quantity": 1,
        "requires_shipping": true
      }
    ],
    "options": [
      {
        "id": 1022828915,
        "product_id": 1071559755,
        "name": "Title",
        "position": 1,
        "values": [
          "First",
          "Second"
        ]
      }
    ],
    "images": [
    ],
    "image": null
  }
}

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": 1071559758,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!<\/strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2017-09-22T14:49:04-04:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2017-09-22T14:49:04-04:00",
    "published_at": "2017-09-22T14:49:04-04:00",
    "template_suffix": null,
    "published_scope": "global",
    "tags": "",
    "variants": [
      {
        "id": 1070325228,
        "product_id": 1071559758,
        "title": "Default Title",
        "price": "0.00",
        "sku": "",
        "position": 1,
        "grams": 0,
        "inventory_policy": "deny",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": null,
        "option1": "Default Title",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:49:04-04:00",
        "updated_at": "2017-09-22T14:49:04-04:00",
        "taxable": true,
        "barcode": null,
        "image_id": null,
        "inventory_quantity": 1,
        "weight": 0.0,
        "weight_unit": "lb",
        "old_inventory_quantity": 1,
        "requires_shipping": true
      }
    ],
    "options": [
      {
        "id": 1022828919,
        "product_id": 1071559758,
        "name": "Title",
        "position": 1,
        "values": [
          "Default Title"
        ]
      }
    ],
    "images": [
    ],
    "image": null
  }
}
PUT /admin/products/632910392.json
Update a product and associated variants and images

Hide a published product by changing the published attribute to false

PUT /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:48:36-04:00",
    "published_at": null,
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Emotive, Flash Memory, MP3, Music",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:37-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      }
    ],
    "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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
        "variant_ids": [
          808950810
        ]
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2017-09-22T14:08:02-04:00",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "width": 123,
      "height": 456,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
      "variant_ids": [
      ]
    }
  }
}

Update a product by reordering the product variants

PUT /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:48:38-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Emotive, Flash Memory, MP3, Music",
    "variants": [
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:38-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:38-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:38-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:38-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      }
    ],
    "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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
        "variant_ids": [
          808950810
        ]
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2017-09-22T14:08:02-04:00",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "width": 123,
      "height": 456,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
      "variant_ids": [
      ]
    }
  }
}

Update a product's title

PUT /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:48:39-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Emotive, Flash Memory, MP3, Music",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:40-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      }
    ],
    "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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
        "variant_ids": [
          808950810
        ]
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2017-09-22T14:08:02-04:00",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "width": 123,
      "height": 456,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
      "variant_ids": [
      ]
    }
  }
}

Update a product's tags

PUT /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:48:41-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Barnes & Noble, John's Fav",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:41-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      }
    ],
    "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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
        "variant_ids": [
          808950810
        ]
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2017-09-22T14:08:02-04:00",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "width": 123,
      "height": 456,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
      "variant_ids": [
      ]
    }
  }
}

Update a product and one of its variants

PUT /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:48:47-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Emotive, Flash Memory, MP3, Music",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "2000.00",
        "sku": "Updating the Product SKU",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:47-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      }
    ],
    "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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
        "variant_ids": [
          808950810
        ]
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2017-09-22T14:08:02-04:00",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "width": 123,
      "height": 456,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
      "variant_ids": [
      ]
    }
  }
}

Show a hidden product by changing the published attribute to true

PUT /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:48:50-04:00",
    "published_at": "2017-09-22T14:48:50-04:00",
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Emotive, Flash Memory, MP3, Music",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:50-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      }
    ],
    "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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
        "variant_ids": [
          808950810
        ]
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2017-09-22T14:08:02-04:00",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "width": 123,
      "height": 456,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
      "variant_ids": [
      ]
    }
  }
}

Add a metafield to an existing product

PUT /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:48:57-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Emotive, Flash Memory, MP3, Music",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:57-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      }
    ],
    "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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
        "variant_ids": [
          808950810
        ]
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2017-09-22T14:08:02-04:00",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "width": 123,
      "height": 456,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
      "variant_ids": [
      ]
    }
  }
}

Update a product by reordering product image

PUT /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:48:59-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Emotive, Flash Memory, MP3, Music",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:59-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      }
    ],
    "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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:58-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506106138",
        "variant_ids": [
          808950810
        ]
      },
      {
        "id": 850703190,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:48:58-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506106138",
        "variant_ids": [
        ]
      }
    ],
    "image": {
      "id": 562641783,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2017-09-22T14:08:02-04:00",
      "updated_at": "2017-09-22T14:48:58-04:00",
      "width": 123,
      "height": 456,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506106138",
      "variant_ids": [
        808950810
      ]
    }
  }
}

Update a product's SEO title and description

PUT /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:08:02-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Emotive, Flash Memory, MP3, Music",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:49:09-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      }
    ],
    "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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
        "variant_ids": [
          808950810
        ]
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2017-09-22T14:08:02-04:00",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "width": 123,
      "height": 456,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
      "variant_ids": [
      ]
    }
  }
}

Update a product by adding a new product image

PUT /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:49:11-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Emotive, Flash Memory, MP3, Music",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:49:11-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": 562641783,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      }
    ],
    "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": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
        "variant_ids": [
        ]
      },
      {
        "id": 562641783,
        "product_id": 632910392,
        "position": 2,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "width": 123,
        "height": 456,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano-2.png?v=1506103682",
        "variant_ids": [
          808950810
        ]
      },
      {
        "id": 1001473948,
        "product_id": 632910392,
        "position": 3,
        "created_at": "2017-09-22T14:49:11-04:00",
        "updated_at": "2017-09-22T14:49:11-04:00",
        "width": 110,
        "height": 140,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/rails_logo.gif?v=1506106151",
        "variant_ids": [
        ]
      }
    ],
    "image": {
      "id": 850703190,
      "product_id": 632910392,
      "position": 1,
      "created_at": "2017-09-22T14:08:02-04:00",
      "updated_at": "2017-09-22T14:08:02-04:00",
      "width": 123,
      "height": 456,
      "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/products\/ipod-nano.png?v=1506103682",
      "variant_ids": [
      ]
    }
  }
}

Update a product by clearing product images

PUT /admin/products/#{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": "2017-09-22T14:08:02-04:00",
    "handle": "ipod-nano",
    "updated_at": "2017-09-22T14:49:16-04:00",
    "published_at": "2007-12-31T19:00:00-05:00",
    "template_suffix": null,
    "published_scope": "web",
    "tags": "Emotive, Flash Memory, MP3, Music",
    "variants": [
      {
        "id": 808950810,
        "product_id": 632910392,
        "title": "Pink",
        "price": "199.00",
        "sku": "IPOD2008PINK",
        "position": 1,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Pink",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:49:16-04:00",
        "taxable": true,
        "barcode": "1234_pink",
        "image_id": null,
        "inventory_quantity": 10,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 10,
        "requires_shipping": true
      },
      {
        "id": 49148385,
        "product_id": 632910392,
        "title": "Red",
        "price": "199.00",
        "sku": "IPOD2008RED",
        "position": 2,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Red",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_red",
        "image_id": null,
        "inventory_quantity": 20,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 20,
        "requires_shipping": true
      },
      {
        "id": 39072856,
        "product_id": 632910392,
        "title": "Green",
        "price": "199.00",
        "sku": "IPOD2008GREEN",
        "position": 3,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Green",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_green",
        "image_id": null,
        "inventory_quantity": 30,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 30,
        "requires_shipping": true
      },
      {
        "id": 457924702,
        "product_id": 632910392,
        "title": "Black",
        "price": "199.00",
        "sku": "IPOD2008BLACK",
        "position": 4,
        "grams": 567,
        "inventory_policy": "continue",
        "compare_at_price": null,
        "fulfillment_service": "manual",
        "inventory_management": "shopify",
        "option1": "Black",
        "option2": null,
        "option3": null,
        "created_at": "2017-09-22T14:08:02-04:00",
        "updated_at": "2017-09-22T14:08:02-04:00",
        "taxable": true,
        "barcode": "1234_black",
        "image_id": null,
        "inventory_quantity": 40,
        "weight": 1.25,
        "weight_unit": "lb",
        "old_inventory_quantity": 40,
        "requires_shipping": true
      }
    ],
    "options": [
      {
        "id": 594680422,
        "product_id": 632910392,
        "name": "Color",
        "position": 1,
        "values": [
          "Pink",
          "Red",
          "Green",
          "Black"
        ]
      }
    ],
    "images": [
    ],
    "image": null
  }
}
DELETE /admin/products/632910392.json
Delete a product from the shop

Delete a product along with all its variants and images

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