Digital Downloads App: Programmatic access (API calls)

Stefanos_Petrak
New Member
1 0 1

I would need programmatic access (API calls) to the digital downloads in order to:

  • access the download URL for a digital download attached to a product variant

Any hint, much appreciated.

Kristina
Shopify Staff (Retired)
Shopify Staff (Retired)
46 0 3

Hi Stefanos,

The Digital Downloads app doesn't give API access to the download URL at the moment. You may need to use another app (like https://apps.shopify.com/sendowl) which does have an API. 

Let me know if you have any other questions!

Kristina

0 Likes
Marc33
Tourist
10 0 2

Still no API available?

Tht is the first time Shopify has really given me the shaft.

We use SendOwl and the service is not really what we want (3+ years later).

LMK, pretty dissappointed...

***Programming Awesome***. An API specialist with experience leading start-up teams, working for large international agencies, and writing sustainable code mindful of SDLC and shelf-life. Those who know prefer Python, it is lovely.
RogerC
Tourist
4 0 3

Still no API available?  - I'm pretty happy with the platform overall, but this seems a huge miss for anyone trying to manage their content outside Shopify and push data via the API's!!!

smozgur
Excursionist
17 0 6

Good work with the Digital Download app. Thanks.

I can understand why API is not provided. However, at minimum, the downloadable product URL should be listed in the customer's orders page. It is not a big deal to provide this much which is a "must have" feature.

Or is Shopify trying to make Digital Downloads App useless intentionally?

On the contrary, this module should have been merged into the base app already.

PaulNewton
Shopify Partner
2579 134 440

@smozgur relevant? https://help.shopify.com/en/manual/apps/apps-by-shopify/digital-downloads#display-a-download-link-on...

You can also make manual download links, note: lets a customer freely download a file

https://help.shopify.com/en/manual/apps/apps-by-shopify/digital-downloads#adjust-the-fulfillment-set...

You should also be able to just direct them to the order confirmation page using {{ order.order_status_url }}

https://help.shopify.com/en/manual/apps/apps-by-shopify/digital-downloads#display-a-download-link-on...

https://help.shopify.com/en/manual/orders/status-tracking

https://help.shopify.com/en/manual/orders/status-tracking/customize-order-status

 

If none of those apply be sure to write up your use case and send a feature request to shopify support. 

Problem Solved? ✔️Accept and ? Like the solution so you can help others.
Buy me a coffee ☕ paypal.me/paulnewton or donate to eff.org
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
smozgur
Excursionist
17 0 6

Thanks Paul.

Checkout page is irrelevant unfortunately. I am trying to let customers to access the download links months later and without requiring any manual action.

On the other hand, the Order status page is kind of helpful to allow customers to access their links when they lost the initial download email and without asking us to resend the email.

So I just went to customers/order.liquid (Debut theme) and put the following code just below the header (line 21):

<p>Visit <a href="{{ order.order_status_url }}">Order Confirmation Page</a> if your order contains downloadable products.</p>

This is better than nothing!

However, I still wish we could access digital download entity to verify if any order product has a downloadable item to show the link accordingly instead saying "if your order contains downloadable products", or of course dream option is being able to put the download links directly in the list items which requires order/{order_id}/digital-downloads endpoint in the base application.

However, still, this is better than nothing until Shopify decides to merge this module to the base application.

Thanks again.

PaulNewton
Shopify Partner
2579 134 440

However, I still wish we could access digital download entity to verify if any order product has a downloadable item to show the link accordingly instead saying "if your order contains downloadable products"

For now can't  you just check the line_item's product handles or tags or collections for that?

Problem Solved? ✔️Accept and ? Like the solution so you can help others.
Buy me a coffee ☕ paypal.me/paulnewton or donate to eff.org
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
0 Likes
smozgur
Excursionist
17 0 6

For now can't  you just check the line_item's product handles or tags or collections for that?

Right, I should admit that it is an option, but really not the real solution. Especially if the store has digital products more than physical versions (book store in my case) and also have an existing database to be transferred including existing sales to provide auto-conversion without manual interaction. Shopify app's design is looks to be storing a mirror copy of each order to associate the downloadable items. I'd rather keep it as relational design to provide solution for the orders transferred via API. Of course if there was an API, then this wouldn't be a problem.

I started to plan developing our own private App for this purpose. It is too bad because I actually liked Shopify's app but really not answering vital needs.

Thanks again for your help.

Note: I posted another thread for further inquiry about the App but I don't think that any of the desired features will be included or the App is merged to the core.
https://community.shopify.com/c/Shopify-APIs-SDKs/Digital-Downloads-App-amp-Creating-Order-by-using-...