# Add products to Shopify cart

**URL:** <https://community.make.com/t/add-products-to-shopify-cart/36049>\
**Category:** Questions\
**Tags:** shopify\
**Created:** [May 3, 2024, 5:00pm UTC](https://community.make.com/t/add-products-to-shopify-cart/36049 "2024-05-03T17:00:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blockje](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@Blockje](https://community.make.com/u/Blockje)\
**Post date:** [May 3, 2024, 5:00pm UTC](https://community.make.com/t/add-products-to-shopify-cart/36049/1 "2024-05-03T17:00:48Z")

</div>

Hello!

Is there a way to add products to the Shopify cart using Make?  
It is not the same as a draft order, I tried this already but this is not showing in the cart of the website.

To clarify, the cart is this:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/e/ee05d13616674101170c10432286d8dfa8389c23.png)

And after running the automation, I would like to have the cart filled like this:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/1/e1b9b0ab7b6962891842321174748e11f019fe6a.png)

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [May 4, 2024, 4:27am UTC](https://community.make.com/t/add-products-to-shopify-cart/36049/2 "2024-05-04T04:27:26Z")

</div>

Welcome to the Make community!

Make doesn’t have a module for this particular endpoint ([create cart](https://shopify.dev/docs/api/storefront/2024-04/mutations/cartCreate) and [add items to cart](https://shopify.dev/docs/api/storefront/2024-04/mutations/cartLinesAdd)).

If the external service has a Developer API Reference/Documentation then you should be able to integrate the endpoints in Make using the app’s universal module (Make an API call) or generic HTTP “[Make a request](https://www.make.com/en/help/tools/http)” module.

You can also suggest for it to be made in the [Idea exchange](https://www.make.com/en/app-improvement-ideas). Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.  
 ![Screenshot_2024-01-17_130153](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/9/39cc465d8e6da874408a1f3f2caa2d6de5b3a7aa.png)

If you need assistance in setting up the app’s universal module, or the generic HTTP module, please provide additional information about what you have tried with regards to the external service’s Developer API Reference – how you are setting the connection up, a link to the endpoint are you trying to connect to, and what errors you are encountering.

You can also complete this brand new course/tutorial in the Make Academy on how to use external APIs — **[API calls with HTTP modules](https://academy.make.com/courses/AdvancedC02)**

- API and Endpoints
- Header and body
- Multipart/form-data
- OAuth 2.0

[samliew](https://samliew.com/services) – [request private consultation](https://samliew.com/request-quote?ServiceType=Automation%20Consultation&Referrer=Make)

> Join the [**Make unofficial Discord server**](https://samliew.com/make-discord-invite)!

---

<div class="post-metadata">

**Author:** ![Blockje](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@Blockje](https://community.make.com/u/Blockje)\
**Post date:** [May 4, 2024, 11:15am UTC](https://community.make.com/t/add-products-to-shopify-cart/36049/3 "2024-05-04T11:15:12Z")

</div>

Thank you for your reply. I was already afraid there was no module for this.

I will take a look at your suggestions and also check the documentation on Shopify’s end.

---

<div class="post-metadata">

**Author:** ![Blockje](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@Blockje](https://community.make.com/u/Blockje)\
**Post date:** [May 7, 2024, 1:27pm UTC](https://community.make.com/t/add-products-to-shopify-cart/36049/4 "2024-05-07T13:27:53Z")

</div>

It took me a few days, but I managed to get it working. If somebody wants to create this too, and can’t get it to work, send me a message.

Shopify is changing its API to Storefront Cart API - this is very important to know. This is the URL with more information: [Migrate your app](https://shopify.dev/docs/custom-storefronts/building-with-the-storefront-api/cart/migrate-to-cart-api/migrate-your-app).

I made use of the HTTP module instead of the Shopify API module. This discussion helped me a lot: [Crafting a GraphQL Query - #2 by vendy](https://community.make.com/t/crafting-a-graphql-query/21546/2). The comment of @jtraderj especially, many thanks for this!

This is how he did it:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/3/e35f48b184be53a57f936bd0dc2d7f993efdb1ef.png)

---

<div class="post-metadata">

**Author:** ![vendy](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/vendy/32/12635_2.png) [@vendy](https://community.make.com/u/vendy)\
**Post date:** [May 9, 2024, 8:37am UTC](https://community.make.com/t/add-products-to-shopify-cart/36049/5 "2024-05-09T08:37:01Z")

</div>

Hey there @Blockje 👋

Congratulations on getting the ball rolling and solving this with the help of @samliew! ⚽

Thank you for coming back to us with the final solution. This way you’re keeping our community neat and tidy and other members can easily search for your solution!

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [May 21, 2024, 1:34pm UTC](https://community.make.com/t/add-products-to-shopify-cart/36049/6 "2024-05-21T13:34:02Z")

</div>


