Checking out a basket that has been created with the public API

63 views
Skip to first unread message

Jamie

unread,
Jan 13, 2010, 12:48:17 PM1/13/10
to 7digital API Developers
Hi there,

I've been using the public API to create a shopping basket and I now
wish to redirect to the 7digital website with that basket. basket/
checkout is a commerical API method, so how do I redirect from my
website to 7digital with my basket, please?

Thanks,
Jamie

Hibri Marzook

unread,
Jan 13, 2010, 12:56:07 PM1/13/10
to 7digital API Developers
Hi Jamie,

This is an error in our documentation.
This feature not available in the public API, and is available with
the premium API.

We'll update documentation soon.

Apologies for misleading you.

Hibri
7Digital

Jamie

unread,
Jan 13, 2010, 12:57:35 PM1/13/10
to 7digital API Developers
So it's possible to create a basket but not to buy it?

Hibri Marzook

unread,
Jan 13, 2010, 12:59:44 PM1/13/10
to 7digital API Developers
To buy it, you'll need to use one of the premium methods.

filip....@7digital.com

unread,
Jan 13, 2010, 1:45:06 PM1/13/10
to 7digital API Developers
Hi Jamie,

again sorry for the misleading documentation.
The basket methods were part of the Public API documentation because
access to them is not restricted and in the future we plan on adding
the functionality that will allow you to checkout a pre-populated
basket via the 7digital.com site.

At the moment though you can use the Public API to send your users to
7digital.com for purchases of single tracks or albums. You just need
to forward them to the <url> links that are being returned in the API
responses - e.g. <url>http://www.7digital.com/artists/skywalker-(1)/
bar-itaca-ibiza/?partner=XXX</url> . They will have automatically
attached your partner id which will ensure that any purchases the user
makes on 7digital.com (in that session) are tracked as coming from
your application/website.

There's also a little trick - if you add addtobasket=true to a release
or track url (e.g.
http://www.7digital.com/artists/skywalker-(1)/bar-itaca-ibiza/01-Dreams-and-Byte/?partner=XXX&addtobasket=true
) the item on the page will be automatically added to user's basket
when they land on the page. But please note that this trick is not
part of the official API and might stop working in the future.

Hope this helps

Filip
7digital

F.Lozano

unread,
Jan 31, 2010, 9:10:11 AM1/31/10
to 7digital API Developers
Hi Filip,

Just one consideration... maybe it's a bug or an expected behavior:

If I put "country=ES" in the query string, the URLs I get don't have
my partner=XXXX code. If I don't put anything or if I put
"country=GB", they DO contain my partner ID.

On Jan 13, 7:45 pm, "fi...@7digital.com" <filip.den...@7digital.com>
wrote:


> Hi Jamie,
>
> again sorry for the misleading documentation.
> The basket methods were part of the Public API documentation because
> access to them is not restricted and in the future we plan on adding
> the functionality that will allow you to checkout a pre-populated
> basket via the 7digital.com site.
>
> At the moment though you can use the Public API to send your users to
> 7digital.com for purchases of single tracks or albums. You just need
> to forward them to the <url> links that are being returned in the API
> responses - e.g. <url>http://www.7digital.com/artists/skywalker-(1)/
> bar-itaca-ibiza/?partner=XXX</url> . They will have automatically
> attached your partner id which will ensure that any purchases the user
> makes on 7digital.com (in that session) are tracked as coming from
> your application/website.
>
> There's also a little trick - if you add addtobasket=true to a release

> or track url (e.g.http://www.7digital.com/artists/skywalker-(1)/bar-itaca-ibiza/01-Drea...

Arthur Vanguard

unread,
May 30, 2013, 8:33:56 PM5/30/13
to 7digit...@googlegroups.com
I Have a similar problem. Help appreciated.

filip

unread,
Jun 17, 2013, 12:37:15 PM6/17/13
to 7digit...@googlegroups.com
Hi Arthur,

if you're still looking at integrating music purchasing into your website or app:

Whilst we don't provide an option to check out baskets pre-populated via the Public API we have launched a public beta of "7digital Buy button" which we hope will enable Public API users to create more seamless purchasing experience.

For more details see http://developer.7digital.com/7digital-buy-button and let us know if you have any questions or feedback.

Thanks
Filip
7digital

CBA

unread,
Mar 8, 2014, 1:55:16 PM3/8/14
to 7digit...@googlegroups.com
Is there any chance the checkout function will be added to the public API? It was mentioned 4 years ago as a future addition.

filip

unread,
Mar 11, 2014, 12:16:03 PM3/11/14
to 7digit...@googlegroups.com, mic...@michaelgladstone.com
Hi Michael,

as it happens this feature never made it to the top of our priority list and our efforts were concentrated elsewhere. It's not completely off the table yet but unfortunately I can't guarantee if/when would this be available.

But thanks for asking as it helps us to gauge demand. If you'd like to provide a bit more context around your use case feel free to do so on this forum or email us directly at a...@7digital.com

Thanks
Filip



This email, including attachments, is private and confidential. If you have received this email in error please notify the sender and delete it from your system. Emails are not secure and may contain viruses. No liability can be accepted for viruses that might be transferred by this email or any attachment. Any unauthorised copying of this message or unauthorised distribution and publication of the information contained herein are prohibited.

7digital Limited. Registered office: 69 Wilson Street, London EC2A 2BB.
Registered in
England and Wales. Registered No. 04843573.

CBA

unread,
Mar 11, 2014, 1:12:28 PM3/11/14
to 7digit...@googlegroups.com
I understand, there are priorities. I'm working on a site as a side project and there is no easy way to convert someone from my site to checkout on yours (building an entire checkout myself is out of the question at this point). The only options are a) immediate checkout of a single song or release via the buy button, or b) send them to your site where they have to add everything to their cart on their own. My site is more focused on buying multiple tracks so neither is a great user experience.

If there was a way to transfer a cart it would be much easier.

What would be second best (and probably easiest for 7digital) is something like the "buy" button, but which takes them to the cart instead of immediate checkout - essentially a remote "add to cart" button. That new page would be shown in a popup so they could continue to click "add to cart" on my site and when done, go to the popup and check out with everything there. I suppose the URLs could be something like this:

https://instant.7digital.com/addtocart/track/34920963?partnerId=XXXX

I'm sure there are better solutions, but that's my idea for now. Thanks for the great site!
Reply all
Reply to author
Forward
0 new messages