Can I Upload Files via the FetchApp API?

Modified on Fri, 15 Mar at 11:29 AM

Currently it is not possible to upload files to FetchApp's servers via the API, but we do allow you to attach self-hosted files to products using the API.

You can attach self-hosted files using the item_urls array (key of url and name for each item in the array):

FetchAppAPI::Product.create(sku: "CJ0001", name: "Carrot Juice", item_urls: [{url: '', name: 'audio'}, {url: '', name: 'video'}])

In terms of JSON structure, it will look like the following:

  "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",
        "url": ""
    "name": "My Product",
    "orders_count": 1,
    "price": 10.99,
    "sku": "ABC123"

For more information on the FetchApp API, please refer here:

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article