Shopify API – Product

top

Receive a list of all Products

Get all products of a given collection

Available URL Query parameters:

  • limit — Amount of results (default: 50) (maximum: 250)
  • page — Page to show (default: 1)
  • 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: 2008-01-01 03:00)
  • created_at_max — Show products created before date (format: 2008-01-01 03:00)
  • updated_at_min — Show products last updated after date (format: 2008-01-01 03:00)
  • updated_at_max — Show products last updated before date (format: 2008-01-01 03:00)
GET /admin/products.xml?collection_id=841564294

Fetches all products that belong to a certain collection

Response

           
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<products type="array">
  <product>
    <body>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.</body>
    <body-html>&lt;p&gt;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.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
    <handle>ipod-nano</handle>
    <id type="integer">1706652214</id>
    <product-type>Cult Products</product-type>
    <published-at type="datetime">2007-12-31T19:00:00-05:00</published-at>
    <template-suffix nil="true"></template-suffix>
    <title>IPod Nano - 8GB</title>
    <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    <vendor>Apple</vendor>
    <tags>Emotive, Flash Memory, MP3, Music</tags>
    <variants type="array">
      <variant>
        <compare-at-price type="decimal" nil="true"></compare-at-price>
        <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
        <fulfillment-service>manual</fulfillment-service>
        <grams type="integer">200</grams>
        <id type="integer">808950810</id>
        <inventory-management>shopify</inventory-management>
        <inventory-policy>continue</inventory-policy>
        <inventory-quantity type="integer">10</inventory-quantity>
        <option1>Pink</option1>
        <option2 nil="true"></option2>
        <option3 nil="true"></option3>
        <position type="integer">1</position>
        <price type="decimal">199.00</price>
        <product-id type="integer">1706652214</product-id>
        <requires-shipping type="boolean">true</requires-shipping>
        <sku>IPOD2008PINK</sku>
        <taxable type="boolean">true</taxable>
        <title>Pink</title>
        <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      </variant>
      <variant>
        <compare-at-price type="decimal" nil="true"></compare-at-price>
        <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
        <fulfillment-service>manual</fulfillment-service>
        <grams type="integer">200</grams>
        <id type="integer">1122890207</id>
        <inventory-management>shopify</inventory-management>
        <inventory-policy>continue</inventory-policy>
        <inventory-quantity type="integer">20</inventory-quantity>
        <option1>Red</option1>
        <option2 nil="true"></option2>
        <option3 nil="true"></option3>
        <position type="integer">2</position>
        <price type="decimal">199.00</price>
        <product-id type="integer">1706652214</product-id>
        <requires-shipping type="boolean">true</requires-shipping>
        <sku>IPOD2008RED</sku>
        <taxable type="boolean">true</taxable>
        <title>Red</title>
        <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      </variant>
      <variant>
        <compare-at-price type="decimal" nil="true"></compare-at-price>
        <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
        <fulfillment-service>manual</fulfillment-service>
        <grams type="integer">200</grams>
        <id type="integer">1112814679</id>
        <inventory-management>shopify</inventory-management>
        <inventory-policy>continue</inventory-policy>
        <inventory-quantity type="integer">30</inventory-quantity>
        <option1>Green</option1>
        <option2 nil="true"></option2>
        <option3 nil="true"></option3>
        <position type="integer">3</position>
        <price type="decimal">199.00</price>
        <product-id type="integer">1706652214</product-id>
        <requires-shipping type="boolean">true</requires-shipping>
        <sku>IPOD2008GREEN</sku>
        <taxable type="boolean">true</taxable>
        <title>Green</title>
        <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      </variant>
      <variant>
        <compare-at-price type="decimal" nil="true"></compare-at-price>
        <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
        <fulfillment-service>manual</fulfillment-service>
        <grams type="integer">200</grams>
        <id type="integer">457924702</id>
        <inventory-management>shopify</inventory-management>
        <inventory-policy>continue</inventory-policy>
        <inventory-quantity type="integer">40</inventory-quantity>
        <option1>Black</option1>
        <option2 nil="true"></option2>
        <option3 nil="true"></option3>
        <position type="integer">4</position>
        <price type="decimal">199.00</price>
        <product-id type="integer">1706652214</product-id>
        <requires-shipping type="boolean">true</requires-shipping>
        <sku>IPOD2008BLACK</sku>
        <taxable type="boolean">true</taxable>
        <title>Black</title>
        <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      </variant>
    </variants>
    <images type="array">
      <image>
        <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
        <id type="integer">1924445013</id>
        <position type="integer">1</position>
        <product-id type="integer">1706652214</product-id>
        <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
        <src>http://static.shopify.com/s/files/1/6909/3384/products/ipod-nano.png?0</src>
      </image>
    </images>
    <options type="array">
      <option>
        <name>Title</name>
      </option>
    </options>
  </product>
</products>
GET /admin/products.xml

Get all products

Response

           
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<products type="array">
  <product>
    <body>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.</body>
    <body-html>&lt;p&gt;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.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
    <handle>ipod-nano</handle>
    <id type="integer">1706652214</id>
    <product-type>Cult Products</product-type>
    <published-at type="datetime">2007-12-31T19:00:00-05:00</published-at>
    <template-suffix nil="true"></template-suffix>
    <title>IPod Nano - 8GB</title>
    <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    <vendor>Apple</vendor>
    <tags>Emotive, Flash Memory, MP3, Music</tags>
    <variants type="array">
      <variant>
        <compare-at-price type="decimal" nil="true"></compare-at-price>
        <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
        <fulfillment-service>manual</fulfillment-service>
        <grams type="integer">200</grams>
        <id type="integer">808950810</id>
        <inventory-management>shopify</inventory-management>
        <inventory-policy>continue</inventory-policy>
        <inventory-quantity type="integer">10</inventory-quantity>
        <option1>Pink</option1>
        <option2 nil="true"></option2>
        <option3 nil="true"></option3>
        <position type="integer">1</position>
        <price type="decimal">199.00</price>
        <product-id type="integer">1706652214</product-id>
        <requires-shipping type="boolean">true</requires-shipping>
        <sku>IPOD2008PINK</sku>
        <taxable type="boolean">true</taxable>
        <title>Pink</title>
        <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      </variant>
      <variant>
        <compare-at-price type="decimal" nil="true"></compare-at-price>
        <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
        <fulfillment-service>manual</fulfillment-service>
        <grams type="integer">200</grams>
        <id type="integer">1122890207</id>
        <inventory-management>shopify</inventory-management>
        <inventory-policy>continue</inventory-policy>
        <inventory-quantity type="integer">20</inventory-quantity>
        <option1>Red</option1>
        <option2 nil="true"></option2>
        <option3 nil="true"></option3>
        <position type="integer">2</position>
        <price type="decimal">199.00</price>
        <product-id type="integer">1706652214</product-id>
        <requires-shipping type="boolean">true</requires-shipping>
        <sku>IPOD2008RED</sku>
        <taxable type="boolean">true</taxable>
        <title>Red</title>
        <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      </variant>
      <variant>
        <compare-at-price type="decimal" nil="true"></compare-at-price>
        <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
        <fulfillment-service>manual</fulfillment-service>
        <grams type="integer">200</grams>
        <id type="integer">1112814679</id>
        <inventory-management>shopify</inventory-management>
        <inventory-policy>continue</inventory-policy>
        <inventory-quantity type="integer">30</inventory-quantity>
        <option1>Green</option1>
        <option2 nil="true"></option2>
        <option3 nil="true"></option3>
        <position type="integer">3</position>
        <price type="decimal">199.00</price>
        <product-id type="integer">1706652214</product-id>
        <requires-shipping type="boolean">true</requires-shipping>
        <sku>IPOD2008GREEN</sku>
        <taxable type="boolean">true</taxable>
        <title>Green</title>
        <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      </variant>
      <variant>
        <compare-at-price type="decimal" nil="true"></compare-at-price>
        <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
        <fulfillment-service>manual</fulfillment-service>
        <grams type="integer">200</grams>
        <id type="integer">457924702</id>
        <inventory-management>shopify</inventory-management>
        <inventory-policy>continue</inventory-policy>
        <inventory-quantity type="integer">40</inventory-quantity>
        <option1>Black</option1>
        <option2 nil="true"></option2>
        <option3 nil="true"></option3>
        <position type="integer">4</position>
        <price type="decimal">199.00</price>
        <product-id type="integer">1706652214</product-id>
        <requires-shipping type="boolean">true</requires-shipping>
        <sku>IPOD2008BLACK</sku>
        <taxable type="boolean">true</taxable>
        <title>Black</title>
        <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      </variant>
    </variants>
    <images type="array">
      <image>
        <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
        <id type="integer">1924445013</id>
        <position type="integer">1</position>
        <product-id type="integer">1706652214</product-id>
        <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
        <src>http://static.shopify.com/s/files/1/6909/3384/products/ipod-nano.png?0</src>
      </image>
    </images>
    <options type="array">
      <option>
        <name>Title</name>
      </option>
    </options>
  </product>
  <product>
    <body>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.</body>
    <body-html>&lt;p&gt;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.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
    <handle>ipod-touch</handle>
    <id type="integer">921728735</id>
    <product-type>Cult Products</product-type>
    <published-at type="datetime">2008-09-25T20:00:00-04:00</published-at>
    <template-suffix nil="true"></template-suffix>
    <title>IPod Touch 8GB</title>
    <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    <vendor>Apple</vendor>
    <tags nil="true"></tags>
    <variants type="array"/>
    <images type="array"/>
    <options type="array">
      <option>
        <name>Title</name>
      </option>
    </options>
  </product>
</products>
top

Receive a count of all Products

Get a count of all products of a given collection

Available URL Query parameters:

  • 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: 2008-01-01 03:00)
  • created_at_max — Show products created before date (format: 2008-01-01 03:00)
  • updated_at_min — Show products last updated after date (format: 2008-01-01 03:00)
  • updated_at_max — Show products last updated before date (format: 2008-01-01 03:00)
GET /admin/products/count.xml

Count all products

Response

           
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<count type="integer">2</count>
GET /admin/products/count.xml?collection_id=841564294

Counts all products that belong to a certain collection

Response

           
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<count type="integer">1</count>
top

Receive a single Product

Get a single product

GET /admin/products/#{id}.xml

Get a single product by ID

Response

           
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <body>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.</body>
  <body-html>&lt;p&gt;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.&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
  <handle>ipod-nano</handle>
  <id type="integer">1706652214</id>
  <product-type>Cult Products</product-type>
  <published-at type="datetime">2007-12-31T19:00:00-05:00</published-at>
  <template-suffix nil="true"></template-suffix>
  <title>IPod Nano - 8GB</title>
  <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
  <vendor>Apple</vendor>
  <tags>Emotive, Flash Memory, MP3, Music</tags>
  <variants type="array">
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">808950810</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">10</inventory-quantity>
      <option1>Pink</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">1</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008PINK</sku>
      <taxable type="boolean">true</taxable>
      <title>Pink</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">1122890207</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">20</inventory-quantity>
      <option1>Red</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">2</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008RED</sku>
      <taxable type="boolean">true</taxable>
      <title>Red</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">1112814679</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">30</inventory-quantity>
      <option1>Green</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">3</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008GREEN</sku>
      <taxable type="boolean">true</taxable>
      <title>Green</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">457924702</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">40</inventory-quantity>
      <option1>Black</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">4</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008BLACK</sku>
      <taxable type="boolean">true</taxable>
      <title>Black</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
  </variants>
  <images type="array">
    <image>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <id type="integer">1924445013</id>
      <position type="integer">1</position>
      <product-id type="integer">1706652214</product-id>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      <src>http://static.shopify.com/s/files/1/6909/3384/products/ipod-nano.png?0</src>
    </image>
  </images>
  <options type="array">
    <option>
      <name>Title</name>
    </option>
  </options>
</product>
top

Create a new Product

Create a new product

POST /admin/products.xml

Create a new product with multiple product variants

Request

           
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <product-type>Snowboard</product-type>
  <body>Good snowboard!</body>
  <title>Burton Custom Freestlye 151</title>
  <variants type="array">
    <variant>
      <option1>First</option1>
      <price>10.00</price>
    </variant>
    <variant>
      <option1>Second</option1>
      <price>20.00</price>
    </variant>
  </variants>
  <vendor>Burton</vendor>
</product>      

Response

           
HTTP/1.1 201 Created
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <body>Good snowboard!</body>
  <body-html>&lt;p&gt;Good snowboard!&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-12-12T15:19:09-05:00</created-at>
  <handle>burton-custom-freestlye-151</handle>
  <id type="integer">1862380932</id>
  <product-type>Snowboard</product-type>
  <published-at type="datetime">2009-12-12T15:19:09-05:00</published-at>
  <template-suffix nil="true"></template-suffix>
  <title>Burton Custom Freestlye 151</title>
  <updated-at type="datetime">2009-12-12T15:19:09-05:00</updated-at>
  <vendor>Burton</vendor>
  <tags nil="true"></tags>
  <variants type="array">
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:19:09-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">0</grams>
      <id type="integer">1950891966</id>
      <inventory-management nil="true"></inventory-management>
      <inventory-policy>deny</inventory-policy>
      <inventory-quantity type="integer">1</inventory-quantity>
      <option1>First</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">1</position>
      <price type="decimal">10.00</price>
      <product-id type="integer">1862380932</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku></sku>
      <taxable type="boolean">true</taxable>
      <title>First</title>
      <updated-at type="datetime">2009-12-12T15:19:09-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:19:09-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">0</grams>
      <id type="integer">1950891967</id>
      <inventory-management nil="true"></inventory-management>
      <inventory-policy>deny</inventory-policy>
      <inventory-quantity type="integer">1</inventory-quantity>
      <option1>Second</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">2</position>
      <price type="decimal">20.00</price>
      <product-id type="integer">1862380932</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku></sku>
      <taxable type="boolean">true</taxable>
      <title>Second</title>
      <updated-at type="datetime">2009-12-12T15:19:09-05:00</updated-at>
    </variant>
  </variants>
  <images type="array"/>
  <options type="array">
    <option>
      <name>Title</name>
    </option>
  </options>
</product>
POST /admin/products.xml

Create a new product with the default product variant

Request

           
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <product-type>Snowboard</product-type>
  <body>Good snowboard!</body>
  <title>Burton Custom Freestlye 151</title>
  <tags>Barnes &amp; Noble, John's Fav, &quot;Big Air&quot;</tags>
  <vendor>Burton</vendor>
</product>      

Response

           
HTTP/1.1 201 Created
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <body>Good snowboard!</body>
  <body-html>&lt;p&gt;Good snowboard!&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-12-12T15:19:11-05:00</created-at>
  <handle>burton-custom-freestlye-151</handle>
  <id type="integer">1862380933</id>
  <product-type>Snowboard</product-type>
  <published-at type="datetime">2009-12-12T15:19:11-05:00</published-at>
  <template-suffix nil="true"></template-suffix>
  <title>Burton Custom Freestlye 151</title>
  <updated-at type="datetime">2009-12-12T15:19:11-05:00</updated-at>
  <vendor>Burton</vendor>
  <tags>&quot;Big Air&quot;, Barnes &amp; Noble, John's Fav</tags>
  <variants type="array">
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:19:11-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">0</grams>
      <id type="integer">1950891968</id>
      <inventory-management nil="true"></inventory-management>
      <inventory-policy>deny</inventory-policy>
      <inventory-quantity type="integer">1</inventory-quantity>
      <option1>Default</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">1</position>
      <price type="decimal">0.00</price>
      <product-id type="integer">1862380933</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku></sku>
      <taxable type="boolean">true</taxable>
      <title>Default</title>
      <updated-at type="datetime">2009-12-12T15:19:11-05:00</updated-at>
    </variant>
  </variants>
  <images type="array"/>
  <options type="array">
    <option>
      <name>Title</name>
    </option>
  </options>
</product>
POST /admin/products.xml

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

Request

           
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <product-type>Snowboard</product-type>
  <body>Good snowboard!</body>
  <title>Burton Custom Freestlye 151</title>
  <images type="array">
    <image>
      <src>http://example.com/rails_logo.gif</src>
    </image>
  </images>
  <vendor>Burton</vendor>
</product>      

Response

           
HTTP/1.1 201 Created
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <body>Good snowboard!</body>
  <body-html>&lt;p&gt;Good snowboard!&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-12-12T15:19:13-05:00</created-at>
  <handle>burton-custom-freestlye-151</handle>
  <id type="integer">1862380934</id>
  <product-type>Snowboard</product-type>
  <published-at type="datetime">2009-12-12T15:19:13-05:00</published-at>
  <template-suffix nil="true"></template-suffix>
  <title>Burton Custom Freestlye 151</title>
  <updated-at type="datetime">2009-12-12T15:19:13-05:00</updated-at>
  <vendor>Burton</vendor>
  <tags nil="true"></tags>
  <variants type="array">
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:19:14-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">0</grams>
      <id type="integer">1950891969</id>
      <inventory-management nil="true"></inventory-management>
      <inventory-policy>deny</inventory-policy>
      <inventory-quantity type="integer">1</inventory-quantity>
      <option1>Default</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">1</position>
      <price type="decimal">0.00</price>
      <product-id type="integer">1862380934</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku></sku>
      <taxable type="boolean">true</taxable>
      <title>Default</title>
      <updated-at type="datetime">2009-12-12T15:19:14-05:00</updated-at>
    </variant>
  </variants>
  <images type="array">
    <image>
      <created-at type="datetime">2009-12-12T15:19:22-05:00</created-at>
      <id type="integer">1924445083</id>
      <position type="integer">1</position>
      <product-id type="integer">1862380934</product-id>
      <updated-at type="datetime">2009-12-12T15:19:22-05:00</updated-at>
      <src>http://static.shopify.com/s/files/1/6909/3384/products/rails_logo.gif?1260649155</src>
    </image>
  </images>
  <options type="array">
    <option>
      <name>Title</name>
    </option>
  </options>
</product>
POST /admin/products.xml

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

Request

           
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <product-type>Snowboard</product-type>
  <body>Good snowboard!</body>
  <title>Burton Custom Freestlye 151</title>
  <images type="array">
    <image>
      <attachment>R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==
</attachment>
    </image>
  </images>
  <vendor>Burton</vendor>
</product>      

Response

           
HTTP/1.1 201 Created
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <body>Good snowboard!</body>
  <body-html>&lt;p&gt;Good snowboard!&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-12-12T15:19:26-05:00</created-at>
  <handle>burton-custom-freestlye-151</handle>
  <id type="integer">1862380935</id>
  <product-type>Snowboard</product-type>
  <published-at type="datetime">2009-12-12T15:19:26-05:00</published-at>
  <template-suffix nil="true"></template-suffix>
  <title>Burton Custom Freestlye 151</title>
  <updated-at type="datetime">2009-12-12T15:19:26-05:00</updated-at>
  <vendor>Burton</vendor>
  <tags nil="true"></tags>
  <variants type="array">
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:19:26-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">0</grams>
      <id type="integer">1950891970</id>
      <inventory-management nil="true"></inventory-management>
      <inventory-policy>deny</inventory-policy>
      <inventory-quantity type="integer">1</inventory-quantity>
      <option1>Default</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">1</position>
      <price type="decimal">0.00</price>
      <product-id type="integer">1862380935</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku></sku>
      <taxable type="boolean">true</taxable>
      <title>Default</title>
      <updated-at type="datetime">2009-12-12T15:19:26-05:00</updated-at>
    </variant>
  </variants>
  <images type="array">
    <image>
      <created-at type="datetime">2009-12-12T15:19:27-05:00</created-at>
      <id type="integer">1924445084</id>
      <position type="integer">1</position>
      <product-id type="integer">1862380935</product-id>
      <updated-at type="datetime">2009-12-12T15:19:27-05:00</updated-at>
      <src>http://static.shopify.com/s/files/1/6909/3384/products/df3e567d6f16d040326c7a0ea29a4f41.gif?1260649166</src>
    </image>
  </images>
  <options type="array">
    <option>
      <name>Title</name>
    </option>
  </options>
</product>
top

Modify an existing Product

Update a product and associated variants and images

PUT /admin/products/#{id}.xml

Update a product's tags

Request

           
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <id type="integer">1706652214</id>
  <tags>Barnes &amp; Noble, John's Fav</tags>
</product>      

Response

           
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <body>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.</body>
  <body-html>&lt;p&gt;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.&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
  <handle>ipod-nano</handle>
  <id type="integer">1706652214</id>
  <product-type>Cult Products</product-type>
  <published-at type="datetime">2007-12-31T19:00:00-05:00</published-at>
  <template-suffix nil="true"></template-suffix>
  <title>IPod Nano - 8GB</title>
  <updated-at type="datetime">2009-12-12T15:19:38-05:00</updated-at>
  <vendor>Apple</vendor>
  <tags>Barnes &amp; Noble, John's Fav</tags>
  <variants type="array">
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">808950810</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">10</inventory-quantity>
      <option1>Pink</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">1</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008PINK</sku>
      <taxable type="boolean">true</taxable>
      <title>Pink</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">1122890207</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">20</inventory-quantity>
      <option1>Red</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">2</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008RED</sku>
      <taxable type="boolean">true</taxable>
      <title>Red</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">1112814679</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">30</inventory-quantity>
      <option1>Green</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">3</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008GREEN</sku>
      <taxable type="boolean">true</taxable>
      <title>Green</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">457924702</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">40</inventory-quantity>
      <option1>Black</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">4</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008BLACK</sku>
      <taxable type="boolean">true</taxable>
      <title>Black</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
  </variants>
  <images type="array">
    <image>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <id type="integer">1924445013</id>
      <position type="integer">1</position>
      <product-id type="integer">1706652214</product-id>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      <src>http://static.shopify.com/s/files/1/6909/3384/products/ipod-nano.png?0</src>
    </image>
  </images>
  <options type="array">
    <option>
      <name>Title</name>
    </option>
  </options>
</product>
PUT /admin/products/#{id}.xml

Update a product's title

Request

           
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <title>New product title</title>
  <id type="integer">1706652214</id>
</product>      

Response

           
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <body>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.</body>
  <body-html>&lt;p&gt;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.&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
  <handle>ipod-nano</handle>
  <id type="integer">1706652214</id>
  <product-type>Cult Products</product-type>
  <published-at type="datetime">2007-12-31T19:00:00-05:00</published-at>
  <template-suffix nil="true"></template-suffix>
  <title>New product title</title>
  <updated-at type="datetime">2009-12-12T15:19:41-05:00</updated-at>
  <vendor>Apple</vendor>
  <tags>Emotive, Flash Memory, MP3, Music</tags>
  <variants type="array">
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">808950810</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">10</inventory-quantity>
      <option1>Pink</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">1</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008PINK</sku>
      <taxable type="boolean">true</taxable>
      <title>Pink</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">1122890207</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">20</inventory-quantity>
      <option1>Red</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">2</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008RED</sku>
      <taxable type="boolean">true</taxable>
      <title>Red</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">1112814679</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">30</inventory-quantity>
      <option1>Green</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">3</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008GREEN</sku>
      <taxable type="boolean">true</taxable>
      <title>Green</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">457924702</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">40</inventory-quantity>
      <option1>Black</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">4</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008BLACK</sku>
      <taxable type="boolean">true</taxable>
      <title>Black</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
  </variants>
  <images type="array">
    <image>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <id type="integer">1924445013</id>
      <position type="integer">1</position>
      <product-id type="integer">1706652214</product-id>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      <src>http://static.shopify.com/s/files/1/6909/3384/products/ipod-nano.png?0</src>
    </image>
  </images>
  <options type="array">
    <option>
      <name>Title</name>
    </option>
  </options>
</product>
PUT /admin/products/#{id}.xml

Update a product, adding a new product image

Request

           
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <body-html>&lt;p&gt;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.&lt;/p&gt;</body-html>
  <product-type>Cult Products</product-type>
  <handle>ipod-nano</handle>
  <created-at type="datetime">2009-12-12T20:15:44Z</created-at>
  <template-suffix nil="true"></template-suffix>
  <body>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.</body>
  <title>IPod Nano - 8GB</title>
  <updated-at type="datetime">2009-12-12T20:15:44Z</updated-at>
  <id type="integer">1706652214</id>
  <tags>Emotive, Flash Memory, MP3, Music</tags>
  <images type="array">
    <image>
      <position type="integer">1</position>
      <created-at type="datetime">2009-12-12T20:15:44Z</created-at>
      <updated-at type="datetime">2009-12-12T20:15:44Z</updated-at>
      <src>http://static.shopify.com/s/files/1/6909/3384/products/ipod-nano.png?0</src>
      <id type="integer">1924445013</id>
    </image>
    <image>
      <src>http://example.com/rails_logo.gif</src>
    </image>
  </images>
  <variants type="array">
    <variant>
      <price type="decimal">199.0</price>
      <position type="integer">1</position>
      <created-at type="datetime">2009-12-12T20:15:44Z</created-at>
      <requires-shipping type="boolean">true</requires-shipping>
      <title>Pink</title>
      <inventory-quantity type="integer">10</inventory-quantity>
      <compare-at-price nil="true"></compare-at-price>
      <updated-at type="datetime">2009-12-12T20:15:44Z</updated-at>
      <inventory-policy>continue</inventory-policy>
      <inventory-management>shopify</inventory-management>
      <id type="integer">808950810</id>
      <taxable type="boolean">true</taxable>
      <grams type="integer">200</grams>
      <sku>IPOD2008PINK</sku>
      <option1>Pink</option1>
      <option2 nil="true"></option2>
      <fulfillment-service>manual</fulfillment-service>
      <option3 nil="true"></option3>
    </variant>
    <variant>
      <price type="decimal">199.0</price>
      <position type="integer">2</position>
      <created-at type="datetime">2009-12-12T20:15:44Z</created-at>
      <requires-shipping type="boolean">true</requires-shipping>
      <title>Red</title>
      <inventory-quantity type="integer">20</inventory-quantity>
      <compare-at-price nil="true"></compare-at-price>
      <updated-at type="datetime">2009-12-12T20:15:44Z</updated-at>
      <inventory-policy>continue</inventory-policy>
      <inventory-management>shopify</inventory-management>
      <id type="integer">1122890207</id>
      <taxable type="boolean">true</taxable>
      <grams type="integer">200</grams>
      <sku>IPOD2008RED</sku>
      <option1>Red</option1>
      <option2 nil="true"></option2>
      <fulfillment-service>manual</fulfillment-service>
      <option3 nil="true"></option3>
    </variant>
    <variant>
      <price type="decimal">199.0</price>
      <position type="integer">3</position>
      <created-at type="datetime">2009-12-12T20:15:44Z</created-at>
      <requires-shipping type="boolean">true</requires-shipping>
      <title>Green</title>
      <inventory-quantity type="integer">30</inventory-quantity>
      <compare-at-price nil="true"></compare-at-price>
      <updated-at type="datetime">2009-12-12T20:15:44Z</updated-at>
      <inventory-policy>continue</inventory-policy>
      <inventory-management>shopify</inventory-management>
      <id type="integer">1112814679</id>
      <taxable type="boolean">true</taxable>
      <grams type="integer">200</grams>
      <sku>IPOD2008GREEN</sku>
      <option1>Green</option1>
      <option2 nil="true"></option2>
      <fulfillment-service>manual</fulfillment-service>
      <option3 nil="true"></option3>
    </variant>
    <variant>
      <price type="decimal">199.0</price>
      <position type="integer">4</position>
      <created-at type="datetime">2009-12-12T20:15:44Z</created-at>
      <requires-shipping type="boolean">true</requires-shipping>
      <title>Black</title>
      <inventory-quantity type="integer">40</inventory-quantity>
      <compare-at-price nil="true"></compare-at-price>
      <updated-at type="datetime">2009-12-12T20:15:44Z</updated-at>
      <inventory-policy>continue</inventory-policy>
      <inventory-management>shopify</inventory-management>
      <id type="integer">457924702</id>
      <taxable type="boolean">true</taxable>
      <grams type="integer">200</grams>
      <sku>IPOD2008BLACK</sku>
      <option1>Black</option1>
      <option2 nil="true"></option2>
      <fulfillment-service>manual</fulfillment-service>
      <option3 nil="true"></option3>
    </variant>
  </variants>
  <published-at type="datetime">2008-01-01T00:00:00Z</published-at>
  <vendor>Apple</vendor>
  <options type="array">
    <option>
      <name>Title</name>
    </option>
  </options>
</product>      

Response

           
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <body>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.</body>
  <body-html>&lt;p&gt;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.&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
  <handle>ipod-nano</handle>
  <id type="integer">1706652214</id>
  <product-type>Cult Products</product-type>
  <published-at type="datetime">2007-12-31T19:00:00-05:00</published-at>
  <template-suffix nil="true"></template-suffix>
  <title>IPod Nano - 8GB</title>
  <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
  <vendor>Apple</vendor>
  <tags>Emotive, Flash Memory, MP3, Music</tags>
  <variants type="array">
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">808950810</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">10</inventory-quantity>
      <option1>Pink</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">1</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008PINK</sku>
      <taxable type="boolean">true</taxable>
      <title>Pink</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">1122890207</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">20</inventory-quantity>
      <option1>Red</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">2</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008RED</sku>
      <taxable type="boolean">true</taxable>
      <title>Red</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">1112814679</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">30</inventory-quantity>
      <option1>Green</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">3</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008GREEN</sku>
      <taxable type="boolean">true</taxable>
      <title>Green</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">457924702</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">40</inventory-quantity>
      <option1>Black</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">4</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008BLACK</sku>
      <taxable type="boolean">true</taxable>
      <title>Black</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
  </variants>
  <images type="array">
    <image>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <id type="integer">1924445013</id>
      <position type="integer">1</position>
      <product-id type="integer">1706652214</product-id>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
      <src>http://static.shopify.com/s/files/1/6909/3384/products/ipod-nano.png?1260649184</src>
    </image>
    <image>
      <created-at type="datetime">2009-12-12T15:19:46-05:00</created-at>
      <id type="integer">1924445085</id>
      <position type="integer">2</position>
      <product-id type="integer">1706652214</product-id>
      <updated-at type="datetime">2009-12-12T15:19:46-05:00</updated-at>
      <src>http://static.shopify.com/s/files/1/6909/3384/products/rails_logo.gif?1260649184</src>
    </image>
  </images>
  <options type="array">
    <option>
      <name>Title</name>
    </option>
  </options>
</product>
PUT /admin/products/#{id}.xml

Update a product, clearing product images

Request

           
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <id type="integer">1706652214</id>
  <images type="array"/>
</product>      

Response

           
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<product>
  <body>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.</body>
  <body-html>&lt;p&gt;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.&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
  <handle>ipod-nano</handle>
  <id type="integer">1706652214</id>
  <product-type>Cult Products</product-type>
  <published-at type="datetime">2007-12-31T19:00:00-05:00</published-at>
  <template-suffix nil="true"></template-suffix>
  <title>IPod Nano - 8GB</title>
  <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
  <vendor>Apple</vendor>
  <tags>Emotive, Flash Memory, MP3, Music</tags>
  <variants type="array">
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">808950810</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">10</inventory-quantity>
      <option1>Pink</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">1</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008PINK</sku>
      <taxable type="boolean">true</taxable>
      <title>Pink</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">1122890207</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">20</inventory-quantity>
      <option1>Red</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">2</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008RED</sku>
      <taxable type="boolean">true</taxable>
      <title>Red</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">1112814679</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">30</inventory-quantity>
      <option1>Green</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">3</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008GREEN</sku>
      <taxable type="boolean">true</taxable>
      <title>Green</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
    <variant>
      <compare-at-price type="decimal" nil="true"></compare-at-price>
      <created-at type="datetime">2009-12-12T15:15:44-05:00</created-at>
      <fulfillment-service>manual</fulfillment-service>
      <grams type="integer">200</grams>
      <id type="integer">457924702</id>
      <inventory-management>shopify</inventory-management>
      <inventory-policy>continue</inventory-policy>
      <inventory-quantity type="integer">40</inventory-quantity>
      <option1>Black</option1>
      <option2 nil="true"></option2>
      <option3 nil="true"></option3>
      <position type="integer">4</position>
      <price type="decimal">199.00</price>
      <product-id type="integer">1706652214</product-id>
      <requires-shipping type="boolean">true</requires-shipping>
      <sku>IPOD2008BLACK</sku>
      <taxable type="boolean">true</taxable>
      <title>Black</title>
      <updated-at type="datetime">2009-12-12T15:15:44-05:00</updated-at>
    </variant>
  </variants>
  <images type="array"/>
  <options type="array">
    <option>
      <name>Title</name>
    </option>
  </options>
</product>
top

Remove a Product from the database

Remove a product from the shop

DELETE /admin/products/#{id}.xml

Delete a product along with all its variants and images

Response

           
HTTP/1.1 200 OK
Last updated at Dec 2009 Dec:12 PM.