Case study 11: Importing product files from one store into another

This article is part of the catalog import and export section and tells you how to easily transfer files attached to digital products between your stores on our platform with a CSV file.

You can use a combination of catalog import and export to upload product files like e-books, music, or video tutorials from one store to another. For that, you will need to make changes to the CSV you’ve exported from store A and add a special access token to each of the product files to be able to import them into store B.

By default, importing product files between stores is unavailable for security reasons. If you try to import a file that belongs to a product in store A to any other store, you will get an error.

To import product files from store A into store B:

  1. Log into store A and export your catalog or selected products with files.
  2. In store A’s admin, go to the secret #develop-apps page.
    To get to this page, you can simply go to Catalog → Products, replace the /store/YYYYYYY#products part in the page URL with /#develop-apps and press Enter.
  3. If you haven’t created any apps in your store before, a new app will be created automatically. In case you have already created some apps, you can click Create to create one more app.
  4. On the app details page, click Show secret token and copy the secret access token:

    Show secret token.png

  5. Open the CSV file you’ve exported from store A in your preferred spreadsheet editor.
  6. In the product_file_secret_url column, add ?token=secret_XXXXXX (where XXXXXX is the secret token you’ve copied) to the URL of each store A file that you want to import into store B.
    This is how your link can look after you append the token:
    https://app.business.shop/api/v3/YYYYYYY/products/567328765/files/83499009?token=secret_XXXXXX
  7. Save the file as .csv to your device.
  8. Log into store B’s admin and go to the Data Import & Export page to upload your CSV.

That’s it! After the import is complete, product files from store A will be successfully uploaded to store B.

Was this article helpful?

Awesome! Thanks for your feedback!

Thanks for your feedback!

Sorry about that! What went wrong?
0 out of 0 found this helpful
We use cookies and similar technologies to remember your preferences, measure effectiveness of our campaigns, and analyze depersonalized data to improve performance of our site. By choosing «Accept», you consent to the use of cookies.
Accept cookies Decline