FetchApp API

Get list of all downloads for a product

GET to list all downloads for the specified product... /api/v2/products/:sku/downloads /api/v2/products/:sku/downloads.xml Example result... <?xml version="1.0" encoding="UTF-8"?> <downloads type="array"> <download> <id>233</id> <filename>photo.jpg</filename> <product_sku>BILL-WAX</product_sku> <order_id>1001</order_id> <order_item_id>821431</order_item_id> <ip_address>127.0.0.1</ip_address> <downloaded_at type="datetime">2009-04-27T04:13:09+00:00</downloaded_at> <size_bytes type="float">87088 </size_bytes>...

Get list of all downloads for a product

GET to list all downloads for the specified product... /api/v2/products/:sku/downloads /api/v2/products/:sku/downloads.xml Example result... <?xml version="1.0" encoding="UTF-8"?> <downloads type="array"> <download> <id>233</id> <filename>photo.jpg</filename> <product_sku>BILL-WAX</product_sku> <order_id>1001</order_id> <order_item_id>821431</order_item_id> <ip_address>127.0.0.1</ip_address> <downloaded_at type="datetime">2009-04-27T04:13:09+00:00</downloaded_at> <size_bytes type="float">87088 </size_bytes>...

Get list of files for product

GET to list all files for the specified product... /api/v2/products/:sku/files /api/v2/products/:sku/files.xml Example result... <?xml version="1.0" encoding="UTF-8"?> <files type="array"> <file> <id>123</id> <filename>Part1.zip</filename> <size_bytes type="integer">9774173559</size_bytes> <content_type>binary/octet-stream</content_type> <permalink href="http://demo.fetchapp.com/permalink/yuurud">/permalink/yuurud</permalink> <url nil="true"></url> </file> <file>...

Get list of files for product

GET to list all files for the specified product... /api/v2/products/:sku/files /api/v2/products/:sku/files.xml Example result... <?xml version="1.0" encoding="UTF-8"?> <files type="array"> <file> <id>123</id> <filename>Part1.zip</filename> <size_bytes type="integer">9774173559</size_bytes> <content_type>binary/octet-stream</content_type> <permalink href="http://demo.fetchapp.com/permalink/yuurud">/permalink/yuurud</permalink> <url nil="true"></url> </file> <file>...

Get statistics about a product

GET statistics about a product... /api/v2/products/:sku/stats /api/v2/products/:sku/stats.xml For example... <?xml version="1.0" encoding="UTF-8"?> <product> <id>0001</id> <sku>0001</sku> <price type="float">0.01</price> <currency>USD</currency> <download_count>14</download_count> <order_count>14</order_count> </product>

Get statistics about a product

GET statistics about a product... /api/v2/products/:sku/stats /api/v2/products/:sku/stats.xml For example... <?xml version="1.0" encoding="UTF-8"?> <product> <id>0001</id> <sku>0001</sku> <price type="float">0.01</price> <currency>USD</currency> <download_count>14</download_count> <order_count>14</order_count> </product>

Delete a Product

Delete the specified product... /api/v3/products/:id This will also remove the product from any existing orders.  

Delete a Product

Delete the specified product... /api/v3/products/:id This will also remove the product from any existing orders.  

Update a Product

PUT to update the specified product... /api/v3/products/:id For example... { "product": { "currency": "USD", "download_count": 2, "item_urls": [ { "created_at": "2021-09-12T12:34:55Z", "download_count": 2, "id": 3088243, "name": "Download Link", "updated_at": "2021-09-13T10:11:12Z",...

Update a Product

PUT to update the specified product... /api/v3/products/:id For example... { "product": { "currency": "USD", "download_count": 2, "item_urls": [ { "created_at": "2021-09-12T12:34:55Z", "download_count": 2, "id": 3088243, "name": "Download Link", "updated_at": "2021-09-13T10:11:12Z",...

Get details of the specified product

GET details of the specified product... /api/v3/products/:id Example result... { "product": { "created_at": "2021-09-12T12:34:55Z", "currency": "USD", "download_count": 2, "id": 123, "item_urls": [ { "created_at": "2021-09-12T12:34:55Z", "download_count": 2, "id": 3088243, "name":...

Get details of the specified product

GET details of the specified product... /api/v3/products/:id Example result... { "product": { "created_at": "2021-09-12T12:34:55Z", "currency": "USD", "download_count": 2, "id": 123, "item_urls": [ { "created_at": "2021-09-12T12:34:55Z", "download_count": 2, "id": 3088243, "name":...