Solved

Creating a checkout - basic pieces

Rachio_Co
Excursionist
14 1 1

Hello all,

 

Been a while since I've worked with Shopify's APIs and I think some things may have changed since the last time I looked.

 

What I'd like to be able to do is programmatically create checkouts from our backend as we have orders coming in from various other places. I feel like that sounds straight forward, and I've got it connected and the call setup on our end, but from what I've researched, I need to setup a partner dashboard and use a checkout SDK? I've seen the docs for these things, but I'm struggling to see how it all fits together. Any help/guides for this?

 

I'm on a plus account if that makes a difference.

 

Thanks,

Dan

Accepted Solution (1)

Josh
Shopify Staff
1134 84 233

This is an accepted solution.

Hey Dan, 

 

Do you want to create checkouts that customers then need to complete, or do you just need to create an order after a customer has successfully made a purchase elsewhere? The latter would be much easier to implement and would only require a single API call. 

 

If you do indeed want to create checkouts though, you do need to create a Partner account, and then create an application within that account that you then convert into a Sales Channel app. Apps set up with our Storefront API can also create checkouts, but are unable to take payments.

 

That'll get you access to creating checkouts (but not payment processing, that's a separate request through the Partner Dashboard) where you could then have a look at this guide to get started. 

 

Hope that helps get the ball rolling! 

Josh | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

View solution in original post

Replies 4 (4)

Josh
Shopify Staff
1134 84 233

This is an accepted solution.

Hey Dan, 

 

Do you want to create checkouts that customers then need to complete, or do you just need to create an order after a customer has successfully made a purchase elsewhere? The latter would be much easier to implement and would only require a single API call. 

 

If you do indeed want to create checkouts though, you do need to create a Partner account, and then create an application within that account that you then convert into a Sales Channel app. Apps set up with our Storefront API can also create checkouts, but are unable to take payments.

 

That'll get you access to creating checkouts (but not payment processing, that's a separate request through the Partner Dashboard) where you could then have a look at this guide to get started. 

 

Hope that helps get the ball rolling! 

Josh | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Rachio_Co
Excursionist
14 1 1

Thanks Josh,

 

I appreciate the reply. I believe I've followed those steps. This is my current issue: https://community.shopify.com/c/Shopify-APIs-SDKs/Create-checkout-example-not-working/m-p/510426#M33...

Rachio_Co
Excursionist
14 1 1

(also, the link to "this guide" is broken for me)

Josh
Shopify Staff
1134 84 233

Hey Dan, 

 

Looking into your separate forum post now. Also, sorry for the broken link! Here's a direct one (also fixed the previous link) -  https://help.shopify.com/en/api/guides/sell-through-the-checkout-api

Josh | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog