[PLUGIN] Shopify API with Dynamic Keys

Let me just clearly lay out what I’m doing to try and catch where I’m going wrong:

I have this order in my test store:

I’m trying to retrieve it with this call:

And the result, for now, I’m saving as text in a page state:
image

Nothing is being returned with this setup. I’m saving the text only because the other state I created for the “GET List of Order (Shopify)” data type is not matching with the returned data type.
image

image

I hope this is clear enough to help. Thank you! :pray:

UPDATE:

It does seem to be the data type that is causing this error because data is actually returned but not recognised unless I go to the individual line item level of the order:

There’s a demo on how to pull in orders and you can see the configuration using the link below;

As a workaround you can try to use the data api to retrieve a list of all the orders and then gradually apply filters to see where it goes wrong.

Re the data Shopify order not being recognised, you can’t pull in a list of Shopify Orders on a custom state without adding it to a list. I suggest you follow the demo below and let us know if you have any issues with pulling in the data.

p.s as a last resort if you’re stuck, kindly create a demo app and share it with us, we’ll go through it and see if we can assist.

Kindly message us directly if you have further enquiries.

API Update

  • Create a new Product (with support for drafts)
1 Like

Understood, thanks. The way you’ve done it in the demo works fine for me.

We’ve added a few updated to this plugin, including the ability to fulfill order and order items using the latest API requirements from Shopify.

Please make sure you do not continue using the old api keys related to fulfillment as they are deprecated.

Plugin: Shopify Merchant API Multi-Store Plugin | Bubble

Demo: https://ncvplugins-1.bubbleapps.io/version-test/shopify

Hello, I’m currently using the plugin for an app I’ve developed for the Shopify marketplace. The last point I need to check off before putting forward for approval is the following point:

Implement an HMAC signature to verify webhooks

Is your plugin able to help with this process?

Thanks!

1 Like

Bubble currently parses the raw response in the API before we can verify it, which presents a challenge for us to directly handle it within Bubble’s environment. At the moment, this task seems impossible to accomplish within Bubble’s capabilities.

There are a couple of options: you can use Hookdeck, or we can develop a custom script on the cloud.

If you’re interested in pursuing either of these options, please feel free to reach out to me via email at info@nocodeventure.com.

Third solution would be to pull the information from Shopfiy with a GET request to verify that the order has updated etc.